Skip to content

feature request: jump to definition for user action (ctx -> module) #8

@saidelike

Description

@saidelike

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:

@ctx.action_class("user")
class UserActions:
    def go_back():
        //...

    def go_forward():
        //...

we would find all the definitions and find this:

@mod.action_class
class Actions:
    def go_back():
        """Navigate back"""
        actions.key("alt-left")

    def go_forward():
        """Navigate forward"""
        actions.key("alt-right")

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions