| Version 1 (modified by , 4 years ago) ( diff ) |
|---|
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": "}}}"
}
}
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)