I want to konw if sublime text can do something like function lookup in eclipse or intellij idea.
The SublimeText package CTags gives you access to the feature of the Exuberant CTags tool (multi language index builder and browser). Seems to work for version 2 and 3.
In Sublime Text 3 there are the following built-in options:
- Ctrl+Shift+R to go to a symbol (function, class etc.)
- F12 to go to a definition of what's under the cursor
- Shift+F12 to go to a reference of what's under the cursor
These are all available under the "Goto" menu which also show the keyboard shortcuts which may be different depending on your OS and settings.
Where there are multiple options for where to go, Sublime will present a filterable list of choices with the usual preview options as you move through the choices.
The SublimeText package CTags gives you access to the feature of the Exuberant CTags tool (multi language index builder and browser). Seems to work for version 2 and 3.
There is a plugin called Goto Usage https://packagecontrol.io/packages/Goto%20Usage
A "find" solution might be of help.
1) Make the word at the cursor as the active word
CMD + E
2a) Find next such word in the current file
SHIFT + CMD + G
2b) Highlight ALL such words in the current file
SHIFT + CMD + G
Replace CMD with CTRL in windows
© 2022 - 2024 — McMap. All rights reserved.