Skip to main content

Editor Integration

Although Pluto can theoretically be used with Lua-based tooling, we provide specialized 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 — run & lint scripts directly in your editor with Ctrl+(Shift+)B in Sublime Text or Ctrl+Shift+P in VS Code

Installation

The installation process depends on your editor:

  • 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.
  • Visual Studio: Click on Extensions > Manage Extensions. In the Online section, search for calamity-inc.pluto-vsix and press "Download."
  • IntelliJ: Clone our syntax highlighting repository 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.