Closed dimaslanjaka closed 4 years ago
Do you have any other php extensions installed? If so please try with the other extensions disabled. If not please provide the code, not a screenshot for debugging.
2 hours not complete to save
i just install php intelephense & php docblocker for php workspace
Please try with intelephense enabled and all other extensions disabled.
This error does not always exist, but if there is a syntax <<< EOF or include passed variables (like drupal themes function) eg:
/**
* Include passed variable
*
* @param string $filePath
* @param array $variables
* @param boolean $print
* @return void
*/
function includeWV($filePath, $variables = array(), $print = true)
{
$output = NULL;
if (file_exists($filePath)) {
// Extract the variables to a local namespace
extract($variables);
// Start output buffering
ob_start();
// Include the template file
include $filePath;
// End buffering and return its contents
$output = ob_get_clean();
}
if ($print) {
print $output;
}
return $output;
}
this error appears at certain times.
if this error comes out, I have to copy all the code in the file, then close the vscode, then open vscode again, and immediately paste and save before the intelphense php is active
Unfortunately I still cannot reproduce this. Do you have any further code you can add that causes this error?
its completely fixed at 1.3.9 until now 1.4.1. i think stuck in loop, but now it perfectly fixed. thanks developer
I had same Problem, but This error does not always exist. usualy after 10-20 minutes working with my vscode. I need PHP Intelephense anda Laravel Blade formating to for my blade templating Laravel Project
This is my VSCode Info :
Version: 1.78.2 (user setup) Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435 Date: 2023-05-10T14:39:26.248Z Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: Yes
Same here on my M2 Mac, I have to kill the process in Activity Monitor and reload the VSCode window and all is good again for another 30 mins or so
Same issue here with system M1, I have to kill the process in Activity Monitor and reload the VSCode window and all is good again for another 30 mins or so
I also have this problem, but sometimes it is solved after restarting the computer. I have also tried deleting the "settings.json" file in the ".vscode" folder in my working project, and the "settings.json" file in the "App Data" folder but this only solved the problem temporarily, after a few days it happened again.
Finally I uninstalled all extensions in vscode, then reinstalled the few extensions I only needed, and it worked. My Intelephense PHP is now working fine.
I had same Problem, but This error does not always exist. usualy after 10-20 minutes working with my vscode. I need PHP Intelephense anda Laravel Blade formating to for my blade templating Laravel Project
This is my VSCode Info :
Version: 1.78.2 (user setup) Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435 Date: 2023-05-10T14:39:26.248Z Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: Yes
Describe the bug Saving and formating php taking too long, more than 5 minutes. can dev fix this bug ?
Screenshots
Platform and version WIN 7 Latest VSCode And PHP Intelephense