Skip to content

Feature Request: Jump with syntax aware  #118

@dreamfliper

Description

@dreamfliper

In flash.nvim, there is a Treesitter mode to jump.
In VSCdoe, there is LSP that can help to accomplish similar actions.
The following code will give you the current function name or property that is actually the detailed version of the breadcrumbs below the tab that the current VSCode provides.

vscode.commands
  .executeCommand<vscode.DocumentSymbol[]>(
    'vscode.executeDocumentSymbolProvider',
    vscode.window.activeTextEditor
  )
  .then(console.log)

I was going to add this feature myself, but since the source file is not opened yet, I hope this gets implemented soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions