GitHub - 12Thanjo/cppfront-sublime: Sublime Text integration for cppfront (original) (raw)
Sublime Text integration for cppfront
This is my implementation of syntax highlighting for Herb Sutter's cppfront project.
This implementation is intended for use in Sublime 4. Both cppfront and C++ syntaxes are supported.
Installation:
- Download the repo from GitHub.
- Open the Sublime packages folder
- open Sublime Text
- Preferences > Browse Packages
- Create
User
directory if not already created - Insert the repo anywhere in this
User
directory, including sub-directories - A restart of the Submlime may be required, but otherwise you should be good to go!
Snippets:
I have also created some snippets, and attemted to copy the code format style found in the cppfront test files.
Support:
Have I missed something? Have I mislabelled something? Is there a bug?
Feel free to let me know. Pull Requests / fixes are appreciated, but definitely not required.
Thanks :)
Known bugs:
There are two bugs that I currently know of that I haven't found a fix for yet:
- Class constructor declarations sometimes are highlighted as function calls rather than declarations
- The
<>
with templates, when nested, get highlighted like they are operators. This happens with the built in C++ syntax highlighting as well, so there may not be a fix