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

Get folded ranges #197717

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Get folded ranges #197717

wants to merge 2 commits into from

Conversation

omri123
Copy link

@omri123 omri123 commented Nov 8, 2023

I am writing an AI coding assistant extension. In order to sync the assistant world view with the user world view, I would like to know what lines are folded.

I suggest to expose the folded lines of the editor in focus. Does it sound like a desireable api?
I am adding a draft implementation
Thanks
Omri

Related issues:
#36638
#82980

@omri123
Copy link
Author

omri123 commented Nov 8, 2023

@microsoft-github-policy-service agree

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

Successfully merging this pull request may close these issues.

2 participants