IntelliJ IDEA Secrets: Command Line Tricks to Open Files Fast! | macOS

Опубликовано: 22 Сентябрь 2024
на канале: raksrahul
219
2

Sometimes what happens is you are working in your terminal and frequently navigating through the folders in your system. And suddenly, you realise that you have to edit the files of that folder using IntelliJ IDEA. So, you open IntelliJ from applications and in that again navigate to that folder from the finder window and click open to open it. But did you realise you just did a rework to navigate to that folder and open files of that.
To avoid this rework you could have used IntelliJ command line script. So, in this video, I will let you know how you can use the IntelliJ command line script to open files from the command line.

By default, IntelliJ IDEA does not provide a command-line launcher. But we can create a script that can be used to open IntelliJ from the command-line.

Index:
00:00 Intro
00:50 Create shell script manually
03:54 Generate shell script using JetBrains Toolbox
05:32 Open a specific file on specific line number
06:35 Compare files from the command line
07:50 Install plugins from the command line

Thank you!



#intellij #raksrahul #intellijidea #tips