SonarLint for TSQL

Hi there,

Is there any plans to get Solarlint working for TSQL?

Thank you.

Hi,

It should already work.
What makes you think it doesn’t?
Do you use the latest version of SonarLint?

Hi,

thanks for the reply. We are using the 4.12 version. We tried it on VS, and there is no option for TSQL. Also please see the website states it does not support TSQL:

image

C#
VB.NET
C / C++
JavaScript

Thank you.

Jacques

Sorry, it seems to work for me in IntelliJ but I didn’t think about Visual Studio…

Ok thats cool, any case thank you so much for taking time to respond, will take this up with the Sonar peeps. hopefully we could get it going for VS :slight_smile:

@JSBG FYI I’ve added SLVS #1003: Add support for TSQL analysis in standalone mode to the backlog

Hi @duncanp I also like to use Sonarlint for analysis of TSQL in my team. It also does not work in connected mode, which is the mode in which we would like to use it as we do already run the analysis on our SonarQube server.
Particularly I’d like to run it for database projects in Visual Studio 2019 as a first step before committing files to a branch. This to prevent unnecessary issues popping up in the SonarQube analysis.

Hi @Peter2, welcome to the SonarSource community and thanks for sharing your need. We feel that adding T-SQL support to SonarLint for Visual Studio makes sense; unfortunately that won’t fit in this year roadmap, as we have plenty of other features and improvements in the pipe ( you can have a look at our roadmap here). We’ll consider this request for 2022, also based on the number of votes / people interested.

Hello @Marco_Comi Thanks for taking the time to respond. I hope it can be done, it would be very welcome.

Is there any update on the status of adding t-sql support to the SonarLint plugin for Visual Studio? Our SQL development teams are asking about this feature for SonarLint.

Hi @xnotjohn,
we did not get many requests for T-SQL support in Visual Studio, so I am afraid this feature is not currently at the top of our priority list. Nevertheless, we’ve create a dedicated roadmap card to continue gathering feedback and votes. If you subscribe to it, you’ll get notified of any updates.