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

Feature Request: Jump with syntax aware #118

Open
dreamfliper opened this issue May 27, 2024 · 0 comments
Open

Feature Request: Jump with syntax aware #118

dreamfliper opened this issue May 27, 2024 · 0 comments

Comments

@dreamfliper
Copy link

dreamfliper commented May 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant