All Questions
Tagged with visual-studio-code php
10
questions
1
vote
2
answers
2k
views
PHP error with "logger.php" - Unknown: Failed to open stream: No such file or directory in Unknown on line 0
I'm using Visual Studio Code with PHP Server extension. When I try to launch my Web application, the browser shows me this message:
Warning: Unknown: Failed to open stream: No such file or directory ...
1
vote
0
answers
66
views
How to install PHP on Visual Studio Online Environment?
Any ideas how to get PHP to work on Visual Studio Online - environment (preview) for development and test purposes?
I believe it is Debian 9 based and tried to install it by this method (and many ...
0
votes
0
answers
762
views
VS Code not highlighting HTML in index.php even with beautify enabled
working on a PHP project, but the HTML in my PHP is not highlighting.
I'm not sure why, but html by itself will.
When I installed beautify, per another posts recommendation, my user settings did ...
0
votes
0
answers
60
views
"Go to symbol in file" not working for PHP
For some reason, the "Go to symbol in file..." dialog for PHP only has an empty list. That dialog works fine for other languages, like JavaScript or TypeScript, but not PHP. I've set the PHP ...
1
vote
0
answers
66
views
VS Code Intellisense doesn't work with DOMDocument extension
I'm working with PHP through Visual Studio Code and I need to create some XML documents. I've seen that in PHP 7.X there is and extension called DOMDocument that seems really simple and useful.
The ...
2
votes
1
answer
6k
views
How to debug PHP code in Visual Studio Code in the services of XAMPP?
First, I turned on XAMPP and started the following services:
By the way, the PHP Version is 7.3.3. Then I checked phpinfo() in the browser. Here is a screenshot:
And I went xdebug.org to download ...
0
votes
1
answer
859
views
How to properly configure the timeout of request in vscode php debug environment?
I am using vscode to develop a theme for wordpress.
Inorder to debug, I've installed the vscode php debug extension and followed the instructions provided by the author of php debug to setup php debug ...
1
vote
1
answer
2k
views
VScode php code folding not working
A strange problem i have, i'm new to VScode, in .js files, code folding works, but when i am editing a .php, code folding doesn't seem to work. No conflicts with any installed extensions.
Or does ...
0
votes
0
answers
1k
views
Visual Studio Code PHP White Text
Dark+ (default dark) Theme:
I want to ask, why does my Visual Studio Code only show white text.
Already install the extension, change the language to PHP at the right bottom and reload the app.
...
7
votes
3
answers
4k
views
Rename refactoring for PHP in Visual Studio Code
Is there a rename refactoring for PHP in Visual Studio Code? It is the only thing that stops me from fully move from NetBeans to VSC. Renaming is very importat for me (not search/replace).
When I ...