-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Pressing tab in a PHP file inserts an XML tag #7913
Comments
Same in: VSCode Version: 1.2.1 |
@aeschli do you know of anything special we are doing here? |
It's emmet. |
Maybe do as plugin for Sublime Text?
https://github.com/sergeche/emmet-sublime#tab-key-handler |
Yes, this is emmet (same problem as #13578). To disable this behavior, add the following setting: "emmet.excludeLanguages": ["php"] |
Looks like php is still acting up. The above approach works for |
From @zackote
Expanding the string |
Well, confirm, |
@mrmlnc You mentioned here #12325 (comment) that emmet should work for PHP in VS Code now. Meaning, should
|
@mjbvz just found that the exclusion works if you are inside the block. |
@mrmlnc At the moment As in I cannot expect |
Yes, you right. I think that sooner VS Code defined region differently (at least when we worked on this with Erich). Sorry. If I press Tab inside |
My apologies again. Now VS Code determines scopes of languages a little differently.
As far as I know, Emmet does not work with PHP. Because Emmet has no code for this (https://github.com/emmetio/emmet/search?utf8=%E2%9C%93&q=php) 😄. |
Thanks @mrmlnc |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: