-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
How can we reuse editor of another language in any file #9650
Comments
This may be a duplicate of #1751 |
Bringing back JS and CSS in HTML is part of the task #3995. |
@aeschli It might be related but my point is wider. Because what I would like is not only in html script tag but in any arbitrary file like json, which has no tag to specified like HTML so it cannot load automatically Is it possible to open sub editor, like peek, but reuse another language server? Or you plan to enable ability to switch language on specific lines? I would like to make an extension so I want some workaround of this, it not need to be automatically like js in html, but that's all I need If it not in the scope of html tag then I would like you to reopen this as feature request |
I didn't think of this, I think that would make a nice extension idea. My guess is that this is useful for an occasional edit in an embedded language, but will be cumbersome after a while, as it invokes a manual setup. But feel free to reopen and maybe make the issue description more specific. I don't see a generic solution to this solving all embedded language problems in one go. The more general the issue is formulated, the more difficult it will be to really come to a solution. |
@aeschli I was opened issue like this because I'm not sure if the solution is already exist or there are some workaround possible As of now it seem hard and need so long to wait for you guys implement inline embedding. So I want some other way, like a custom peek window I mention about Or could you advise me any idea better and possible as of now? |
Basically it like HTML can edit css and javascript in
<style>
and<script>
tagI am using couchDB and have a hard time edit its document. couchdb work with javascript in json so I need to write javascript in string
something like this
Something like this. It hard and ugly so I want to make it easy by developing vscode extension
Could you please guide me?
Also I have heard from typescript team that vscode still lack this feature so they can't put salsa editor in HTML file. If it's true then I would like to make feature request
The text was updated successfully, but these errors were encountered: