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

[Feature Request] Preserve HTML, CSS, JS Intellisense in Vento language #7

Open
noelforte opened this issue Jun 11, 2024 · 1 comment

Comments

@noelforte
Copy link

noelforte commented Jun 11, 2024

Context

Currently, the VSCode extension highlights CSS and JS correctly in VSCode, but does not yet provide Intellisense for them when used as embedded languages:

HTML

html-complete

Vento

vento-complete

Proposed Solution

There are several extensions on the VSCode marketplace that preserve VSCode's built-in Intellisense/Language features for HTML and its embedded languages, notably [panoply/vscode-liquid](https://github.com/panoply/vscode-liquid, bmewburn/vscode-intelephense, withastro/language-tools, and andrejunges/vscode-handlebars, so it's definitely possible to do.

Possibly related to #5, since bringing baseline support for built-in markup may help with extending the highlighting engines for further embedded language formatting.

@oscarotero
Copy link
Collaborator

Yes, I'd love that.
TBH, I'm not an expert on VSCode plugins development and I remember to try that without luck.
I thought injectTo would make it possible, because it's the way to inject a grammar inside other, but seems that it needs something else.

I'll take a look to the plugins you've provided. Liquid example has a more complex configuration that probably allows that.

Any help with this is welcome.

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