-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Use default Format options in Extensions #940
Comments
@jrieken Would this be enabled by the commanding work? |
Unsure if I understand correctly. @kasik96 Do you want to be able to format a substring of a document, e.g. a string literal inside a JS file, or do you want to contribute a formatter for that targets string literals? |
Ok, example of my use:
|
In theory with the updating release you will be able to invoke the Despite, I believe the proper way to address this is using scopes. That is when registering your php formatter you can say: this is for php-files and the php-portion of html files with a This issue is related (maybe a dup) of #580. |
Also related (maybe dup) of #719 |
@alexandrudima @aeschli Mixed modes are a topic we should figure out how to handle |
Duplicate of #14447 See this comment for more information about the issue |
Hi, i writing an extension to VS Code, but i dont find any way to be able use VS Code Formating on my Strings (Like HTML and JS Format separatly). Any plans to add it?
The text was updated successfully, but these errors were encountered: