-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
[folding] Optionally fold chained method calls #6991
Comments
Yes, this would need language awareness. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For frameworks that expose a fluent API (ex: d3.js), it is common to chain method calls on separate lines. Example here:
Currently, the vscode
editor.foldAll
command folds these chained method calls and hides everything except the first lined3.select(".chart")...
. It would be nice to optionally enable/disable this functionality based on your use case. (In my case, I would disable it by default for all languages.)Likely related to folding not being language aware: #3422
The text was updated successfully, but these errors were encountered: