0fe7412e14b418079c728222245542f91b34f0ff
This is actually achieved by making the parsing *more lenient* instead of more strict. The view looks more cluttered as a result, but at least it's *correct*. Nothing I can do about the clutter, as far as I know - BBEdit only allows us to use substrings of the document in the menu, so I can't strip out the lifetimes.
BBEdit language module 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/Language Modules
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. You'll also need the BBEdit SDK. The project assumes it's mounted under /Volumes/BBEdit SDK.
Description
Languages
Objective-C++
48.9%
Rust
33.6%
AppleScript
14.3%
CSS
2.6%
Makefile
0.6%
