code-folding Questions

6

Recently I discovered that the little arrow next to lines in vscode, that allows you to fold parts of the code, had disappeared. I then noticed this was the case only in my Python files. I scoped t...
Finbur asked 18/10, 2022 at 21:50

6

Solved

I used this way to get code folding in Netbeans: // <editor-fold defaultstate="collapsed" desc=" description"> .... // </editor-fold> and Visual Studio: #region des...
Dooryard asked 22/11, 2012 at 3:15

8

Solved

Is there something similar to explicit code regions for folding in Qt Creator: #pragma region Region_1 void Test() {} void Test2() {} void Test3() {} #pragma endregion Region_1 I can see folding...
Quinlan asked 2/7, 2012 at 14:7

7

Solved

How to collapse all methods in a class in Xcode? Collapsing one by one is not an option anymore.
Ormond asked 14/5, 2010 at 13:49

2

How do I make vscode editor show the closing braces of a folded code snippet The image above represents what I have in my editor. However, I want to be able to see the closing braces. Thanks in ad...
Ruggiero asked 10/10, 2020 at 18:59

2

I love folding my code in visual studio code, but I wish I could still see my comment blocks with multiple lines. I use them for my functions and classes. Is there a way to achive this? For exampl...
Metamorphose asked 3/10, 2019 at 9:24

3

Solved

I have seen this question but if I apply the Ctrl+Shift+- shortcut it collapses everything including class, method, doc, if/try-catch/foreach etc. Basically every block within curly braces are fold...
Embolectomy asked 11/11, 2015 at 12:19

3

Solved

I am coming from a VScode background , and for my recent project (on Deep Learning) I am having to manage huge code files in Spyder (Version 3), and I am not seeing any option of code folding? I a...
Heliogravure asked 18/9, 2018 at 6:53

1

I know python does not formally support any built in regional code folding syntax. I do know that a few syntaxes exist out in the wild with conventions tied to specific editors and particular comme...
Rawdin asked 4/9, 2019 at 17:0

9

Solved

Does Xcode support anything akin to Visual Studio style #region directives for arbitrary code folding?
Briant asked 13/11, 2008 at 22:4

4

Solved

How to enable the code folding bar next to the line numbers? I googled "code folding Mac"; it's all about triggering code folding and unfolding, but nothing about enabling the bar. I have tried u...
Aleurone asked 9/6, 2015 at 21:31

4

I've recently been editing files with a lot of long comments. I find myself folding lots of them manually, is there a way to fold all of these at once, using some kind of menu entry or keyboard sho...
Alitta asked 14/2, 2016 at 14:25

5

I know we can use "Shift + Alt + Cmd + Left" to fold/collapse swift code in Xcode, but can anyone tell me how to fold/collapse for functions only? Not properties? Or any alternative way? The defau...
Sexy asked 27/10, 2016 at 13:34

3

Solved

I have a Scala app built with Lift framework. It has a few .conf files. When I open those .conf files in my IntelliJ IDEA Ultimate Fancy Pants Edition, I do not see any buttons to fold those curly ...
Confucian asked 20/6, 2017 at 1:20

14

Solved

What's the best way to achieve something like code folding, or the type of cycling that org-mode uses. What would be the best solution in elisp to create this type of behavior? EDIT: I'm sorry I wa...
Settling asked 6/7, 2009 at 2:29

3

Solved

The Code folding option in RMarkdown for html documents is awesome. That option makes the programmatic methodology transparent for those who are interested, without forcing the audience to scroll t...
Bifrost asked 27/7, 2017 at 21:5

1

Solved

I've tried to use code regions https://www.jetbrains.com/help/pycharm-edu/code-folding.html#surrounding_with_comments , folded some regions and restarted PyCharm. When IDE has been restarted, all ...
Eiderdown asked 26/10, 2019 at 16:11

6

Solved

Can't find one under Xcode ▶ Preferences/Text Editing ▶ "Code Folding Ribbon" box.
Bifrost asked 7/6, 2017 at 1:11

3

Solved

I know code folding was missing in the early Beta's of Xcode9 and that it is available to fold entire methods with CMD click. But in Xcode 8 i was able to fold code in blocks (i.e. individu...
Stavro asked 24/9, 2017 at 6:27

4

Solved

Code folding doesn't work with key binding Shift + Alt + Cmd + <- left in Xcode 9. Is anyone having same problem with Xcode 9?
Bootlick asked 7/7, 2017 at 19:20

2

Solved

Is anyone having problem with code folding in Xcode 8? Every time I fold GameScene.swift (or any other file), switch to, for example, AppDelegate.swift, and switch back to GameScene.swift (which we...
Mayhap asked 25/9, 2016 at 15:42

7

Solved

Is there a way to tell XCode fold methods/functions by default when opening a file?
Pleasing asked 2/3, 2010 at 15:56

2

I'm testing on OS X. I've got a source file that's heavy with preprocessor macros and tests. I'm trying to collapse the code so I can determine why a particular symbol is not being defined. Accord...
Appling asked 22/9, 2015 at 5:24

1

I am working with some third-party code that has a lot of conditional macros. Visual Studio is quite good at detecting the inactive code, i.e. code wrapped in #if...#endif that won't be compiled an...

2

Solved

Every time I open a Python file PyCharm will hide all imports and shows: import ... within the editor. I have to manually unfold it to see the imports. Where do I find the setting to undo auto-...
Hexa asked 5/8, 2014 at 9:24

© 2022 - 2024 — McMap. All rights reserved.