Skip to content

Commit 5cc743c

Browse files
authored
Merge pull request #461 from daimrod/remove_duplicate_defcustom
Remove duplicate defcustom definitions
2 parents 9594414 + 75a2d63 commit 5cc743c

File tree

1 file changed

+0
-260
lines changed

1 file changed

+0
-260
lines changed

lsp-java.el

Lines changed: 0 additions & 260 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,266 +1800,6 @@ extracted interface."
18001800
:type 'boolean
18011801
:lsp-path "java.refactoring.extract.interface.replace")
18021802

1803-
(lsp-defcustom lsp-java-import-maven-offline-enabled nil
1804-
"Enable/disable the Maven offline mode."
1805-
:type 'boolean
1806-
:lsp-path "java.import.maven.offline.enabled")
1807-
1808-
(lsp-defcustom lsp-java-import-maven-disable-test-classpath-flag nil
1809-
"Enable/disable test classpath segregation. When enabled, this
1810-
permits the usage of test resources within a Maven project as
1811-
dependencies within the compile scope of other projects."
1812-
:type 'boolean
1813-
:lsp-path "java.import.maven.disableTestClasspathFlag")
1814-
1815-
(lsp-defcustom lsp-java-import-gradle-annotation-processing-enabled t
1816-
"Enable/disable the annotation processing on Gradle projects and
1817-
delegate Annotation Processing to JDT APT. Only works for Gradle
1818-
5.2 or higher."
1819-
:type 'boolean
1820-
:lsp-path "java.import.gradle.annotationProcessing.enabled")
1821-
1822-
(lsp-defcustom lsp-java-eclipse-download-sources nil
1823-
"Enable/disable download of Maven source artifacts for Eclipse
1824-
projects."
1825-
:type 'boolean
1826-
:lsp-path "java.eclipse.downloadSources")
1827-
1828-
(lsp-defcustom lsp-java-signature-help-description-enabled nil
1829-
"Enable/disable to show the description in signature help."
1830-
:type 'boolean
1831-
:lsp-path "java.signatureHelp.description.enabled")
1832-
1833-
(lsp-defcustom lsp-java-configuration-maven-global-settings nil
1834-
"Path to Maven's global settings.xml"
1835-
:type 'string
1836-
:lsp-path "java.configuration.maven.globalSettings")
1837-
1838-
(lsp-defcustom lsp-java-configuration-maven-not-covered-plugin-execution-severity "warning"
1839-
"Specifies severity if the plugin execution is not covered by Maven
1840-
build lifecycle."
1841-
:type '(choice (:const "ignore") (:const "warning") (:const "error"))
1842-
:lsp-path "java.configuration.maven.notCoveredPluginExecutionSeverity")
1843-
1844-
(lsp-defcustom lsp-java-configuration-maven-default-mojo-execution-action "ignore"
1845-
"Specifies default mojo execution action when no associated metadata
1846-
can be detected."
1847-
:type '(choice (:const "ignore") (:const "warn") (:const "error") (:const "execute"))
1848-
:lsp-path "java.configuration.maven.defaultMojoExecutionAction")
1849-
1850-
(lsp-defcustom lsp-java-configuration-workspace-cache-limit 90
1851-
"The number of days (if enabled) to keep unused workspace cache data.
1852-
Beyond this limit, cached workspace data may be removed."
1853-
:type '(repeat nil)
1854-
:lsp-path "java.configuration.workspaceCacheLimit")
1855-
1856-
(lsp-defcustom lsp-java-import-generates-metadata-files-at-project-root nil
1857-
"Specify whether the project metadata files(.project, .classpath,
1858-
.factorypath, .settings/) will be generated at the project root.
1859-
Click [HERE](command:_java.metadataFilesGeneration) to learn how to change the
1860-
setting to make it take effect."
1861-
:type 'boolean
1862-
:lsp-path "java.import.generatesMetadataFilesAtProjectRoot")
1863-
1864-
(lsp-defcustom lsp-java-project-output-path ""
1865-
"A relative path to the workspace where stores the compiled output.
1866-
`Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect
1867-
Maven or Gradle project."
1868-
:type '(repeat string)
1869-
:lsp-path "java.project.outputPath")
1870-
1871-
(lsp-defcustom lsp-java-project-source-paths nil
1872-
"Relative paths to the workspace where stores the source files.
1873-
`Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven
1874-
or Gradle project."
1875-
:type 'lsp-string-vector
1876-
:lsp-path "java.project.sourcePaths")
1877-
1878-
(lsp-defcustom lsp-java-recommendations-dependency-analytics-show t
1879-
"Show the recommended Dependency Analytics extension."
1880-
:type 'boolean
1881-
:lsp-path "java.recommendations.dependency.analytics.show")
1882-
1883-
(lsp-defcustom lsp-java-completion-postfix-enabled t
1884-
"Enable/disable postfix completion support.
1885-
`#editor.snippetSuggestions#` can be used to customize how
1886-
postfix snippets are sorted."
1887-
:type 'boolean
1888-
:lsp-path "java.completion.postfix.enabled")
1889-
1890-
(lsp-defcustom lsp-java-completion-match-case "auto"
1891-
"Specify whether to match case for code completion."
1892-
:type '(choice (:const "auto") (:const "firstLetter") (:const "off"))
1893-
:lsp-path "java.completion.matchCase")
1894-
1895-
(lsp-defcustom lsp-java-completion-lazy-resolve-text-edit-enabled t
1896-
"[Experimental] Enable/disable lazily resolving text edits for
1897-
code completion."
1898-
:type 'boolean
1899-
:lsp-path "java.completion.lazyResolveTextEdit.enabled")
1900-
1901-
(lsp-defcustom lsp-java-code-generation-insertion-location "afterCursor"
1902-
"Specifies the insertion location of the code generated by source
1903-
actions."
1904-
:type '(choice (:const "afterCursor") (:const "beforeCursor") (:const "lastMember"))
1905-
:lsp-path "java.codeGeneration.insertionLocation")
1906-
1907-
(lsp-defcustom lsp-java-templates-file-header nil
1908-
"Specifies the file header comment for new Java file.
1909-
Supports configuring multi-line comments with an array of strings, and using
1910-
${variable} to reference the
1911-
[predefined variables](command:_java.templateVariables)."
1912-
:type 'lsp-string-vector
1913-
:lsp-path "java.templates.fileHeader")
1914-
1915-
(lsp-defcustom lsp-java-templates-type-comment nil
1916-
"Specifies the type comment for new Java type.
1917-
Supports configuring multi-line comments with an array of strings, and using
1918-
${variable} to reference the
1919-
[predefined variables](command:_java.templateVariables)."
1920-
:type 'lsp-string-vector
1921-
:lsp-path "java.templates.typeComment")
1922-
1923-
(lsp-defcustom lsp-java-references-include-accessors t
1924-
"Include getter, setter and builder/constructor when finding references."
1925-
:type 'boolean
1926-
:lsp-path "java.references.includeAccessors")
1927-
1928-
(lsp-defcustom lsp-java-references-include-decompiled-sources t
1929-
"Include the decompiled sources when finding references."
1930-
:type 'boolean
1931-
:lsp-path "java.references.includeDecompiledSources")
1932-
1933-
(lsp-defcustom lsp-java-type-hierarchy-lazy-load nil
1934-
"Enable/disable lazy loading the content in type hierarchy. Lazy
1935-
loading could save a lot of loading time but every type should be
1936-
expanded manually to load its content."
1937-
:type 'boolean
1938-
:lsp-path "java.typeHierarchy.lazyLoad")
1939-
1940-
(lsp-defcustom lsp-java-settings-url nil
1941-
"Specifies the url or file path to the workspace Java settings.
1942-
See [Setting Global
1943-
Preferences](https://github.com/redhat-developer/vscode-java/wiki/Settings-Global-Preferences)"
1944-
:type 'string
1945-
:lsp-path "java.settings.url")
1946-
1947-
(lsp-defcustom lsp-java-symbols-include-source-method-declarations nil
1948-
"Include method declarations from source files in symbol search."
1949-
:type 'boolean
1950-
:lsp-path "java.symbols.includeSourceMethodDeclarations")
1951-
1952-
(lsp-defcustom lsp-java-quickfix-show-at "line"
1953-
"Show quickfixes at the problem or line level."
1954-
:type '(choice (:const "line") (:const "problem"))
1955-
:lsp-path "java.quickfix.showAt")
1956-
1957-
(lsp-defcustom lsp-java-inlay-hints-parameter-names-enabled "literals"
1958-
"Enable/disable inlay hints for parameter names:
1959-
```java
1960-
1961-
Integer.valueOf(/* s: */ '123', /* radix: */ 10)
1962-
1963-
```
1964-
`#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay
1965-
hints for methods."
1966-
:type '(choice (:const "none") (:const "literals") (:const "all"))
1967-
:lsp-path "java.inlayHints.parameterNames.enabled")
1968-
1969-
(lsp-defcustom lsp-java-inlay-hints-parameter-names-exclusions nil
1970-
"The patterns for the methods that will be disabled to show the
1971-
inlay hints. Supported pattern examples:
1972-
- `java.lang.Math.*` - All the methods from java.lang.Math.
1973-
- `*.Arrays.asList` - Methods named as `asList' in the types named as `Arrays'.
1974-
- `*.println(*)` - Methods named as `println'.
1975-
- `(from, to)` - Methods with two parameters named as `from' and `to'.
1976-
- `(arg*)` - Methods with one parameter whose name starts with `arg'."
1977-
:type 'lsp-string-vector
1978-
:lsp-path "java.inlayHints.parameterNames.exclusions")
1979-
1980-
(lsp-defcustom lsp-java-project-encoding "ignore"
1981-
"Project encoding settings"
1982-
:type '(choice (:const "warning") (:const "setDefault"))
1983-
:lsp-path "java.project.encoding")
1984-
1985-
(lsp-defcustom lsp-java-jdt-ls-lombok-support-enabled t
1986-
"Whether to load lombok processors from project classpath"
1987-
:type 'boolean
1988-
:lsp-path "java.jdt.ls.lombokSupport.enabled")
1989-
1990-
(lsp-defcustom lsp-java-jdt-ls-protobuf-support-enabled t
1991-
"Specify whether to automatically add Protobuf output source
1992-
directories to the classpath.
1993-
1994-
**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher."
1995-
:type 'boolean
1996-
:lsp-path "java.jdt.ls.protobufSupport.enabled")
1997-
1998-
(lsp-defcustom lsp-java-jdt-ls-android-support-enabled "auto"
1999-
"[Experimental] Specify whether to enable Android project
2000-
importing. When set to `auto`, the Android support will be
2001-
enabled in Visual Studio Code - Insiders.
2002-
2003-
**Note:** Only works for Android Gradle Plugin `3.2.0` or higher."
2004-
:type '(choice (:const "on") (:const "off"))
2005-
:lsp-path "java.jdt.ls.androidSupport.enabled")
2006-
2007-
(lsp-defcustom lsp-java-code-action-sort-members-avoid-volatile-changes t
2008-
"Reordering of fields, enum constants, and initializers can result
2009-
in semantic and runtime changes due to different initialization
2010-
and persistence order. This setting prevents this from occurring."
2011-
:type 'boolean
2012-
:lsp-path "java.codeAction.sortMembers.avoidVolatileChanges")
2013-
2014-
(lsp-defcustom lsp-java-compile-null-analysis-nonnull ["javax.annotation.Nonnull" "org.eclipse.jdt.annotation.NonNull" "org.springframework.lang.NonNull"]
2015-
"Specify the Nonnull annotation types to be used for null
2016-
analysis. If more than one annotation is specified, then the
2017-
topmost annotation will be used first if it exists in project
2018-
dependencies. This setting will be ignored if
2019-
`java.compile.nullAnalysis.mode` is set to `disabled`"
2020-
:type 'lsp-string-vector
2021-
:lsp-path "java.compile.nullAnalysis.nonnull")
2022-
2023-
(lsp-defcustom lsp-java-compile-null-analysis-nullable ["javax.annotation.Nullable" "org.eclipse.jdt.annotation.Nullable" "org.springframework.lang.Nullable"]
2024-
"Specify the Nullable annotation types to be used for null
2025-
analysis. If more than one annotation is specified, then the
2026-
topmost annotation will be used first if it exists in project
2027-
dependencies. This setting will be ignored if
2028-
`java.compile.nullAnalysis.mode` is set to `disabled`"
2029-
:type 'lsp-string-vector
2030-
:lsp-path "java.compile.nullAnalysis.nullable")
2031-
2032-
(lsp-defcustom lsp-java-compile-null-analysis-mode "interactive"
2033-
"Specify how to enable the annotation-based null analysis."
2034-
:type '(choice (:const "interactive") (:const "automatic"))
2035-
:lsp-path "java.compile.nullAnalysis.mode")
2036-
2037-
(lsp-defcustom lsp-java-cleanup-actions-on-save nil
2038-
"The list of clean ups to be run on the current document when it's saved.
2039-
Clean ups can automatically fix code style or programming mistakes.
2040-
Click [HERE](command:_java.learnMoreAboutCleanUps) to learn more about what each
2041-
clean up does."
2042-
:type 'lsp-string-vector
2043-
:lsp-path "java.cleanup.actionsOnSave")
2044-
2045-
(lsp-defcustom lsp-java-shared-indexes-enabled "auto"
2046-
"[Experimental] Specify whether to share indexes between different
2047-
workspaces. When set to `auto`, shared indexes will be enabled in
2048-
Visual Studio Code - Insiders."
2049-
:type '(choice (:const "on") (:const "off"))
2050-
:lsp-path "java.sharedIndexes.enabled")
2051-
2052-
(lsp-defcustom lsp-java-shared-indexes-location ""
2053-
"Specifies a common index location for all workspaces."
2054-
:type 'string
2055-
:lsp-path "java.sharedIndexes.location")
2056-
2057-
(lsp-defcustom lsp-java-refactoring-extract-interface-replace t
2058-
"Specify whether to replace all the occurrences of the subtype with the new
2059-
extracted interface."
2060-
:type 'boolean
2061-
:lsp-path "java.refactoring.extract.interface.replace")
2062-
20631803
;; lsp-java run
20641804

20651805
(defvar lsp-lens-backends)

0 commit comments

Comments
 (0)