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

Implement a CodeHighlighter for .yarn scripts #27

Open
dogboydog opened this issue Nov 18, 2023 · 1 comment
Open

Implement a CodeHighlighter for .yarn scripts #27

dogboydog opened this issue Nov 18, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dogboydog
Copy link
Collaborator

dogboydog commented Nov 18, 2023

Not sure the priority of this, but if you add "yarn" to the "Text File Extensions" setting in EditorSettings, you can go to File > Open from the Script panel and open a yarn file. It would be interesting to try to have syntax highlighting in the Godot Editor. However personally I think the best experience will probably still be using the VS Code extension.

https://docs.godotengine.org/en/stable/classes/class_codehighlighter.html

Depending on the implementation, it might make sense to make the CodeHighlighter its own plugin.

@dogboydog dogboydog added the enhancement New feature or request label Nov 18, 2023
@dogboydog dogboydog added the help wanted Extra attention is needed label Jan 21, 2024
@dogboydog
Copy link
Collaborator Author

I wonder if the language server used by the VS Code plugin could be useful to implement this.

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

1 participant