You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main advantage is if there are multiple definitions. And also compared a workspace search where we find all the occurrences so lots of other contexts, we don't jump directly to definitions.
The text was updated successfully, but these errors were encountered:
I removed the browser.go_back code that was confusing the discussion. If you can re-read what I asked for, hopefully it makes sense. It is about going from ctx.go_back() to mod.go_back()
Another example is for a Talon defined action app.tab_previous so going from
@ctx.action_class("app")
class AppActions:
# Switch to previous tab for this window
def tab_previous():
actions.key("ctrl-shift-tab")
to C:\Program Files\Talon\Lib\site-packages\talon\scripting\core\app.pyi:
class AppActions:
...
def tab_previous() -> None: ...
That is more like references then go to definition, but I get it.
Your last example is probably not going to happen since I'm not reading any files outside of the user workspace. This would involve actually building a proper lsp instead of the on demand regex solution I have now.
hover or go definition of a user defined action defined in a context to jump to a definition in a module
for instance for
go_back
:we would find all the definitions and find this:
The main advantage is if there are multiple definitions. And also compared a workspace search where we find all the occurrences so lots of other contexts, we don't jump directly to definitions.
The text was updated successfully, but these errors were encountered: