Skip to content
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

PHP commenting is displaying as HTML comments in a pure php file #234622

Open
sagisar1 opened this issue Nov 25, 2024 · 1 comment
Open

PHP commenting is displaying as HTML comments in a pure php file #234622

sagisar1 opened this issue Nov 25, 2024 · 1 comment
Assignees

Comments

@sagisar1
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.95.3
  • OS Version: Windows 10

Hello, after updating vscode, when i try to do CTRL + / in order to comment a line in php file, it comments as HTML comments

instead of normal php comments
//

I have the built in extenstions enabled, and external extension PHP Debug by xdebug.org
Also I had php extension pack, disabled it, removed it, and the problem is still happening.

Steps to Reproduce:

  1. open vs code
  2. create a pure php file with extenstion .php
  3. try to comment with CTRL +/
  4. recieve HTML comments instead of php comments
@RedCMD
Copy link
Contributor

RedCMD commented Nov 26, 2024

this has always been the case

however there is a new bug
ctrl+/ toggle comment doesn't work after opening a blank php file for the first time
it used to work in 1.75.1, but broke in 1.76.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants