The Ballerina extension for Visual Studio CodeThe Ballerina extension for Visual Studio Code provides a set of rich language features along with an enhanced user experience. It offers easy development, execution, debugging, and testing for the Ballerina programming language. The Ballerina language possesses a bidirectional mapping between its syntaxes and the visual representation. You can visualize the graphical representation of your Ballerina source further via the extension. ![]() Quick startFollow the steps below to get the Ballerina VS Code extension up and running. FeaturesThe main functionalities of the extension are listed below. Code editingUse the following features of this extension to edit Ballerina code via the VS Code extension. Visual programmingThe VS Code extension allows you to visualize a program written in Ballerina as a graphical representation of the code. This graphical view displays the logic and network interaction of a function or a service resource, which makes it easy to understand the source. Debugging capabilitiesUse the following features to debug your Ballerina programs via the VS Code extension.
NotebooksUse the following features to work with Ballerina notebooks via the VS Code extension. Configure the extensionYou can configure the Ballerina VS Code extension to get a custom user experience. For more details, see Configure the extension. TroubleshootFor troubleshooting, see the Ballerina output. To view the Ballerina output tab, click View, click Output, and select Ballerina from the output list. It provides additional information if the plugin fails to detect a Ballerina distribution. You can also enable the debug logs from the Ballerina extension settings to view any issues arising from the extension features. DocumentationThe Ballerina VS Code Extension Documentation describes the functionalities of this extension in detail. |