9e44cd4eb8968a79419bfd8b37994110091d9b1e
This will start transitioning the impl generator to be a more generic helper tool, with the impl generator as one of its component. Also, drop the "-bin" from the name, because what else is it going to be?
BBEdit Package for Rust
This is a BBEdit 11 Package for Rust. It provides the following features:
- Complete syntax highlighting
- Special support for lifetimes, attributes, and identifiers
- Customisable colours using the BBEdit 11 colour editor
- Language features
- Go to start of/end of/previous/next function
- Go to named symbol
- Indexed function menu
- Code folding
- Code helpers
- Clippings for common code patterns
- Autogeneration for standard library trait impls
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
To install this package, simply clone the repo into BBEdit’s Packages folder:
$ git clone https://github.com/ogham/Rust-BBEdit.git ~/Library/Application\ Support/BBEdit/Packages/Rust.bbpackage
Then restart your BBEdit and it should be picked up. It’s necessary for the filename to end in .bbpackage.
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. There’s a Makefile that runs the build commands.
Description
Languages
Objective-C++
48.9%
Rust
33.6%
AppleScript
14.3%
CSS
2.6%
Makefile
0.6%
