Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A go-to-implementation Function in the Code Editor #5103

Closed
Alfagun74 opened this issue Aug 17, 2020 · 3 comments
Closed

A go-to-implementation Function in the Code Editor #5103

Alfagun74 opened this issue Aug 17, 2020 · 3 comments
Labels
editor Issues related to the Defold editor feature request A suggestion for a new feature text-editor An issue related to the text/code editor

Comments

@Alfagun74
Copy link

Alfagun74 commented Aug 17, 2020

Is your feature request related to a problem? Please describe (REQUIRED):
I'm always frustrated when i have to search (CTRL+F) for a function implementation instead of just CTRL+Clicking on a function call and jumping to it. It feels more like i am using a Text-Editor instead of an IDE.

Describe the solution you'd like (REQUIRED):
CTRL+Click on a Function Call jumps to the implementation in the Editor.

@Alfagun74 Alfagun74 added the feature request A suggestion for a new feature label Aug 17, 2020
@Alfagun74
Copy link
Author

Idk if this is technically possible due to LUA. I might be ambitious.

@britzl britzl added the editor Issues related to the Defold editor label Aug 17, 2020
@Sublustris
Copy link

This is the only feature i missing a lot in the Editor :(

@AGulev AGulev added the text-editor An issue related to the text/code editor label May 18, 2022
vlaaad added a commit that referenced this issue May 29, 2023
User-facing changes: editor now uses running LSP servers for going to definitions of code files. The action is bound to <kbd>F12</kbd> shortcut. You need [Lua language server](https://github.com/defold/lua-language-server) running by the editor for this feature to work.

Fixes #5103
vlaaad added a commit that referenced this issue May 29, 2023
User-facing changes: editor now uses running LSP servers for going to definitions of code files. The action is bound to <kbd>F12</kbd> shortcut. You need [Lua language server](https://github.com/defold/lua-language-server) running by the editor for this feature to work.

Fixes #5103
vlaaad added a commit that referenced this issue May 29, 2023
User-facing changes: editor now uses running LSP servers for going to definitions of code files. The action is bound to <kbd>F12</kbd> shortcut. You need [Lua language server](https://github.com/defold/lua-language-server) running by the editor for this feature to work.

Fixes #5103
vlaaad added a commit that referenced this issue May 29, 2023
* Implement Goto Definition using LSP

User-facing changes: editor now uses running LSP servers for going to definitions of code files. The action is bound to <kbd>F12</kbd> shortcut. You need [Lua language server](https://github.com/defold/lua-language-server) running by the editor for this feature to work.

Fixes #5103

* Review fixes
@vlaaad
Copy link
Contributor

vlaaad commented May 29, 2023

Done using LSP.

See Lua language server details: https://forum.defold.com/t/linting-in-the-code-editor/72465

The shortcut is F12

@vlaaad vlaaad closed this as completed May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Issues related to the Defold editor feature request A suggestion for a new feature text-editor An issue related to the text/code editor
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants