https://github.com/shtrih/idea-for-autoit
How to coding AutoIt scripts in Intellij IDEA
https://github.com/shtrih/idea-for-autoit
autoit intellij
Last synced: 8 months ago
JSON representation
How to coding AutoIt scripts in Intellij IDEA
- Host: GitHub
- URL: https://github.com/shtrih/idea-for-autoit
- Owner: shtrih
- Created: 2020-09-30T14:26:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-10T16:18:35.000Z (over 5 years ago)
- Last Synced: 2025-02-28T06:32:33.384Z (over 1 year ago)
- Topics: autoit, intellij
- Language: AutoIt
- Homepage:
- Size: 246 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Use Intellij IDE (or PhpStorm in my case) to write AutoIt scripts
## Enabling syntax highlighting

1. Open TextMate Bundles window in PhpStorm: `File | Settings | Editor | TextMate Bundles` (https://www.jetbrains.com/help/idea/2020.2/textmate-bundles.html).
2. Add AutoIt bundle for Sublime Text editor. It's located in `Extras` folder of AutoIt installation:
`C:\Program Files (x86)\AutoIt3\Extras\Editors\Sublime Text`

## Adding AutoIt actions (Run, Syntax Check, etc.)
1. Open `File | Settings | Tools | External Tools`
2. Add some actions to `AutoIt` group:



Now you can run opened AutoIt script from `Tools` menu:

## Adding buttons on toolbar

1. Open `File | Settings | Appearance & Behavior | Menus and Toolbars` (https://www.jetbrains.com/help/idea/2020.2/menus-and-toolbars-appearance-settings.html).
2. Add new action on `Main toolbar`. Chose action in `External tools` submenu. Set icons for actions. I use [FamFamFam Silk Icons](http://famfamfam.com/lab/icons/silk/).

## How to map hotkey (e.g. F1) in PhpStorm to open AutoIt documentation for the word under the keyboard cursor
Run AutoIt script `AutoIt-Help-Hotkey-for-IntellijIDE.au3`. On first run it creates ini file with settings. By default it uses hotkey `Ctrl+Q` to open help file. Maybe you need adjust path to AutoIt installation.