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 support for Godot's GDScript language. #1215

Closed
lukehollenback opened this issue May 4, 2021 · 9 comments
Closed

Syntax highlighting support for Godot's GDScript language. #1215

lukehollenback opened this issue May 4, 2021 · 9 comments
Labels
enhancement theme/language Requests for New Themes or Languages - won't accept

Comments

@lukehollenback
Copy link

I just recently tried to use Carbon to create an image of some GDScript code. Unfortunately, the syntax highlighting wasn't quite right. It would be awesome to add GDScript as a supported language.

FWIW, I also tried Codye, but unfortunately found that it also does not support GDScript.

@lukehollenback
Copy link
Author

There appears to exist a GDScript add-on for highlight.js.

@mfix22 mfix22 added the theme/language Requests for New Themes or Languages - won't accept label May 22, 2021
@repo-ranger
Copy link
Contributor

repo-ranger bot commented May 22, 2021

This issue has been marked "theme/language". As of Carbon 4.0.0, the Carbon core team is no longer implementing new themes or languages, except for in extenuating circumstances. You can create your own theme in the "Themes" dropdown.

This issue will remain open for 14 days for further consideration.

@mfix22
Copy link
Contributor

mfix22 commented May 22, 2021

@lukehollenback sorry, but we are no longer adding new language support, except for in extenuating circumstances. Hopefully custom themes will work for you.

If we hear about GDScript more, I will reconsider adding it.

@mfix22 mfix22 closed this as completed May 22, 2021
@hiulit
Copy link

hiulit commented Jul 7, 2021

I want GDScript support too :D

@mfix22
Copy link
Contributor

mfix22 commented Aug 14, 2021

Does the Python syntax work for you?

@hiulit
Copy link

hiulit commented Aug 28, 2021

@mfix22 No, it doesn't. GDScript is quite different to Python, actually

@dsaltares
Copy link

Would love to see support for GDScript.
Godot Engine is rapidly increasing in popularity. Github, for example, has .gitignore presets for Godot/GDScript projects.

@mfix22
Copy link
Contributor

mfix22 commented Oct 13, 2021

Would love to see support for GDScript. Godot Engine is rapidly increasing in popularity. Github, for example, has .gitignore presets for Godot/GDScript projects.

Hey @dsaltares, is there a CodeMirror language mode for GDScript?

@dsaltares
Copy link

@mfix22

Hey @dsaltares, is there a CodeMirror language mode for GDScript?

Looks like there isn't:

codemirror/codemirror5#5545
marktext/marktext#478

But looks like Prism added support for it:

PrismJS/prism#2001
PrismJS/prism#2006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement theme/language Requests for New Themes or Languages - won't accept
Projects
None yet
Development

No branches or pull requests

4 participants