|
| 1 | +;;; lsp-sonarlint-text.el --- lsp-sonarlint text module -*- lexical-binding: t; -*- |
| 2 | + |
| 3 | +;; Copyright (C) 2020 Fermin Munoz |
| 4 | +;; URL: https://gitlab.com/sasanidas/lsp-sonarlint |
| 5 | +;; Keywords: languages |
| 6 | + |
| 7 | +;; This program is free software; you can redistribute it and/or modify |
| 8 | +;; it under the terms of the GNU General Public License as published by |
| 9 | +;; the Free Software Foundation, either version 3 of the License, or |
| 10 | +;; (at your option) any later version. |
| 11 | + |
| 12 | +;; This program is distributed in the hope that it will be useful, |
| 13 | +;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +;; GNU General Public License for more details. |
| 16 | + |
| 17 | +;; You should have received a copy of the GNU General Public License |
| 18 | +;; along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 19 | + |
| 20 | +;;; Commentary: |
| 21 | +;; Specific configuration for the SonarLint text plugin. |
| 22 | + |
| 23 | +;; This is NOT and official SonarLint extension. |
| 24 | + |
| 25 | + |
| 26 | +;;; Code: |
| 27 | + |
| 28 | +(defgroup lsp-sonarlint-text nil |
| 29 | + "lsp-sonarlint text analyzer group" |
| 30 | + :group 'lsp-sonarlint |
| 31 | + :version '(lsp-sonarlint-text . "2.0.1")) |
| 32 | + |
| 33 | +(defcustom lsp-sonarlint-text-enabled nil |
| 34 | + "Enable lsp-sonarlint-text plugin." |
| 35 | + :group 'lsp-sonarlint-text |
| 36 | + :type 'boolean) |
| 37 | + |
| 38 | +(defcustom lsp-sonarlint-text-download-url |
| 39 | + "https://repo.maven.apache.org/maven2/org/sonarsource/text/sonar-text-plugin/2.0.1.611/sonar-text-plugin-2.0.1.611.jar" |
| 40 | + "Text plugin download URL." |
| 41 | + :group 'lsp-sonarlint-text |
| 42 | + :type 'string) |
| 43 | + |
| 44 | +(defcustom lsp-sonarlint-text-analyzer-path |
| 45 | +(concat |
| 46 | + (file-name-directory load-file-name) |
| 47 | + "sonar-text.jar") |
| 48 | + "Lsp-sonarlint text analyzer location." |
| 49 | + :group 'lsp-sonarlint-text |
| 50 | + :type 'file) |
| 51 | + |
| 52 | +(defvar lsp-sonarlint-text-doc-url "https://www.sonarsource.com/" |
| 53 | + "Documentation sonarsource URL.") |
| 54 | + |
| 55 | +(defvar lsp-sonarlint-text-repository-url "https://github.com/SonarSource/sonar-text" |
| 56 | + "Official sonarlint code extension repository.") |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | +(provide 'lsp-sonarlint-text) |
| 63 | +;;; lsp-sonarlint-text.el ends here |
0 commit comments