- Create a new IntelliJ Platform Plugin Template project.
- Get familiar with the template documentation.
- Adjust the pluginGroup and pluginName, as well as the id and sources package.
- Adjust the plugin description in
README
(see Tips) - Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the
MARKETPLACE_ID
in the above README badges. You can obtain it once the plugin is published to JetBrains Marketplace. - Set the Plugin Signing related secrets.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.
TUILaunch is helps to launching TUI applications, such as lazygit
, within IntelliJ's built-in terminal.
Every saved application launch command is assigned an auto generated Action,
which seamlessly integrate with IdeaVim or work with the built-in keymap.
The plugin is inspired by Neovim's ToggleTerm plugin custom terminal feature.
You can open the settings and add/edit commands : Settings/Preferences > Tools > TUILauncher
Add an installed application to the table, and after saving it, an action with the format TUILauncher.{name}
is added to the IDE Actions.
You can use the ActionId in IdeaVim:
nmap <Space>gg <Action>(TUILauncher.lazygit)
Or simply use the built-in keymap feature.
After you close the TUI app, the terminal session automatically ends because the executed command always follows this format:
${command};exit.
Configure which tool window mode is used to open your TUI app.
When opening a terminal tool window, the current tool window type is temporarily overridden, and the terminal opens in the selected mode.
Available modes:
Dock to IDE window edge
– Attaches the terminal to the edge of the IDE window.Float as a separate window
– Opens the terminal in a floating window.Slide over the editor area
– Displays the terminal as an overlay on the editor.Show in a detached window
– Opens the terminal in a fully separate window.
After the focus is lost, the tool window type automatically reverts to its default state.
Use current window mode
– Keeps the existing tool window mode unchanged.
- Terminal sessions handled by this plugin are automatically closed after focus is lost.
- Only one TUI application can be launched at a time. If you open a new app while another TUI application is running, the previous one is automatically closed.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "TUILaunch" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.