I included my own text using these tips boxes, because why not. This is a useless extension tbh but i'm proud
I know, bad styling, rip
I mostly wrote this to learn regular expressions, and learn I did... Quarantine has blessed(cursed) me(us) with a lot of time
If anyone actually manages to find this and use it, and wants me to make it better, I will, otherwise... prob not
Want to see what it does without actually using .fl files, check out the exampleFile
This VScode Extension is published on the Marketplace, but if you want to install from the repo, install the
.vsix
Some Resoruces I used:
- https://www.apeth.com/nonblog/stories/textmatebundle.html
- https://macromates.com/manual/en/language_grammars
- https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
Highlights
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
No requirements, opening .fl files will trigger the syntax highlighter
Now that I think about this, maybe at least the VScode version that uses TextMate Syntax Highlighting
Note to the above: VScode 1.9 and above will work
Include if your extension adds any VS Code settings through the contributes.configuration extension point.
For example:
This extension contributes the following settings:
myExtension.enable: enable/disable this extensionmyExtension.thing: set toblahto do something
Calling out known issues can help limit users opening duplicate issues against your extension.
This Extension has only been tested on files produced directly using the FLUID application
I made it intentionally bad, it mostly takes ranges from start of line to end, meaning for example: putting any "Fl_[A-Za-z_]+" before a curly brace "{" would break it
I mostly wrote this for myself, just thought I would share this on VScode
Users appreciate release notes as you update your extension.
Initial release of syntax highlighting for the "FLTK User Interface Designer (FLUID)" .fl file format
Note: You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\on macOS orCtrl+\on Windows and Linux) - Toggle preview (
Shift+CMD+Von macOS orShift+Ctrl+Von Windows and Linux) - Press
Ctrl+Space(Windows, Linux) orCmd+Space(macOS) to see a list of Markdown snippets
Enjoy!