1
0
Fork 0
php-language-server/tests
Sara Itani 0de7ba8335 Ensure diagnostics are cleared on file deletion (#319)
* Ensure diagnostics are cleared on file deletion
Previously, error diagnostics would not be cleared when a file was deleted while it was closed. This would result in lingering errors in the problems view that could only be cleared by reloading the language server. This fix addresses the issue by adding support for workspace/didChangeWatchedFiles and automatically clearing diagnostics for deleted files.

* add FileEvent constructor
2017-03-01 11:18:37 +01:00
..
NodeVisitor Support find-all-references for namespaces (#221) 2016-12-17 03:46:08 +01:00
Server Ensure diagnostics are cleared on file deletion (#319) 2017-03-01 11:18:37 +01:00
Utils Completion (#165) 2016-11-30 22:23:51 +01:00
ClientHandlerTest.php Handle Client responses (#128) 2016-10-31 11:47:21 +01:00
FormatterTest.php Use PHP_CodeSniffer as a formatter (#35) 2016-10-10 15:06:02 +02:00
LanguageServerTest.php Add test for #211 (#270) 2017-02-15 17:25:06 +01:00
MockProtocolStream.php Enable LS to operate without accessing the file system (#136) 2016-11-14 10:25:44 +01:00
PhpDocumentLoaderTest.php Add Index classes and stubs (#214) 2016-12-13 01:51:02 +01:00
PhpDocumentTest.php Read vendor directory from project's composer.json, if set. (#281) 2017-02-07 23:20:12 +01:00
ProtocolStreamReaderTest.php Correct ProtocolStreamReaderTest 2016-11-06 15:59:32 +01:00
ProtocolStreamWriterTest.php Simplify ProtocolStreamWriterTest 2016-10-31 10:23:37 +01:00