1
0
Fork 0
Commit Graph

14 Commits (08a705fe8e707003080e88f469dcfc3381b20fe7)

Author SHA1 Message Date
Felix Becker 08a705fe8e Extend global definition/references tests 2016-10-12 00:53:39 +02:00
Felix Becker 214495a473 Add more tests 2016-10-12 00:53:38 +02:00
Felix Becker ccfbf9c8f2 Add support for getting references of variables 2016-10-12 00:53:38 +02:00
Felix Becker a5f8e86095 Add more tests 2016-10-12 00:53:38 +02:00
Felix Becker ff66548b5d Add separate tests for global definitions 2016-10-12 00:53:38 +02:00
Felix Becker a92d25535a Add support for find all references 2016-10-12 00:53:38 +02:00
Felix Becker 15e004fb9b Only hold AST for open files in memory (#63)
* Only hold content for open files in memory

* Add test for didClose

* Remove invalid URI formatting test

* Don't keep AST in memory

* Fix symbol search crash

* Change Project map to FQN => URI

Removes PhpDocument::load(), isLoaded(), unload()

* Add docblocks

* Rename some functions

* Extend documentation

* Correct docblock
2016-10-11 14:42:56 +02:00
Kaloyan Raev d41cde2039 Return empty array instead of null for empty definitions result (#64) 2016-10-11 10:26:46 +02:00
Kaloyan Raev 1f808c59e1 Fixes #59: Handle correctly negative endLine in PHP Parser errors (#62)
* Fixes #59: Handle correctly negative endLine in PHP Parser errors

* Clearer $startLine calculation

* Add missing test file

* Better calculation of endLine

* Remove trailing spaces
2016-10-11 10:15:20 +02:00
Michal Niewrzal e75c1592fc Use PHP_CodeSniffer as a formatter (#35)
Also adds uriTopath util function
2016-10-10 15:06:02 +02:00
Felix Becker 7322a6c658 Add fromNode() factories and correct columns 2016-10-09 15:58:39 +02:00
Felix Becker 6be53ad658 Use DefinitionCollector for symbol requests 2016-10-09 15:58:39 +02:00
Felix Becker d4757e0a24 Add textDocument/definition support 2016-10-09 15:58:39 +02:00
Felix Becker 987308fc0a Refactor TextDocument tests into separate classes 2016-10-09 15:51:42 +02:00