HvyIndustries / crane

PHP Intellisense/code-completion for VS Code
https://hvy.io/crane
Other
240 stars 25 forks source link

Go to definition Provider #4

Open nevadascout opened 8 years ago

nevadascout commented 8 years ago

When pressing F12 on a symbol, the editor should navigate to it's definition.

Build a symbol cache from the treebuilder with the symbol and it's filepath, line and character number for quick access.

Triggered by

Need to ensure that class inheritance/structure is followed

TheColorRed commented 8 years ago

In other vscode languages Ctrl+Click will also do the same thing, this should be supported too.

nevadascout commented 8 years ago

Updated main issue to add Ctrl + click

TheColorRed commented 8 years ago

I have created a PR that kicks this off, F12 and Ctrl+Click are built into the Definition Provider.

TheColorRed commented 8 years ago

This is in PR #115