metaGo icon indicating copy to clipboard operation
metaGo copied to clipboard

Feature Request: Jump with syntax aware

Open dreamfliper opened this issue 8 months ago • 0 comments

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.

dreamfliper avatar May 27 '24 08:05 dreamfliper