0

Collapse code block shortcut relevant to the cursors position

Tim il y a 8 ans 0

It would be good if the "Cmd+k+<number>" shortcut would be relevant to the depth position of the cursor. So for example on a file with 7 indented code blocks, if the shortcut was used from within the first level of code blocks with <number> as "1" then it would close the first level of code blocks within that block instead of closing all the adjacent blocks elsewhere in the file.


I think this could save some time from counting the indentation level when you open a file with a lot of indented blocks