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 start square bracket in quote will make the vs code editor abnormal. #14

Open
Cheunglik opened this issue Nov 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Cheunglik
Copy link

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

VS Code Version: 1.83
OS Version: Win10
Extensions: PHP debug 1.33.0
Steps to Reproduce:

php file.
set string = "SELECT * FROM [", and write any statement after the string. The editor will be working abnormal.
set string = "SELECT * FROM [" and comment after the string. The editor will be working abnormal.
set string = "SELECT * FROM [".$_POST['getdb']."].[dbo].[tabl1] WHERE [column1] = 'PASSWORD'"; The red backet will be shown.

start square backet without end square in php string

start square backet without end square in php string2

start square backet without end square in php string3

@nunoperalta
Copy link

Same thing reported here: microsoft/vscode#176194

@KapitanOczywisty KapitanOczywisty added the bug Something isn't working label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants