-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[change] new foldingStrategy behaviour #7541
Comments
foldingStrategy
behaviour
@daiyam thank you for the issue! A couple of discussion points:
|
@vince-fugnitto thx for the answer.
|
Theia is a framework for building IDE-like applications, while VS Code is a product so it is possible for application developers to customize their applications to suit their needs. In the framework we attempt to make things highly customizable and extensible meaning that any feature or behavior present can in theory be overridden/extended. In the case of the folding regions, we might rely directly on the behavior from the monaco editor and I am unsure at the moment how one can update it easily. Perhaps @akosyakov you might have some ideas? |
@vince-fugnitto Yes, it can be changed only in the upstream. |
|
just noticed today that it was merged upstream at microsoft/vscode#157434 |
Description
I would like to change how the folding ranges are provided.
VSCode behaviour
The editor is using the folding ranges provided:
editor.foldingStrategy
(auto
orindentation
)Expected behaviour
The editor is using the folding ranges provided:
editor.foldingStrategy
(auto
orindentation
)id
is the value of the settingeditor.foldingStrategy
I already have a patch to change that behaviour in VSCode and the extension Explicit Folding which support the old and new behaviours.
Do you think it is a reasonable change and can be included in a future version of theia? Thx
The text was updated successfully, but these errors were encountered: