简体   繁体   English

VSCode如何停止折叠代码的自动扩展

[英]VSCode how to stop automatic expanding of collapsed code

I keep running into an issue with VSCode where collapsed code expands when I start typing certain characters (ie "(", "{", "/*"). With very large code files, this is taking up a lot of time trying to collapse code again, when I am just trying to code new functions, comment out things, etc.我一直遇到 VSCode 的问题,当我开始输入某些字符(即“(”、“{”、“/*”)时,折叠的代码会扩展。对于非常大的代码文件,这会占用大量时间来尝试再次折叠代码,当我只是想编写新函数,注释掉东西等时。

Anyone know how to stop this?有谁知道如何阻止这个? I've looked into settings and can't see any that control this behavior.我查看了设置,看不到任何控制这种行为的方法。 Basically, I just wanna type code like it was 2000!基本上,我只想像 2000 年那样输入代码!

Cheers, Guy with long code files wasting minutes recollapsing code干杯,有长代码文件的家伙浪费了几分钟重新折叠代码

This is not configurable and sounds unexpected.这是不可配置的,听起来出乎意料。 Please file a bug report .请提交错误报告

This issue already tracks something similar这个问题已经追踪了类似的东西

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM