Skip to content

Commit

Permalink
Improve editor integration page
Browse files Browse the repository at this point in the history
- Note .pluto extension
- Move installation steps directly onto the page
  • Loading branch information
Sainan committed Mar 10, 2024
1 parent c9ddc63 commit 018cfb5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/Editor Integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
sidebar_position: 2
---

Although Pluto can theoretically be used with Lua-based tooling, we provide specialised support for it to enhance your coding experience in VS Code, Sublime Text, etc. via [our Syntax Highlighting package](https://github.com/PlutoLang/Syntax-Highlighting), which provides:
Although Pluto can theoretically be used with Lua-based tooling, we provide specialised support for .pluto files to enhance your coding experience with features such as:
- Syntax Highlighting
- Snippets — e.g. for when you type "fun" and press tab
- Comment Information — for editor features such as "Toggle Comment", "Toggle Block Comment"
- Indentation Rules — for editor features such as "Reindent Lines"
- Build Systems — currently Sublime Text only: when you press Ctrl+B, you can choose "Lint Pluto" or "Run Pluto"

## Installation

- **VS Code:** Search for `calamity-inc.pluto-syntax-highlighting` in the marketplace and press "Install."
- **Sublime Text:** Open the command palette (Ctrl+Shift+P), select "Package Control: Install Package", search for "Pluto", and press enter.
- **IntelliJ:** Clone [our syntax highlighting repository](https://github.com/PlutoLang/Syntax-Highlighting) and add the tmbundle folder to **Editor > TextMate Bundles**.

If your editor is not listed here, check if it is able to load TextMate bundles, in which case you should be able to do something similar to the IntelliJ instructions above.

0 comments on commit 018cfb5

Please sign in to comment.