1
0
Fork 0
Commit Graph

12 Commits (5e9dfa104b09e563f2c07fb989aa6c38483ff98f)

Author SHA1 Message Date
roblou 5e9dfa104b Remove original DefinitionResolver, remove "Tolerant" on file names 2017-05-19 13:39:16 -07:00
Rob Lourens b5412621d6 Fix completion tests to handle receiving all items 2017-05-18 21:06:28 -07:00
Rob Lourens 57f9e1f20e Fix completions test (insertText is optional) 2017-05-02 11:08:02 -07:00
Rob Lourens 31441f4b7e Remove ParserResourceFactory and DefinitionResolverInterface (leave original DefinitionResolver for now, for more testing) 2017-05-02 11:04:44 -07:00
Sara Itani 722898f74d refactor 2017-03-04 18:36:17 -08:00
Sara Itani df315df04b start refactoring definition resolver 2017-03-01 16:51:43 -08:00
Cameron Eagans 5d2ab8f369 Add test for #211 (#270) 2017-02-15 17:25:06 +01:00
Felix Becker a4a13e6528 Add support for inherited members (#218)
in completion, definition, references, hover etc
2016-12-16 01:40:17 +01:00
Felix Becker a7d77d844e Add Index classes and stubs (#214) 2016-12-13 01:51:02 +01:00
Felix Becker b9f9871156 Files finder (#209) 2016-12-08 02:33:48 +01:00
Michal Niewrzal db6f4f7e5d Don't filter properties on typed prefix (#207) 2016-12-07 21:17:55 +01:00
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