Sonarlint proxy configuration for VS code

Hey @vikraman_arut, welcome to the Sonar Community! :sonar: :wave:

Unfortunately, currently, it is not possible to set up a Connected Mode with a server that is behind a proxy out-of-the-box. We do have a ticket for this in our backlog. In the meantime, you could try the following workaround by using JVM’s standard proxy settings through the appropriate VSCode settings, e.g:

{ "sonarlint.ls.vmargs": "-Dhttps.proxyHost=my-proxy.company.tld -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=localhost|127.0.0.1|my-intranet.company.tld" }

Hope this clarifies,
Sophio

2 Likes