1
0
Fork 0
php-language-server/fixtures
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
..
completion Completion (#165) 2016-11-30 22:23:51 +01:00
format.php Linting (#107) 2016-10-24 19:35:37 +02:00
format_expected.php Use PHP_CodeSniffer as a formatter (#35) 2016-10-10 15:06:02 +02:00
global_fallback.php References (#52) 2016-10-12 01:45:15 +02:00
global_references.php Resolve expressions recursively (#155) 2016-11-18 15:22:24 +01:00
global_symbols.php Resolve expressions recursively (#155) 2016-11-18 15:22:24 +01:00
invalid_file.php Change fixtures naming convention 2016-09-30 11:38:46 +02:00
namespace_not_first.php Fixes #59: Handle correctly negative endLine in PHP Parser errors (#62) 2016-10-11 10:15:20 +02:00
references.php Resolve expressions recursively (#155) 2016-11-18 15:22:24 +01:00
symbols.php Resolve expressions recursively (#155) 2016-11-18 15:22:24 +01:00
use.php Add textDocument/definition support 2016-10-09 15:58:39 +02:00