Command line terminal stars with some folder like projectRoot/one subproject
every time instead of projectRoot
. Personally I did not change any settings for that.
Does any body know how setup Idea to start terminal with project root instead of typing cd ..
every time?
Change the location of IDE directories From the main menu, select Help | Edit Custom Properties. Specify paths with forward slashes /, including Windows paths (for example, C:/idea/system). After you restart IntelliJ IDEA, it will use the new location of the corresponding directory.
Opening Multiple Terminal Sessions For this, we can split our terminal window by right-clicking on it and selecting one of the options so that we can run two in the same window. For example, you can open up the mongo shell in this split window and can see if the commands have any impact on the running server.
I don't quite understand how the Terminal Plugin in IDEA figures out where to start the terminal (though it is always a subfolder of the project root), but there is a sort of workaround for this: always start the terminal in the root of your repo.
In "Settings -> Terminal", add the /K option followed by a command to navigate to the desired path, e.g.:
cmd /K "cd D:\usr\local\repo"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With