Skip to content

Configuration

Si Dunford edited this page Nov 12, 2021 · 5 revisions

When the Blitzmax Language Server starts, it looks for a local file in the same folder called bls.conf and if it exists it will load it.

The file is stored in JSON format. Settings defined in this file are overwritten by command line arguments and are not synchronised between devices.

How to configure the settings

Edit your bls.config and add the sections and options as a JSON formatted string. For example, if the section "linter" has an option called "keywords", you can set it to 1 with the following:

{
  "linter":{
    "keywords":1
  {
}

Configuration options

"overview" section

OPTION DEFAULT DETAIL
ast false set to "true" to enable AST (-ast)
eol false set to "true" to show EOL node in AST (-eol)

"linter" section

These settings should be located within the "linter" section of your bls.conf file.

⚠️ NONE OF THESE OPTIONS ARE CURRENTLY OPERATIONAL

OPTION DEFAULT DETAIL
n/a