Goto definition of function *solved* |
|
Is there to quickly jump to the definition of a function from the line where it's being called?
Like: |
||||||||||||
|
Site Admin
|
|
||||||||||||
|
Site Admin
|
If for example you typed $somevar->somemethod(|) and cursor is in the location denoted with "|" symbol, you may move cursor on the left so it appears just before opening bracket, and press Ctrl-Space. In the shown dropdown you'd see this method and green right arrow [->] in the status bar below. Click on this arrow to navigate to the definition. You may want to select Browse Back (Alt-Up) to return back.
I know it's not so strightforward. We're working on this issue. |
||||||||||||
|
|
Yeah sorry, I was referring to jumping to the definition of a function call that already exists in the document as HotShot described - not at the time of code completion.
There needs to be a right-click path to the definition as in Visual Studio. The other way is too clunky... This is my biggest complaint about phpEd right now =) |
||||||||||||
|
Site Admin
|
4044 already has Find Declaration for classes, methods, properties, local and global variables and finally constants.
The only remaining thing to be done is ability to jump over with mouse click while Ctrl is pressed. I think it won't take long. |
||||||||||||
|
Veteran
|
Is build 4044 already available for customers?
|
||||||||||||
|
Site Admin
|
This feature is available in v 4.0.1 (build 4048) which is publicly available right now
|
||||||||||||
|
Veteran
|
in my build (4048) usgin "Find declaration" the cursor very often goes 3,4 lines before the funcion definition (often inside the code of the previous function, other times on blank lines other times at the beginning of the phpdoc comment)
is there a way to a have a "Find references" like eclipse does for java? |
||||||||||||
|
Goto definition of function *solved* |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by