| 1 | ISSM 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 = |
| 4 | Find the ”Explicit Folding” extension in the extension marketplace and install it. |
| 5 | |
| 6 | = Step 2 = |
| 7 | This 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 = |
| 14 | Search 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 | |