Changes between Initial Version and Version 1 of vscodingtips


Ignore:
Timestamp:
03/07/22 09:18:26 (2 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vscodingtips

    v1 v1  
     1ISSM uses code folding using vim markers throughout the code. Here are the steps to allow for code folding using VS Code if you don't want to use vim
     2
     3= Step 1 =
     4Find the ”Explicit Folding” extension in the extension marketplace and install it.
     5
     6= Step 2 =
     7This is also mentioned in the description of the extension, but to summarize:
     8 * Go into settings
     9 * search for the setting “showFoldingControls”
     10 * set it to “always” if it is not already
     11 * Then check “foldingStrategy” is not as defined “indentation”.
     12
     13= Step 3 =
     14Search for “explicitFolding.rules” and press “Edit in settings.json” or simply open your settings.json and add:
     15
     16{{{
     17"explicitFolding.rules": {
     18        "*": {
     19            "begin": "{{{",
     20            "end": "}}}"
     21        }
     22    }
     23
     24}}}
     25