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

Add Document Symbol Provider sample #307

Open
dhonx opened this issue May 22, 2020 · 3 comments
Open

Add Document Symbol Provider sample #307

dhonx opened this issue May 22, 2020 · 3 comments
Assignees

Comments

@dhonx
Copy link

dhonx commented May 22, 2020

This is a forgotten one but is very necessary to help extension developers.

@dhonx dhonx changed the title Add Document Symbol Provide sample Add Document Symbol Provider sample May 22, 2020
@franck44
Copy link

franck44 commented Jun 9, 2020

Thanks @dhonx @jrieken
I can confirm that it would be very nice to have an example.
I have tried to use the DocumentSymbol type but to no avail.
Using the old SymbolInformation worked well but of course lacks hierarchy.

There are a few resources on the topic including this one but it did not work for me (and I did not manage to debug it even by logging extra info in the console).

@coolcorexix
Copy link

coolcorexix commented Jul 31, 2022

I need this sample very badly too. the vscode.executeDocumentSymbolProvider currently do not work as I expected :(

the error I am having: microsoft/vscode#156738

@deanmaster
Copy link

hi all, is there any chance we have this example please :( I need this for hightlighting our own keyword. thanks a lot

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

5 participants