1.2 KiB
1.2 KiB
BBEdit package for Rust
This is a BBEdit 11 Language Module for Rust. It provides the following features:
- Complete syntax highlighting
- Special support for lifetimes, attributes, and identifiers
- Customisable colours using the BBEdit 11 colour thing
- Language features
- Go to start of/end of/previous/next function
- Go to named symbol
- Indexed function menu
By default, it highlights anything beginning with a capital letter in a certain colour. To turn this off, just change the Identifier colour to be the same as the default text colour in Preferences.
Installation
The simplest way is to just download the package and put it in this folder:
~/Application Support/BBEdit/Packages/
Then restart your BBEdit and it should be picked up.
Compilation
To compile your own version, you'll need Xcode. The default schema outputs a .bblm, which you'll have to turn into the package manually for now (sorry about that).
In order to compile it, you'll need the BBEdit SDK. The project assumes it's mounted under /Volumes/BBEdit SDK.
TODO
- Code folding
- Snippets
- Cargo integration