1
0
Fork 0
Commit Graph

295 Commits (d7a4034eacd17e54fdc710d03e55e96659c69a8a)

Author SHA1 Message Date
Sara Itani c18bec0d50 small fixes, add diagnostic mode 2017-03-05 23:23:33 -08:00
Sara Itani d3f2bebb40 Hover and Go-To definition (in progress) 2017-03-05 20:22:13 -08:00
Sara Itani cdf8fc36e1 add getNodeAtPosition, fix definition collector tests 2017-03-05 16:34:01 -08:00
Sara Itani 15eed55158 Symbol support for Microsoft/tolerant-php-parser 2017-03-04 20:56:01 -08:00
Sara Itani 722898f74d refactor 2017-03-04 18:36:17 -08:00
Sara Itani 2280e7889b extract to tree analyzer interface 2017-03-04 17:44:04 -08:00
Sara Itani 7f8eccb5ae Fix formatting breakage (option 2) (#324)
PHP_CodeSniffer 3.0 RC4 introduces a breaking change that removes PHPCS from the composer autoloader. This fix addresses the issue by locking to v3.0 RC3.
2017-03-02 10:07:47 +01:00
Sara Itani e7b04f7518 extract symbol information 2017-03-01 16:51:52 -08:00
Sara Itani b1eb43516d update definition resolver interfaces 2017-03-01 16:51:46 -08:00
Sara Itani 591ecbd7d3 Extract static FQN methods to FqnUtilities 2017-03-01 16:51:45 -08:00
Sara Itani df315df04b start refactoring definition resolver 2017-03-01 16:51:43 -08:00
Sara Itani 027801ebba update parser branch for development 2017-03-01 16:51:41 -08:00
Sara Itani 13241a7be9 initialize tolerant-php-parser 2017-03-01 16:51:16 -08:00
Sara Itani 0de7ba8335 Ensure diagnostics are cleared on file deletion (#319)
* Ensure diagnostics are cleared on file deletion
Previously, error diagnostics would not be cleared when a file was deleted while it was closed. This would result in lingering errors in the problems view that could only be cleared by reloading the language server. This fix addresses the issue by adding support for workspace/didChangeWatchedFiles and automatically clearing diagnostics for deleted files.

* add FileEvent constructor
2017-03-01 11:18:37 +01:00
Matthew Brown 56bd465bf8 DefinitionResolver fixes (#307)
* Fix class references

* Fix return types
2017-02-20 10:28:49 +01:00
Matthew Brown cbfd70d398 Abort traversal in NodeAtPositionFinder (#305) 2017-02-18 00:28:10 +01:00
Cameron Eagans 5d2ab8f369 Add test for #211 (#270) 2017-02-15 17:25:06 +01:00
Felix Becker 3856f4f46a Update PHPParser 2017-02-15 11:16:16 +01:00
Trevor Bortins d5c54ac30f Read vendor directory from project's composer.json, if set. (#281) 2017-02-07 23:20:12 +01:00
Felix Becker 571b26a0c3 Use php_uname() instead of PHP_OS (#283) 2017-02-06 16:42:45 +01:00
Felix Becker 3c11cde9fb Include packages-dev (#282) 2017-02-06 16:35:16 +01:00
Felix Becker 5100d89617 Make resolveExpressionNodeToType() handle null (#277) 2017-02-04 12:52:04 +01:00
rox b90ede7fb3 Neovim is using php language server (#272) 2017-02-04 12:04:19 +01:00
Felix Becker bedd157636 Caching (#260) 2017-02-04 00:20:38 +01:00
Cameron Eagans 34d3d2030d Automatically index stubs on composer install (#269) 2017-02-02 18:36:48 +01:00
Cameron Eagans 7fbd68a61a Depend on phpcs RC2 (#268) 2017-02-02 02:06:16 +01:00
Felix Becker d8823bc7dc Use JetBrains PHPStorm stubs from packagist (#264)
* Use JetBrains PHPStorm stubs from packagist

* Fix path
2017-01-30 11:55:13 +01:00
Felix Becker 47b5b6709c Restart without XDebug if enabled (#259) 2017-01-26 02:08:40 +01:00
Felix Becker 96aa998486 Make Index an EventEmitter (#255) 2017-01-25 01:38:11 +01:00
Ivan Bozhanov 43a91b0d09 Handle hover for $this (#249) 2017-01-19 15:47:11 +01:00
Felix Becker d080c161a9 Don't crash if indexing fails 2017-01-13 12:06:58 -08:00
Felix Becker 106aa24b5d Implement global references protocol extension (#236) 2017-01-10 17:08:52 -08:00
Felix Becker 49245fd4d3 Allow overriding (#229)
* Add missing documentLoader property

* Make PhpDocumentLoader->contentRetriever public
2017-01-04 19:18:14 -08:00
Felix Becker 662143abad Fix wrong function call in DefinitionResolver 2016-12-24 16:35:20 +01:00
Kaloyan Raev de0dd32a67 Add used by Eclipse IDE (LSP4E-PHP) (#224) 2016-12-23 11:10:44 +01:00
Felix Becker b93d4f33cb Fix stubs location 2016-12-20 13:53:15 +01:00
Felix Becker 710d2a7ff7 Fix autoloading in ComposerScripts 2016-12-20 13:44:01 +01:00
Felix Becker 2005518dfe Support find-all-references for namespaces (#221) 2016-12-17 03:46:08 +01:00
Felix Becker 83618fee2e Avoid multiple references with function calls (#220) 2016-12-16 23:42:47 +01:00
Felix Becker 2242a35678 Reset definitions and references on content update (#219) 2016-12-16 23:33:55 +01:00
Felix Becker d03db024c1 Add Eclipse Che to "Used By" section 2016-12-16 13:00:11 +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 cc9d5e987b Fix wrong class name 2016-12-15 18:01:44 +01:00
Felix Becker cd116a252b Update php-parser 2016-12-13 10:07:11 +01:00
Felix Becker 0b61951a9c Support hover for definitions
#201
2016-12-13 03:18:07 +01:00
Felix Becker 96ea8608d7 Support getting references from a reference
Closes #201
2016-12-13 02:53:01 +01:00
Felix Becker b8a113ddd0 Correct reference collection for New_ nodes
Closes #202
2016-12-13 02:40:51 +01:00
Felix Becker d90a88e625 Add missing property declaration 2016-12-13 02:13:57 +01:00
Felix Becker d7fc9e0425 Index twice to collect dynamic references (#206) 2016-12-13 02:11:29 +01:00
Felix Becker a7d77d844e Add Index classes and stubs (#214) 2016-12-13 01:51:02 +01:00