Home > other >  Can I view only a specific part of code and make the rest disappear?
Can I view only a specific part of code and make the rest disappear?

Time:09-07

I'm using IntelliJ and VSCode and i'm wondering if there is a way to mark a part of the code and the tool will only display and focus on that code and will make the rest disappear. This will help to get rid of clutter code that i'm not interested in.

CodePudding user response:

You can point the cursor over the code block you want to focus on, press Ctrl Shift NumPad - to collapse all code blocks and press Ctrl NumPad - to expand the selected one. See Write and edit source code | Code Folding for more information.

In addition you can consider using Distraction Free Mode.

  • Related