Ace Linters is a powerful plugin for Acode Editor that integrates the ace-linters library to provide advanced language features like code linting, formatting, and autocompletion.
- Linting: Detects syntax errors and potential bugs in real-time.
- Code Formatting: Beautifies code with standard indentation rules.
- Autocompletion: Provides code suggestions while typing.
- Hover Tooltips: Displays variable types, documentation, and color previews when clicking/hovering code.
- Document Highlighting: Automatically highlights all references of the selected variable in the file.
| Language | Linting | Formatting | Autocomplete | Hover Info | Doc Highlight |
|---|---|---|---|---|---|
| JavaScript / TS | ✅ | ✅ | ✅ | ✅ | ✅ |
| HTML | ✅ | ✅ | ✅ | ✅ | ✅ |
| CSS / SCSS / LESS | ✅ | ✅ | ✅ | ✅ | ✅ |
| JSON / JSON5 | ✅ | ✅ | ✅ | ✅ | ❌ |
| YAML | ✅ | ✅ | ✅ | ✅ | ❌ |
| Lua | ✅ | ✅ | ❌ | ❌ | ❌ |
| Python | ✅ | ✅ | ❌ | ❌ | ❌ |
| XML | ✅ | ❌ | ❌ | ❌ | ❌ |
| PHP | ✅ | ❌ | ❌ | ❌ | ❌ |
- Open Acode Editor.
- Navigate to Settings → Plugins.
- Click on the Search icon.
- Search for "Ace Linters".
- Click Install.
- Restart Acode to apply changes.
Linting is active automatically. Open any supported file, and syntax errors will be highlighted in the gutter (sidebar) with red/yellow icons. Tap the error icon to see the specific error message.
- Autocomplete: Suggestions will appear automatically as you type (e.g., typing
Math.in JS orcolor:in CSS). - Hover: Tap or click on a variable/property to see its definition or type information.
- Document highlighting: Click on a variable or tag to see other occurrences highlight automatically.
Ace Linters registers itself as a formatter for supported languages.
- Open a file.
- Open the 3-dot menu.
- Select Format.
This project is licensed under the MIT License.