Rob Lourens
63bf43e40c
Bump tolerant-php-parser to get fix ( #457 )
...
for https://github.com/Microsoft/tolerant-php-parser/issues/12
2017-08-11 10:29:55 -07:00
Felix Becker
7ce2284176
Pin phpdocumentor/reflection-docblock dependency
...
https://github.com/phpDocumentor/ReflectionDocBlock/issues/109
2017-07-19 13:15:48 +02:00
Ivan Bozhanov
35f33c8c91
Fluent interfaces support ( #421 )
2017-07-07 13:18:19 +02:00
Felix Becker
94fc0405fd
Correct parser link in README
2017-07-01 14:32:56 +02:00
Felix Becker
fc0bf4c163
Fix workspace/xreferences ( #424 )
...
* Make Descriptors minimal
SymbolDescriptor and PackageDescriptor should only contain the minumum amount of properties needed
* Add missing use
* Fixes
* Ignore ReferenceInformation->symbol
2017-06-22 20:06:10 +02:00
Felix Becker
fced1d5af6
Fix textDocument/xdefinition ( #429 )
2017-06-22 17:34:28 +02:00
Felix Becker
00552120ad
Restrict workspace/symbol results to non-dependency symbols ( #426 )
...
This improves performance a lot and matches what other language servers do
2017-06-21 14:17:36 +02:00
Felix Becker
f43ce50d5a
Default memory limit to 4GB
2017-06-21 11:48:41 +02:00
Felix Becker
08fe84de35
Add launch.json
2017-06-20 08:38:06 +02:00
Rob Lourens
a454cd2873
Add vendor/validation folders to search.exclude ( #420 )
2017-06-20 08:35:47 +02:00
Ivan Bozhanov
dae3f2576c
Add $this completion ( #419 )
2017-06-19 12:23:43 +02:00
jens1o
0af2cb266c
modify comment and merge master
2017-06-17 11:25:31 +02:00
jens1o
8404b5de73
Merge https://github.com/felixfbecker/php-language-server into jens1o-support-foreach
2017-06-17 11:24:40 +02:00
Rob Lourens
f97105740d
Bump tolerant-php-parser ( #415 )
...
* Bump tolerant-php-parser
* Update test for new parser static support
2017-06-17 10:53:08 +02:00
Felix Becker
548120314d
Revert "Update CodeSniffer"
...
This reverts commit 663ccd5f23
.
2017-06-16 20:39:32 +02:00
Felix Becker
a772d9a2d7
Remove content ( #413 )
2017-06-16 20:31:29 +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
Felix Becker
663ccd5f23
Update CodeSniffer
2017-06-15 17:11:57 +02:00
Felix Becker
4a98afe540
Fix docblock union types
2017-06-15 17:03:25 +02:00
Rob Lourens
3b633369a7
Fix error getting completions for 'new static' type ( #405 )
2017-06-15 12:44:03 +02:00
Nicholas Narsing
8d1732ed02
Exclude directory paths from file system search ( #401 )
...
* Exclude directories from file system search
Directories can also match the glob search pattern if their names end in ".php", which will cause a read error later since the ContentRetriever implementers are expecting files. As far as I know, the only way to fix this is to do an additional check to ensure the URI is not of a directory.
This resolves #306 .
2017-06-11 23:24:17 +02:00
Felix Becker
fe7e9d5800
Rename $stmts to $sourceFileNode everywhere
...
The root node is now a SourceFileNode, not an array
2017-06-10 21:36:16 +02:00
Jens Hausdorf
4c1d7bd1bc
Add true, false, null to keywords ( #396 )
2017-06-10 18:47:19 +02:00
jens1o
893596208e
start with foreach regocnitian
2017-06-10 14:25:05 +02:00
Stephan Unverwerth
cc3f0da21a
Fix 'find references' for unused symbols ( #392 )
...
* Add tests for unused symbols
* Fix tests for unused symbols
2017-06-10 11:37:39 +02:00
Rob Lourens
f10680e441
Fix variable type from method return value, add tests ( #393 )
2017-06-10 11:10:15 +02:00
Rob Lourens
7b72b38fd9
Assert that references array is equal, not a subset, and update expected.json files ( #395 )
2017-06-10 10:55:41 +02:00
Jens Hausdorf
42d0c7b714
Improve handling of abstract classes ( #391 )
2017-06-09 22:12:32 +02:00
jens1o
454e078cd5
fix merge conflict and abstract detection
2017-06-09 21:59:18 +02:00
jens1o
0c9ee8b33d
I can't count properly
2017-06-09 21:39:12 +02:00
jens1o
eaacc47772
detect when class is abstract
2017-06-09 21:34:35 +02:00
jens1o
7874680740
merge master and improve `canbeInstantiated`
2017-06-09 21:34:15 +02:00
Sara Itani
7f427a1215
Adopt Microsoft/tolerant-php-parser ( #357 )
2017-06-09 20:25:30 +02:00
Stephan Unverwerth
08cf1a3fd7
Allow getting type from define() node ( #363 )
...
* Allow getting type from define() node
- fixes #364
* Add test case for DefinitionResolver
2017-04-24 11:11:40 +02:00
Jens Hausdorf
b1cc7bf6b0
Support constants with define() ( #347 )
2017-04-17 17:03:08 +02:00
Felix Becker
ede90472d0
Remove whitespace
2017-04-17 16:40:29 +02:00
Felix Becker
8ac306f653
Update SymbolInformation.php
2017-04-17 16:37:21 +02:00
jens1o
2625a1062b
fix test & revert last commit
2017-04-17 16:32:19 +02:00
jens1o
93fae1bb13
update code style
2017-04-17 16:16:31 +02:00
jens1o
9d1af84122
code style
2017-04-17 16:06:30 +02:00
jens1o
6fea33db04
unify code
2017-04-17 16:04:12 +02:00
jens1o
7380acc49f
fix code style
2017-04-17 12:18:27 +02:00
jens1o
76e7170f15
rename test constant and fix name gets renamed bug
2017-04-17 12:15:46 +02:00
jens1o
503cc6bcff
fix code style
2017-04-10 12:33:33 +02:00
jens1o
9ff8957f47
fix double definiton
2017-04-10 12:27:59 +02:00
jens1o
07bfdff72d
🚀 support constants
2017-04-10 12:24:22 +02:00
Jens Hausdorf
de6aed608c
Show constructors and destructors with right symbol ( #346 )
2017-04-09 19:44:28 +02:00
Jens Hausdorf
97d1579f37
Update PHPParser dependency ( #345 )
2017-04-09 18:23:46 +02:00
Sara Itani
f50df5cdaf
Enforce memory limit in phpunit.xml ( #320 )
...
This will help highlight memory regressions, make it easier for newcomers to get started with the codebase w/o editing php.ini defaults (128M), and also keep things consistent between local and travis runs.
2017-04-02 14:08:45 +02:00
Talv
14a6d65832
Fix missing '()' for function definition ( #340 )
2017-04-02 00:30:10 +02:00