Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

## develop

Features:

- [reference-finder] Goto type: goto the type of the symbol under the cursor #892 - @dantleech

## 2020-03-04 0.14.1

Bug fixes:
Expand Down
8 changes: 8 additions & 0 deletions autoload/phpactor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,14 @@ function! phpactor#GotoDefinitionTab()
call phpactor#_GotoDefinitionTarget('new_tab')
endfunction

function! phpactor#GotoType()
call phpactor#rpc('goto_type', {
\'offset': phpactor#_offset(),
\'source': phpactor#_source(),
\'path': expand('%:p'),
\'language': &filetype})
endfunction

function! phpactor#Hover()
call phpactor#rpc("hover", { "offset": phpactor#_offset(), "source": phpactor#_source() })
endfunction
Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "phpactor/phpactor",
"description": "PHP refactoring and intellisense tool for text editors",
"minimum-stability": "stable",
"minimum-stability": "dev",
"license": "MIT",
"require": {
"composer/xdebug-handler": "^1.1",
Expand Down Expand Up @@ -29,20 +29,21 @@
"phpactor/file-path-resolver": "^0.8.2",
"phpactor/logging-extension": "^0.3.2",
"phpactor/path-finder": "^0.1.0",
"phpactor/reference-finder-rpc-extension": "^0.1.3",
"phpactor/reference-finder-extension": "^0.1.3",
"phpactor/reference-finder": "^0.1.2",
"phpactor/reference-finder-rpc-extension": "^0.1.4",
"phpactor/reference-finder-extension": "^0.1.4",
"phpactor/reference-finder": "^0.1.3",
"phpactor/rpc-extension": "^0.2.1",
"phpactor/source-code-filesystem": "^0.1.4",
"phpactor/source-code-filesystem-extension": "^0.1.3",
"phpactor/text-document": "^1.2.0",
"phpactor/worse-reference-finder-extension": "^0.1.1",
"phpactor/worse-reference-finders": "^0.2.2",
"phpactor/worse-reference-finder-extension": "^0.1.2",
"phpactor/worse-reference-finders": "^0.2.3",
"phpactor/worse-reflection": "^0.4.0",
"phpactor/worse-reflection-extension": "^0.2.2",
"sebastian/diff": "^3.0",
"symfony/filesystem": "^3.3|^4.2|^5.0",
"symfony/yaml": "^3.3",
"symfony/console": "^4.0",
"webmozart/glob": "^4.1"
},
"require-dev": {
Expand Down
Loading