Skip to content
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 #23

Open
akubiczek opened this issue Dec 2, 2020 · 10 comments
Open

Syntax highlighting #23

akubiczek opened this issue Dec 2, 2020 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@akubiczek
Copy link

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

Sample

There is also a regular Textmate XML that can be used in other tools.

best regards
Adam

@irmen
Copy link
Owner

irmen commented Dec 2, 2020

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! 😄

@irmen irmen added enhancement New feature or request help wanted Extra attention is needed labels Dec 2, 2020
@akubiczek
Copy link
Author

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.

@irmen
Copy link
Owner

irmen commented Dec 2, 2020

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.

@akubiczek
Copy link
Author

akubiczek commented Dec 7, 2020

Hello, the new release comes with Sublime 3 extension. Happy coding ;)

https://github.com/akubiczek/Prog8-TmLanguage-VsCode/tree/master/sublime3

@Elektron72
Copy link
Contributor

I'm currently working on a Prog8 syntax file for Vim. It's not done yet, but here's a screenshot:
Screenshot from 2021-03-22 10-32-24
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?

@irmen
Copy link
Owner

irmen commented Mar 22, 2021

please use a PR! Thanks for your work on this !

meisl pushed a commit to meisl/prog8 that referenced this issue May 4, 2021
meisl pushed a commit to meisl/prog8 that referenced this issue May 4, 2021
@meisl
Copy link
Contributor

meisl commented May 4, 2021

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.

screenshot

meisl pushed a commit to meisl/prog8 that referenced this issue May 4, 2021
@irmen
Copy link
Owner

irmen commented May 4, 2021

yeah please make a PR! It's great already even if not covering everything!

@meisl
Copy link
Contributor

meisl commented May 4, 2021

Done: #32

@adiee5
Copy link
Contributor

adiee5 commented Feb 7, 2024

Did a pr for nano highlighting! #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants