![]() ![]() Select the shape of the cursor: block, underline, or vertical. For more information, see Run IDE features from the terminal. When enabled, instead of pressing Enter, which runs the command in the terminal, press Ctrl Enter to open the corresponding GUI element. Run Commands using IDEĭetect and highlight commands that can be used as IDE features instead of running them in the terminal and reading console output. On macOS, use the Option key as the Meta key. Highlight HTTP links in the terminal and make them clickable. Shell integration works for sh, bash, zsh, and fish shells. Integrate the terminal with the system shell to properly keep track of your command history for sessions and load a custom config file with required environment variables. For example, Switch Focus to Editor is mapped to Escape by default, which means that if you don't override the IDE shortcuts, Escape will switch focus from the terminal to the editor. Use shell-specific shortcuts instead of IDE shortcuts when the Terminal tool window is active.Ĭlick Configure terminal keybindings to open the Keymap settings page and configure the shortcuts that are available int the Terminal tool window under Plugins | Terminal. Paste clipboard contents by clicking the middle mouse button. Copy to clipboard on selectionĬopy text selected in the terminal to the clipboard. Mouse reportingĮnable the mouse pointer support in the embedded local terminal. Close session when it endsĬlose the current session when the corresponding process ends (for example, by kill). Here are some examples of different shells:Ĭygwin: "C:\cygwin\bin\bash.exe" -login -i IntelliJ IDEA should automatically detect the default shell based on your environment. Specify the shell that will run by default. These settings affect the terminal in any project that you open with the current IntelliJ IDEA instance: Shell path Specify custom environment variables for every new shell session. By default, it starts in the root directory of the current project. Specify the working directory where every new shell session should start. These settings affect the terminal only for the current project: Start directory Open the Installed tab, find the Terminal plugin, and select the checkbox next to the plugin name. Press Ctrl Alt S to open the IDE settings and select Plugins. If the relevant features aren't available, make sure that you didn't disable the plugin. This functionality relies on the Terminal plugin, which is bundled and enabled in IntelliJ IDEA by default. As you open a new Terminal window the shell is opened as windows command prompt.Use this page to customize the settings of the embedded terminal emulator.įor the less frequently used settings, see Advanced Settings: Terminal. To open the default windows command prompt (cmd) as terminal window in IntelliJ you just insert cmd.exe as "Shell Path". As you open a new Terminal window the terminal is opened as windows powershell (aka Witchcraft 3.0) ). To open the a windows powershell as terminal window in IntelliJ you just insert powershell.exe as "Shell Path". The used arguments (-li) are explained here. As you open a new Terminal window the terminal is opened as the knows git bash window. To open a git bash as terminal window you havt to enter "C:\Program Files\Git\bin\sh.exe" -li as "Shell Path". To open the a linux shell as terminal window in IntelliJ you can utilize the shell application integrated with a git installation. You can now adjust the default terminal as describes as follow: Alternatively you can type Terminal into the search field to open the page directly. To do so you have to open the settings (Ctrl Alt S) and open the Terminal settings page (Tools > Terminal). But do not be afraid: if you are using the the "light theme" in IntelliJ, the background color of the terminal will be white for every terminal. As this one is not as powerful as other tools like a shell you are able to change it. If you use IntelliJ on windows based computers the windows command prompt (cmd) is used by default. So you have to decide between you favorite terminal applications like powershell or linux shell. Unfortunately there is just one type of terminal allowed. You are also allowed to open multiple terminal windows at once using multiple tabs. That allow you to stay inside IntelliJ without leaving it for some extended console tasks in your shell. This feature allows to make things even simpler as you can combine multiple console windows into your development environment. ![]() IntelliJ provides a integrated, built-in command-line interface - the Terminal. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |