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

See if the "WGSL Literal" VSCode plugin can be embedded into the examples page. #354

Open
iwoplaza opened this issue Sep 19, 2024 · 1 comment

Comments

@iwoplaza
Copy link
Collaborator

iwoplaza commented Sep 19, 2024

This would allow for WGSL syntax highlighting for WGSL template literals:

/* wgsl */ `1 + 2`
@iwoplaza iwoplaza added this to the 0.2.0 milestone Sep 19, 2024
@reczkok reczkok assigned reczkok and unassigned reczkok Oct 17, 2024
@reczkok
Copy link
Collaborator

reczkok commented Oct 18, 2024

I think it will be very difficult to do in Monaco alone. The VSCode plugin will not work here as it depends on the VSCode API. I think it is possible but not in a straightforward way - unless there is a way to have a multi language Model inside Monaco. As far as my research went, the only way I think it could be done is having the editor split the text and display it multiple Models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants