-
Notifications
You must be signed in to change notification settings - Fork 222
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
Support formatting of inline javascript in HTML files #156
Comments
i would be ok with this. you used to be able to do this, but too many I dont want to start doing any html parsing right now though. So, we On Mon, Nov 2, 2015, 9:38 AM Maurice Schleußinger [email protected]
|
Well people should be able to decide themselves when to use the formatter, right (not talking about format-on-save)? If they do it wrong manually, undo is just a step away... |
agreed, but I don't see a reason to ever allow formatting an entire Ideally, we could parse out javascript tags from the current html file and On Mon, Nov 2, 2015 at 10:02 AM Maurice Schleußinger <
|
How about just allowing it via the command palette then? HTMLBeautify allows formatting of select text like this: |
@M4urice I think I'm ok with that. It also solves the problem of quickly formatting some throw-away content being a 2-step process (set syntax, format). |
It would be nice to be able to format inline javascript in HTML files by selecting a code block and pressing a key combination or entering a command in the command palette.
The text was updated successfully, but these errors were encountered: