Keyboard shortcut to go to function declaration

I use a lot of Jetbrains ides and one thing I love is using ctrl-b to go into a function declaration. Does something like this exist for defold? I looked through the keybindings and didn’t see it. if not, I’d like to put in this as a request.

1 Like

No, I’m afraid not. The current Lua code editor is far from perfect and it’s actually a hard problem to solve due to the dynamic nature of Lua. It is probably possible to do a best guess when it comes to function declarations that works correctly 90& of the time though. I know that LDT does this fairly well.

@Erik_Angelin is this something that we’re planning to do for the new editor?

1 Like

It’s now on our list of want-to-have’s (DEFEDIT-388) but we have quite a few more serious issues to deal with first :slight_smile:
@raul.carolus - Thanks for the request.

2 Likes

No problem. I’m entirely thrilled with defold and just want to make it better. And yes, obviously issues need to be taken care of first. No sense in putting in fancy leather seats in a car that explodes when you try to start it.

4 Likes