Configure the extension

The extension offers a number of configuration settings.

These can be configured by modifying the user or workspace settings or the settings.json file of VS Code.

Basic configurations

These configurations are the basic ones, which are used by the extension users.

ballerina.codeLens.all.enabledEnable CodeLens that appear in the editor view.
ballerina.enableConfigurableEditorEnable the configurable editor. This will open a form to set values for configurable variables in the code when you run the Ballerina code.
ballerina.enableNotebookDebugEnable the debug feature in Ballerina notebook files (.balnotebook).
ballerina.enablePerformanceForecastEnable the performance forecaster. This will show you the forecasted latency and other performance values for Ballerina services in the low-code diagram.
ballerina.enableSemanticHighlightingEnable semantic code highlighting.
ballerina.enableTelemetryEnable telemetry logging. This will send log data to the extension developers. This will help developers to improve the extension.
ballerina.experimentalEnable the experimental features of the Ballerina VS Code extension.
ballerina.homeSet the Ballerina installation location. ballerina.pluginDevMode must be enabled to use this.
ballerina.lowCodeModeEnable the Ballerina low-code mode. This will open the Diagram View by default for Ballerina codes. This will focus the Diagram View Explorer in the side menu when VS Code opens.
ballerina.pluginDevModeEnable the developer mode.

Advanced configurations

These configurations are related to the extension development process and not useful for the extension users.

ballerina.enableLanguageServerDebugEnable language server debugging.
ballerina.debugLogEnable the debug logs of the extension. This will print the extension debug logs to the Ballerina output channel in the VS Code output window.