-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Vscode mixed writing ,php to html #48238
Comments
(Experimental duplicate detection) |
What do you mean code hints? Please be specific about what the problem is.
It looks like you didn't set files.associations for that screenshot. It will work if you set it. |
@roblourens these are habits problem, if the vscode team can change is the best.thank you |
This works for me. Are you using the builtin PHP intellisense, or an extension? question 2: This is expected unless you set files.associations in this case, did you? Both problems could be explained by, you didn't actually set files.associations. |
@roblourens files.associations is set up,Use of builtin PHP intellisense.I hope these can help you |
Does the status bar say "HTML" or "PHP" on the bottom right side? |
@roblourens display "HTML" |
Ok, then the files.associations setting is not being applied. Is that in your user settings? Is it being overridden by a setting in workspace settings? Can you check whether it's applied when you start with |
@roblourens disable all extensions,has no effect |
Can you make sure that the builtin PHP extension is functional by manually changing the language mode to PHP? Click on HTML in the status bar and make sure PHP is in the list that appears, and select PHP. |
manually changing PHP file, PHP intellisense normal work |
I must be missing something because it seems unlikely that there's a bug in this area. Could you open developer tools (Help > Toggle Developer Tools) and check for errors in the console? |
@roblourens errors in the console |
Does that show up when you open the php file? What if you set |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
version:1.23.0-insider;
theme:dark+(def dark);
question1: set files.associations, HTML does not add the PHP code hints we want;
question2: when HTML writes PHP, the former < symbol is red;
The text was updated successfully, but these errors were encountered: