@@ -14,7 +14,7 @@ pip install mbake
1414
1515### 2. Configuration
1616
17- Your configuration file is located at ` ~/. bake.toml` . It contains sensible defaults for Makefile formatting:
17+ Your configuration file is located at ` {XDG_CONFIG_HOME}/ bake.toml` . It contains sensible defaults for Makefile formatting:
1818
1919``` toml
2020# Global settings
@@ -158,7 +158,7 @@ Once installed, the extension provides:
158158Access these settings through VS Code preferences (` Cmd/Ctrl + , ` ) and search for "bake":
159159
160160- ** ` bake.executablePath ` ** : Path to bake executable (default: ` "bake" ` )
161- - ** ` bake.configPath ` ** : Path to config file (default: uses ` ~/. bake.toml` )
161+ - ** ` bake.configPath ` ** : Path to config file (default: uses ` {XDG_CONFIG_HOME}/ bake.toml` )
162162- ** ` bake.formatOnSave ` ** : Auto-format on save (default: ` false ` )
163163- ** ` bake.showDiff ` ** : Show diff when formatting (default: ` false ` )
164164- ** ` bake.verbose ` ** : Enable verbose output (default: ` false ` )
@@ -232,12 +232,12 @@ bake_fmt/
232232│ └── plugins/ # Formatting rule plugins
233233├── tests/ # Test suite
234234├── vscode-bake-extension/ # VS Code extension
235- │ ├── package.json # Extension manifest
236- │ ├── extension.js # Extension logic
237- │ └── README.md # Extension documentation
238- ├── pyproject.toml # Python package configuration
239- ├── .bake.toml.example # Example configuration
240- └── ~/. bake.toml # Your configuration file
235+ │ ├── package.json # Extension manifest
236+ │ ├── extension.js # Extension logic
237+ │ └── README.md # Extension documentation
238+ ├── pyproject.toml # Python package configuration
239+ ├── .bake.toml.example # Example configuration
240+ └── {XDG_CONFIG_HOME}/ bake.toml # Your configuration file
241241```
242242
243243## 🚀 Quick Start Examples
@@ -289,8 +289,9 @@ Now every time you save a Makefile, it's automatically formatted!
289289
290290** Configuration errors:**
291291
292- - Ensure ` ~/.bake.toml ` exists and is valid TOML
293- - Use the provided example: ` cp .bake.toml.example ~/.bake.toml `
292+ - Ensure ` {XDG_CONFIG_HOME}/bake.toml ` exists and is valid TOML
293+ - Use the provided example: ` cp .bake.toml.example ${XDG_CONFIG_HOME}/bake.toml `
294+ or ` cp .bake.toml.example ~/.config/bake.toml `
294295
295296### VS Code Extension Issues
296297
0 commit comments