Answer the question
In order to leave comments, you need to log in
Error in php file in visual studio code?
I create a php file in visual studio code , I start writing the code, everything is correct, but errors start popping up.
The following error occurs:
{
"resource": "/c:/Users/Home/source/repos/Z2/z2.php",
"owner": "_generated_diagnostic_collection_name_#2",
"severity": 8,
"message": "End of line character is invalid; expected \"\\n\" but found \"\\r\\n\"",
"source": "phpcs",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 2
}
Answer the question
In order to leave comments, you need to log in
Some kind of game, a similar picture I had on Brackets a hundred years ago, there in such a plug-in for outputting errors I put checkmarks everywhere, what to check and then stuck all in errors, how to reset the plugin to default settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question