prog8
prog8 copied to clipboard
Syntax highlighting
Hello!
I have developed an extension for Visual Studio Code to proper Prog8 syntax highlighting. It's far from being perfect but it helps a lot: https://github.com/akubiczek/Prog8-TmLanguage-VsCode

There is also a regular Textmate XML that can be used in other tools.
best regards Adam
That is great! I will mention this in the documentation
I have been thinking about creating syntax highlighters for KDE Kate, Vim and Sublime Text but it is a lot of work....
We need help with this! 😄
- [x] VS Code | https://github.com/akubiczek/Prog8-TmLanguage-VsCode
- [x] IntelliJ IDEA | available in the repo in the syntax-files directory
- [ ] KDE Kate
- [x] Vim | available in the repo in the syntax-files directory, contributed by Elektron72
- [x] Sublime Text 3 | https://github.com/akubiczek/Prog8-TmLanguage-VsCode/tree/master/sublime3
- [x] Notepad++ | available in the repo in the syntax-files directory, contributed by meisl
Very well :) I just made some improvements and added a yaml file for Sublime Text 3: https://github.com/akubiczek/Prog8-TmLanguage-VsCode/blob/master/src/prog8.sublime3.yaml
It's not tested though - I don't use Sublime.
Hm, can't get the sublime syntax to work yet... appreciate the effort though. Could be something on my end. I'm not familiar yet with syntax def files for it too.
Hello, the new release comes with Sublime 3 extension. Happy coding ;)
https://github.com/akubiczek/Prog8-TmLanguage-VsCode/tree/master/sublime3
I'm currently working on a Prog8 syntax file for Vim. It's not done yet, but here's a screenshot:
When it is ready for use, should I fork this repo, place it in syntax-files/Vim, and submit a pull request, or should I create a new repo?
please use a PR! Thanks for your work on this !
Hi,
I just made a syntax file for Notepad++.
Without asm {{ ... }} parts though, unsure how to go about that.
So, it's not finished but I can make a pull-request already if you want.

yeah please make a PR! It's great already even if not covering everything!
Done: https://github.com/irmen/prog8/pull/32
Did a pr for nano highlighting! #123