question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adopt improved DocumentSymbolProvider API

See original GitHub issue

With the 1.25 release we have finalised the API for the outline tree. A DocumentSymbolProvider should now return document symbols which can represent a hierarchy and that can differentiate between the full range of a symbol and the selection range, e.g. the name of a function.

Note that we synthesise trees using range-containment when a provider returns SymbolInformation-objects and that that isn’t perfect. Adopting the new API makes the outline more robust and support features like follow-cursor and diagnostics association.

Let me know if need more information is needed. Happy Coding!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jriekencommented, Sep 10, 2018

Yeah, there is currently a backwards compatibility challenge. It’s tracked here and will be tackled this month: https://github.com/Microsoft/vscode/issues/57984

0reactions
jriekencommented, Sep 17, 2018

Yes, you need to populate the children

Read more comments on GitHub >

github_iconTop Results From Across the Web

Language Server Protocol Specification - 3.17
This document describes the 3.17.x version of the language server protocol. An implementation for node of the 3.17.x version of the protocol can...
Read more >
5 Ways to Increase API Adoption | ProgrammableWeb
A look at five strategies used to increase API adoption. These are based on principles of marketing, sales, customer service and brand ...
Read more >
monaco-editor | Yarn - Package Manager
The Monaco Editor is the code editor which powers VS Code, with the features better described here. Please note that this repository contains...
Read more >
CHANGELOG.md - code room
Various editor improvements, such as an option to `renderFinalNewline`, ... resolveCompletionItem` have been modified to better reflect the API of VS Code.
Read more >
VS Code API | Visual Studio Code Extension API
Visual Studio Code extensions (plug-in) API Reference. ... DocumentSelector, provider: DocumentSymbolProvider, metaData?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found