-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting in editors ? #3
Comments
@bergie, who was it that made progress with this? |
Here is a vim FBP highlighter: https://github.com/ninegrid/vim-fbp In action: |
The current version is slightly different to the above screenshots and also has support for exporting ports (including legacy exports). For reference:
For anyone looking at the source code - the tmLanguage format is pretty cryptic, and isn't as sophisticated as something like PEG.js, so there's likely a better way to achieve what I've done so far. That said, it should work as expected. If anyone has feedback or runs into problems, please create an issue for the .tmbundle since that's the source for everything else. |
FBP syntax highlighting rules for the ACE editor: https://github.com/johnrees/visualize/blob/37692009de167ca2b9864ca39d3d0a9ee12da6e5/browser/mode-fbp.js |
May not be the best palce to ask, but do you guys have syntax highlighting of fbp files in your favorite editors ? I'm using Sublime Text (2/3) and couldn't find an official fbp syntax highlighter. Would make life easier (although it's not top-priority and could be something made by the community).
The text was updated successfully, but these errors were encountered: