Vala-Lint For Visual Studio Code ExtensionThis extension adds Vala language support to the vscode-linter extension using vala-lint. InstallationVisual Studio Code Marketplace: https://marketplace.visualstudio.com/items?itemName=ColinKiama.linter-vala Manual Instructions: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#packaging-extensions RequirementsSetup GuideInstall Vala LintFirst, you need to install the vala-lint linter program. It's recommeded that you install it using meson and ninja. To verify that you've installed the Vala Lint program, in your terminal, enter the following command:
The terminal should then output the following line:
If you don't see the line above then you did not install the Vala lint program properly. Please ensure that the directory of Install The Vala-Lint Visual Studio Code ExtensionYou can either:
When you install the "Vala-Lint" extension, you will also be installing the "vscode-linter" extension which is what the Vala-Lint extension uses to help implement its functionality. Verify That The Vala-Lint Visual Studio Code Extension Is WorkingTo verify that the extension is working:
Now you should text like the following (Note: in this example, the file that is opened is called "Result.vala"):
If you don't have an output like what is listed above then you probably have not installed the extension properly. If you did not install the Vala Lint program properly, you may see a message like this in the Output View with "linter" selected in the dropdown:
As we've stated above, ensure that directory where ContributingRefer to vscode-linter's Creating Linters Guide and the vala-lint linter program source code. It's recommended that you create an issue or check if it already exists first before starting any work. Create a pull request when you are ready to submit your changes to the project. Your changes should go into the Enjoy! |