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
Step 1
Find the ”Explicit Folding” extension in the extension marketplace and install it.
Step 2
This is also mentioned in the description of the extension, but to summarize:
- Go into settings
- search for the setting “showFoldingControls”
- set it to “always” if it is not already
- Then check “foldingStrategy” is not as defined “indentation”.
Step 3
Search for “explicitFolding.rules” and press “Edit in settings.json” or simply open your settings.json and add:
"explicitFolding.rules": { "*": { "begin": "{{{", "end": "}}}" } }
Last modified
3 years ago
Last modified on 03/07/22 09:18:26
Note:
See TracWiki
for help on using the wiki.