Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.1 KB

jetbrains.md

File metadata and controls

28 lines (16 loc) · 1.1 KB

JetBrains: Integrating Optimizt with “External Tool”

Add an “External Tool”

Open Preferences → Tools → External Tools and add a new tool with the following settings:

  • Program: the path to the executable (usually just optimizt)
  • Arguments: any needed options, but don't forget to use $FilePath$ to pass the path of the selected file or directory to Optimizt.
  • Working Directory: $ContentRoot$
  • Synchronize files after execution: ✔️ (Checked)

The rest of the settings are up to you. For example:

Screenshot of the Edit Tool settings window in WebStorm IDE

As shown in the screenshot above, you can add multiple “external tools” with different settings.

How to use

Right-click on a file or directory and run the necessary tool:

Screenshot of the context menu for a selected directory in WebStorm IDE

Keyboard Shortcuts

You can add shortcuts for specific tools in Preferences → Keymap → External Tools:

Screenshot of the Keymap settings window in WebStorm IDE