Closed tiansin closed 6 years ago
Code: -32603 [Error - 下午12:39:39] Request textDocument/references failed. Message: InvalidArgumentException: Not a valid file URI: phpstubs:meta/.phpstorm.meta.php in C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\utils.php:42 Stack trace: #0 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\ContentRetriever\FileSystemContentRetriever.php(22): LanguageServer\uriToPath('phpstubs:meta/....') #1 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\PhpDocumentLoader.php(110): LanguageServer\ContentRetriever\FileSystemContentRetriever->retrieve('phpstubs:meta/....') #2 [internal function]: LanguageServer\PhpDocumentLoader->LanguageServer\{closure}() #3 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\coroutine.php(64): Generator->valid() #4 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\coroutine.php(118): Sabre\Event\{closure}() #5 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\PhpDocumentLoader.php(123): Sabre\Event\coroutine(Object(Closure)) #6 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\PhpDocumentLoader.php(94): LanguageServer\PhpDocumentLoader->load('phpstubs:meta/....') #7 [internal function]: LanguageServer\PhpDocumentLoader->getOrLoad('phpstubs:meta/....') #8 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\src\Server\TextDocument.php(238): array_map(Array, Array) #9 [internal function]: LanguageServer\Server\TextDocument->LanguageServer\Server\{closure}() #10 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\coroutine.php(70): Generator->send(Object(LanguageServer\PhpDocument)) #11 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\Promise.php(242): Sabre\Event\{closure}(Object(LanguageServer\PhpDocument)) #12 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\Loop\Loop.php(261): Sabre\Event\Promise->Sabre\Event\{closure}() #13 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\Loop\Loop.php(215): Sabre\Event\Loop\Loop->runNextTicks() #14 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\Loop\Loop.php(194): Sabre\Event\Loop\Loop->tick(true) #15 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\sabre\event\lib\Loop\functions.php(122): Sabre\Event\Loop\Loop->run() #16 C:\Users\xxxxxxx\.vscode\extensions\felixfbecker.php-intellisense-1.5.0\vendor\felixfbecker\language-server\bin\php-language-server.php(50): Sabre\Event\Loop\run()
code:
throw new HttpException($code, $message, null, $headers);
A reference from HttpException,I use Shift + f12 to output the error log.
code:
A reference from HttpException,I use Shift + f12 to output the error log.