Goto function in script editor

Post any suggestions or enhancement requests about the Verj.io platform or this Forum

Moderators: Jon, Steve, Ian, Dave

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

Goto function in script editor

#1

Postby Steve James » Tue Sep 16, 2014 9:35 am

It would be great to have a goto option when editing large scripts.

A single click on the object highlights it within the rest of the script which is excellent but some sort of right click (CTRL +...) for a goto would be excellent.

The reverse would also be useful ie click on the function name and be able to find all situations where the function is called.

Thanks
0 x

HarryDeBoer
Ebase User
Posts: 118
Joined: Tue Oct 23, 2012 7:01 am
Location: The Netherlands

#2

Postby HarryDeBoer » Fri Sep 19, 2014 11:41 am

Hi Steve,

There is already a possibility to hold CTRL and hover with your mouse on a function name. Then you can click on the function to go there.
0 x
Kind regards,

Harry

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#3

Postby Steve James » Fri Sep 19, 2014 11:46 am

HarryDeBoer wrote:Hi Steve,

There is already a possibility to hold CTRL and hover with your mouse on a function name. Then you can click on the function to go there.
Well done Harry, thanks for that, slightly buried but useful non the less.
0 x

User avatar
dvanhussel
Ebase User
Posts: 161
Joined: Fri Oct 19, 2007 12:45 pm
Location: Haarlem, the Netherlands

Re: Goto function in script editor

#4

Postby dvanhussel » Fri Sep 19, 2014 4:53 pm

Steve James wrote:It would be great to have a goto option when editing large scripts.

A single click on the object highlights it within the rest of the script which is excellent but some sort of right click (CTRL +...) for a goto would be excellent.

The reverse would also be useful ie click on the function name and be able to find all situations where the function is called.

Thanks
This would be realy helpfull! Is this something that we can expect in V5?

What would even be nicer is: if you change the signature of a function, all places where an incorrect call is made to the function, is highlighted. But I think this is difficult due to the nature of JavaScript. Something like TypeScript (http://www.typescriptlang.org/) could be used to introduce typesafety to JS.

I'm just thinking oud loud :D
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#5

Postby Jon » Mon Sep 22, 2014 8:47 am

dvanhussel wrote:The reverse would also be useful ie click on the function name and be able to find all situations where the function is called. Is this something that we can expect in V5?
This is unlikely to be in the initial release of V5. Beyond that, we have plans to let you display references made from scripts e.g. to a field or table etc, and this could also include use of functions. So the answer is yes, but not initially.

For info, V5 includes an Outline View within the script editor, where you can see all functions and variables and navigate directly to them.
0 x

User avatar
dvanhussel
Ebase User
Posts: 161
Joined: Fri Oct 19, 2007 12:45 pm
Location: Haarlem, the Netherlands

#6

Postby dvanhussel » Mon Sep 22, 2014 5:39 pm

Jon wrote:
dvanhussel wrote:The reverse would also be useful ie click on the function name and be able to find all situations where the function is called. Is this something that we can expect in V5?
This is unlikely to be in the initial release of V5. Beyond that, we have plans to let you display references made from scripts e.g. to a field or table etc, and this could also include use of functions. So the answer is yes, but not initially.

For info, V5 includes an Outline View within the script editor, where you can see all functions and variables and navigate directly to them.
Hi Jon,

This feature looks very promising and useful. I'm really looking forward to V5!
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#7

Postby Segi » Wed Jan 28, 2015 3:05 pm

Jon,

Is there a general timeline when we can expect eBase 5 ?
0 x


Who is online

Users browsing this forum: No registered users and 5 guests