Declspeck
f5b1256cf9
feat(completion): complete class aliases when the target does not exist
2018-02-24 15:24:38 +02:00
Declspeck
d1933b8332
refactor(completion): rewrite global name completion with generators
2018-02-15 22:47:57 +02:00
Declspeck
98ac9ff913
Merge branch 'master' into autocomplet-speedup
2018-02-09 22:54:46 +02:00
Declspeck
d6b4e79491
feat(completion): complete for used namespaces
2018-02-09 22:49:42 +02:00
Jens Hausdorf
a8f60c9cf6
fix(completion): do not propose <?php if completion context is not given ( #593 )
...
fixes #372
2018-02-07 11:55:25 -08:00
Declspeck
e589f9ee12
refactor(completion): make completion of global symbols use Index more efficiently
2018-02-03 23:10:13 +02:00
Declspeck
86179489aa
Merge remote-tracking branch 'origin/master' into autocomplet-speedup
2018-02-03 19:07:17 +02:00
Phil Nelson
9eea26df71
feat: foreach completion ( #551 )
2017-12-17 17:55:12 -08:00
Felix Becker
fa67f84b73
perf: get direct children
2017-11-23 02:22:26 -08:00
Felix Becker
91ca99a867
Revert "differenciate member and non member definitions"
...
This reverts commit 48bbbb5d14
.
2017-11-23 01:20:42 -08:00
Nicolas MURE
48bbbb5d14
differenciate member and non member definitions
2017-11-19 19:26:13 +01:00
Felix Becker
b03950cb53
Cleanup
2017-11-18 17:07:35 -08:00
Felix Becker
3bda390c3d
Merge branch 'master' into feature/autocomplete-speedup
2017-11-18 17:00:17 -08:00
Felix Becker
b1a1875070
fix(completion): don't suggest <?php on > characer ( #527 )
...
closes #372
2017-11-15 22:38:01 -08:00
Nicolas MURE
d1f85f15b6
use tree representation index
2017-11-14 02:54:18 +01:00
Nicolas MURE
14f840bd2f
use correct terminology
2017-11-13 20:23:21 +01:00
Nicolas MURE
6a36828069
avoid useless array
2017-11-13 20:22:21 +01:00
Nicolas MURE
17602aa768
globalDefinitions cache to speedup autocomplete
2017-11-13 20:22:20 +01:00
Nicolas MURE
18f2f4c85c
cleanup
2017-11-13 20:20:37 +01:00
Nicolas MURE
6d725a234c
speedup static access autocomplete
2017-11-13 20:18:51 +01:00
Nicolas MURE
2d91ee8eff
speedup autocomplete with ReadableIndex::getDefinitionsForNamespace
2017-11-13 20:18:11 +01:00
Jens Hausdorf
1edbe35609
refactor: use FunctionLike Interface ( #505 )
2017-10-30 03:33:19 -07:00
Felix Becker
7ae6452d1a
refactor(index): rename isGlobal to isMember ( #511 )
...
isGlobal was confusing because a non-member can be considered global vs namespaced
2017-10-29 17:45:06 -07:00
Ivan Bozhanov
35f33c8c91
Fluent interfaces support ( #421 )
2017-07-07 13:18:19 +02:00
Felix Becker
0e3727a8d6
Improve CompletionProvider ( #412 )
...
- Better performance
- More documentation
- Add field to Definition for global namespace fallback
Fixes #380
2017-06-16 20:31:13 +02:00
Jens Hausdorf
4c1d7bd1bc
Add true, false, null to keywords ( #396 )
2017-06-10 18:47:19 +02:00
Sara Itani
7f427a1215
Adopt Microsoft/tolerant-php-parser ( #357 )
2017-06-09 20:25:30 +02: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
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