1
0
Fork 0
Commit Graph

316 Commits (eef824488efe28e236a21d03ad7b08932c5dd8e9)

Author SHA1 Message Date
Sara Itani 42dc2c966d Update validation tests
- assert non-null ASTs
- additional submodules
2017-03-28 13:59:24 -07:00
Sara Itani a69c93b28b Print null docs in language server perf log 2017-03-28 13:55:10 -07:00
Sara Itani 4ac56d83a4 Update logging
- add diagnostics for old parser
- include maxRecursion levels
- include option to run functions multiple times to help profile
2017-03-28 13:53:53 -07:00
Sara Itani 946b5b1cdb Fix exception during diagnostics parsing 2017-03-24 10:31:23 -07:00
Sara Itani c84b91de2b Fix exception during definition resolution 2017-03-24 10:30:34 -07:00
Sara Itani cd4c6d66d9 Add validation test filesize threshold 2017-03-24 10:30:07 -07:00
Sara Itani 7b633f5e07 minor perf improvements 2017-03-21 15:25:49 -07:00
Jens Hausdorf 4d0a0a2a10 show anything from a doc comment block (#315) 2017-03-19 12:15:39 +01:00
Sara Itani 6e7f77be6d add script to help profile 2017-03-15 14:11:49 -07:00
Sara Itani 81ba7df91c fix some crashes, perf issues 2017-03-15 14:10:52 -07:00
Sara Itani 0824e6d9b8 start adding validation tests 2017-03-15 14:10:29 -07:00
Sara Itani 4324530389 Find all references support 2017-03-09 15:57:57 -08:00
Harings Rob 546660f957 Update README.md (#329)
Updating the used by to no longer link to the deprecated repository.
2017-03-08 16:19:56 +01:00
Sara Itani 167b6ac6f2 Update getDocBlock to use context information. All Definition tests pass! 2017-03-06 21:31:13 -08:00
Sara Itani e45648daab fix global constant fallback 2017-03-06 16:12:26 -08:00
Sara Itani afca7ea7e0 fix definitions namespaced function calls 2017-03-06 16:08:06 -08:00
Sara Itani d02253c9f6 fix base class logic 2017-03-06 15:34:43 -08:00
Sara Itani 1ff1b38ec2 fix subscript expression resolution 2017-03-06 14:21:36 -08:00
Sara Itani 4653f100a7 fix variableName symbol info, offsets in tests 2017-03-06 13:59:12 -08:00
Sara Itani d21e7e7008 Fix qualified name resolution 2017-03-06 11:07:05 -08:00
Sara Itani 1316761e5e fix scoped expression definition resolution 2017-03-06 11:01:10 -08:00
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