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

Option to disable automatic expansion of folded code, and expand on keypress. #98071

Closed
yunti opened this issue May 18, 2020 · 5 comments
Closed
Assignees
Labels
editor-folding Editor code folding issues info-needed Issue requires more information from poster

Comments

@yunti
Copy link

yunti commented May 18, 2020

Currently with code folding, the code will automatically expand if the cursor passes onto a folded section, rather than the code actively being expanded with eg a key press.

The current behaviour makes it very hard to navigate around a file with folded sections, as the editor is constantly trying to open this up automatically.
There doesn't apppear to be an option currently to turn off automatic expansion of folded code.

(Note the default in intellij,webstorm,pycharm etc.. is to expand code actively ie on key press, this makes it significantly easier to navigate around files with folded code).

@aeschli
Copy link
Contributor

aeschli commented May 18, 2020

How do you you navigate around? Cursor down jumps over the folded regions.

@aeschli aeschli added info-needed Issue requires more information from poster editor-folding Editor code folding issues labels May 18, 2020
@yunti
Copy link
Author

yunti commented May 19, 2020

Thanks, I navigate around with the vim plugin and the usual hjkl keys.

@yunti
Copy link
Author

yunti commented May 19, 2020

Seems to be an issue with the vim plugin and code folding when I test it.

Shall I raise an issue in the vim plugin directly?

@yunti
Copy link
Author

yunti commented May 19, 2020

Looks like it's this issue. VSCodeVim/Vim#1004
you can close thanks.

@aeschli aeschli closed this as completed May 20, 2020
@aeschli
Copy link
Contributor

aeschli commented May 20, 2020

Thanks for finding the duplicate!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-folding Editor code folding issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants