microsoft / microsoft/VSExtensibility
Feature request: Text Editor: Collapse/Expand ranges
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 440
- Forks
- 63
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Is there any way to respond to collapsing/expanding ranges in the textview?
In the old model I was able to do this using the IOutliningManagerService...
I am working on rewriting my CodeNav extension which displays a toolwindow similar to document outline, but way better ;)
The list of syntax nodes should respond to users collapsing and expanding classes and regions for example.
The other way should also work collapsing a namespace in the CodeNav list should collapse the same namespace in the textview.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating the textview outlining extensibility and the referenced IOutliningManagerService. Determine how CodeNav can observe collapsing and expanding classes or regions, and how its list could request matching changes in the textview. Done means both directions are supported for the requested ranges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100