Code formatting
The extension provides code formatting for BrightScript and BrighterScript files. If you don't like the default formatter settings, you can customize them in several ways:
Update your user or workspace settings with various
brightscript.format.*options (see the extension settings page for more info).Create a
bsfmt.jsonfile at the root of your project. See all of the availablebsfmt.jsonoptions here.Use the
brightscript.format.bsfmtPathsetting to specify a custom path to your bsfmt.json file. This can be an absolute path, or a path relative to the workspace folder. This is useful when you want to share a common formatting config file across multiple projects or have it in a non-standard location.