1
0
Fork 0
php-language-server/tests
Felix Becker 10fb3c92e0 Completion (#165)
* Add support for method/property completion

* Move completion fixtures into directory

* Add support for variable suggestions

Refactor logic into CompletionProvider class

* Allow getTypeFromNode() to take Variable nodes

* Use property and constant values

* Fix using @var tag for variables

* Improve completion

* classes
* variables with prefix filtering

* Make FQNs more distinct

* use -> for instance methods/properties
* use ::$ for static properties

* Add tests for static access

* Properly filter completion on empty property

* Fix existing tests

* Add support for static access without prefix

* Fix testFullyQualifiedClass

* Add missing fixtures

* Correct file number in init test

* Only insert backslash if not typed yet

* Completion for keywords and bug fixes

* Correct variable insertion

* Support completion for namespaces

* Use CompletionList

* Always set isIncomplete to true

* Update PHPCodeSniffer

* Remove unused method

* And the call

* Handle case where FQN could not be resolved
2016-11-30 22:23:51 +01:00
..
NodeVisitor Completion (#165) 2016-11-30 22:23:51 +01:00
Server Completion (#165) 2016-11-30 22:23:51 +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 Completion (#165) 2016-11-30 22:23:51 +01:00
MockProtocolStream.php Enable LS to operate without accessing the file system (#136) 2016-11-14 10:25:44 +01:00
PhpDocumentTest.php Ignore errors from dependencies (#147) 2016-11-14 20:00:10 +01:00
ProjectTest.php Enable LS to operate without accessing the file system (#136) 2016-11-14 10:25:44 +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