Format on Save
formatting
productivity
FOformatter
Description
Automatically format your code when you save a file. Works with various languages and respects your project's formatting settings.
json
{
"rules": [
{
"name": "Format on Save",
"pattern": ".*",
"commands": [
{
"title": "Format Document",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly && editorHasDocumentFormattingProvider"
}
]
}
]
}
About the Author
FO
formatter
Rule Creator
Related Rules
Auto Import
Automatically imports modules when referenced in your code. This rule detects undefined variables and tries to find matching imports from your project or installed packages.
productivity
imports
typescript
Git Commit Templates
Standardized git commit message templates following conventional commits specification. Helps maintain consistent commit history.
git
workflow
productivity
Code Folding
Smart code folding rules to help organize and navigate large files. Automatically folds code sections for better readability.
editor
productivity
navigation