Minimal Spring Factories support in Boot LS
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"onLanguage:spring-boot-properties-yaml",
|
||||
"onLanguage:java",
|
||||
"onLanguage:xml",
|
||||
"onLanguage:spring-factories",
|
||||
"onDebugResolve:java",
|
||||
"onCommand:vscode-spring-boot.rewrite.list"
|
||||
],
|
||||
@@ -64,6 +65,16 @@
|
||||
"bootstrap*.properties"
|
||||
],
|
||||
"configuration": "./properties-support/language-configuration.json"
|
||||
},
|
||||
{
|
||||
"id": "spring-factories",
|
||||
"aliases": [
|
||||
"Spring Factories"
|
||||
],
|
||||
"filenamePatterns": [
|
||||
"*.factories"
|
||||
],
|
||||
"configuration": "./properties-support/language-configuration.json"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -390,6 +401,18 @@
|
||||
"HINT",
|
||||
"ERROR"
|
||||
]
|
||||
},
|
||||
"spring-boot.ls.problem.boot3.FACTORIES_KEY_NOT_SUPPORTED": {
|
||||
"type": "string",
|
||||
"default": "ERROR",
|
||||
"description": "Spring factories key not supported",
|
||||
"enum": [
|
||||
"IGNORE",
|
||||
"INFO",
|
||||
"WARNING",
|
||||
"HINT",
|
||||
"ERROR"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -734,6 +757,11 @@
|
||||
"language": "spring-boot-properties",
|
||||
"scopeName": "source.java-properties",
|
||||
"path": "./properties-support/java-properties.tmLanguage"
|
||||
},
|
||||
{
|
||||
"language": "spring-factories",
|
||||
"scopeName": "source.java-properties",
|
||||
"path": "./properties-support/java-properties.tmLanguage"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user