-
Notifications
You must be signed in to change notification settings - Fork 11
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
Formatting html inside php #23
Comments
Yes I got the same problem 👍 (But I love this tool) |
This would be great. You can however switch the file type to html, format it, then switch back to php if you have another formatter for html etc installed. I've done this. Obviously not as convenient as being able to do without switching file types. |
I've been doing this since October :) keybindings.json
Ctrl + l > H > ENTER. |
@rgfx that is so confusing. Can you explain what did you mean by Ctrl + l > H > ENTER. |
@deviantnasir What rgfx means is: CTRL+SHIFT+P and type Insert the new keyboard shortcut [
{
"key": "ctrl+l",
"command": "workbench.action.editor.changeLanguageMode",
"when": "editorTextFocus"
}
] Than go to your
This is still truly sad to see such a beautiful editor not format properly mixed PHP and HTML - out of the box. |
I got a solution to the HTML formatting in PHP if your interested. |
Curious if I can format HTML inside a PHP file somehow? Right now It only formats purely PHP.
The text was updated successfully, but these errors were encountered: