Configurations

The Ballerina extension provides a set of configurations to allow customizations as per your preferences.

Code Lens - All: Enabled

It enables all code lens features irrespective of the Code Lens - Docs: Enabled and Code Lens - Executor: Enabled settings and is enabled by default.

Code Lens - Docs: Enabled

It enables the Documentation code lens feature, which provides Ballerina document generation capabilities and is enabled by default. This configuration is overridden by the Code Lens - All: Enabled setting.

Code Lens - Executor: Enabled

It enables the Executor code lens feature, which provides quick run and debug capabilities for the Ballerina language. It is enabled by default. This configuration is overridden by the Code Lens - All: Enabled setting.

Tip: The Debug code lens honors the debug.saveBeforeStart setting of the VS Code editor.

Data Mapper: Enabled

It enables the Data Mapper code actions and is disabled by default.

Data Mapper: Url

It specifies the URL of the data mapping service backend.

Debug Log

It enables printing debug messages on to the Ballerina output channel and is disabled by default. These debug logs mainly include additional logs added for troubleshooting the extension.

Debug Log

Enable File Watcher

It enables watching file change events of the Ballerina project and is enabled by default.

Enable Telemetry

It enables the Ballerina telemetry service and is enabled by default.

Tip: This honors the telemetry.enableTelemetry setting of the VS Code editor.

Home

It specifies the Ballerina home directory path and is only applicable if the Plugin - Dev: Mod setting is enabled.

Tip: Enclose the parts of the path on Windows with quotations if it includes spaces. E.g., C:\"Program Files"\Ballerina

Plugin - Dev: Mod

It enables the plugin development mode and is disabled by default. If it is disabled, the extension picks up the Ballerina runtime installed in the environment. Also, if it is enabled, the extension picks up the Ballerina runtime defined in the Home configuration.

Trace Log

It enables printing trace messages onto the Ballerina output channel and is disabled by default. These trace logs mainly include the details of the requests sent from the extension to the Ballerina Language Server.

Trace Log