mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Web Symbols: remove unsupported script-urls-patterns property
GitOrigin-RevId: 02c64bf5e4958a7502b517f0ea3ad5abd7acc0ec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2497a1814b
commit
419a9628ee
@@ -448,22 +448,20 @@
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
*f:com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules
|
||||
- <init>(java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List):V
|
||||
- <init>(java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List):V
|
||||
- f:component1():java.util.Map
|
||||
- f:component2():java.util.List
|
||||
- f:component3():java.util.List
|
||||
- f:component4():java.util.List
|
||||
- f:component5():java.util.List
|
||||
- f:component6():java.util.List
|
||||
- f:copy(java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List):com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules
|
||||
- bs:copy$default(com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules,java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List,java.util.List,I,java.lang.Object):com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules
|
||||
- f:copy(java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List):com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules
|
||||
- bs:copy$default(com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules,java.util.Map,java.util.List,java.util.List,java.util.List,java.util.List,I,java.lang.Object):com.intellij.webSymbols.context.WebSymbolsContextKindRules$EnablementRules
|
||||
- equals(java.lang.Object):Z
|
||||
- f:getFileExtensions():java.util.List
|
||||
- f:getFileNamePatterns():java.util.List
|
||||
- f:getIdeLibraries():java.util.List
|
||||
- f:getPkgManagerDependencies():java.util.Map
|
||||
- f:getProjectToolExecutables():java.util.List
|
||||
- f:getScriptUrlPatterns():java.util.List
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
*:com.intellij.webSymbols.context.WebSymbolsContextProvider
|
||||
|
||||
@@ -22,7 +22,6 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
@JsonPropertyOrder({
|
||||
"node-packages",
|
||||
"ruby-gems",
|
||||
"script-url-patterns",
|
||||
"file-extensions",
|
||||
"file-name-patterns",
|
||||
"ide-libraries",
|
||||
@@ -44,13 +43,6 @@ public class EnablementRules {
|
||||
@JsonProperty("ruby-gems")
|
||||
@JsonPropertyDescription("Ruby gem names, which enable framework support within the particular Ruby module.")
|
||||
private List<String> rubyGems = new ArrayList<String>();
|
||||
/**
|
||||
* RegExps to match script URLs, which enable framework support within a particular HTML.
|
||||
*
|
||||
*/
|
||||
@JsonProperty("script-url-patterns")
|
||||
@JsonPropertyDescription("RegExps to match script URLs, which enable framework support within a particular HTML.")
|
||||
private List<Pattern> scriptUrlPatterns = new ArrayList<Pattern>();
|
||||
/**
|
||||
* Extensions of files, which should have the framework support enabled. Use this to support custom file extensions like '.vue' or '.svelte'. Never specify generic extensions like '.html', '.js' or '.ts'. If you need your contributions to be present in every file don't specify the framework at all
|
||||
*
|
||||
@@ -118,24 +110,6 @@ public class EnablementRules {
|
||||
this.rubyGems = rubyGems;
|
||||
}
|
||||
|
||||
/**
|
||||
* RegExps to match script URLs, which enable framework support within a particular HTML.
|
||||
*
|
||||
*/
|
||||
@JsonProperty("script-url-patterns")
|
||||
public List<Pattern> getScriptUrlPatterns() {
|
||||
return scriptUrlPatterns;
|
||||
}
|
||||
|
||||
/**
|
||||
* RegExps to match script URLs, which enable framework support within a particular HTML.
|
||||
*
|
||||
*/
|
||||
@JsonProperty("script-url-patterns")
|
||||
public void setScriptUrlPatterns(List<Pattern> scriptUrlPatterns) {
|
||||
this.scriptUrlPatterns = scriptUrlPatterns;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extensions of files, which should have the framework support enabled. Use this to support custom file extensions like '.vue' or '.svelte'. Never specify generic extensions like '.html', '.js' or '.ts'. If you need your contributions to be present in every file don't specify the framework at all
|
||||
*
|
||||
|
||||
+1
-2
@@ -16,8 +16,7 @@ interface WebSymbolsContextKindRules {
|
||||
val projectToolExecutables: List<String>,
|
||||
val fileExtensions: List<String>,
|
||||
val ideLibraries: List<String>,
|
||||
val fileNamePatterns: List<Regex>,
|
||||
val scriptUrlPatterns: List<Regex>)
|
||||
val fileNamePatterns: List<Regex>)
|
||||
|
||||
companion object {
|
||||
|
||||
|
||||
@@ -285,8 +285,7 @@ internal fun EnablementRules.wrap(): WebSymbolsContextKindRules.EnablementRules
|
||||
projectToolExecutables,
|
||||
fileExtensions,
|
||||
ideLibraries,
|
||||
fileNamePatterns.mapNotNull { it.toRegex() },
|
||||
scriptUrlPatterns.mapNotNull { it.toRegex() }
|
||||
fileNamePatterns.mapNotNull { it.toRegex() }
|
||||
)
|
||||
|
||||
internal fun DisablementRules.wrap(): WebSymbolsContextKindRules.DisablementRules =
|
||||
|
||||
@@ -230,13 +230,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"script-url-patterns": {
|
||||
"description": "RegExps to match script URLs, which enable framework support within a particular HTML.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/pattern"
|
||||
}
|
||||
},
|
||||
"file-extensions": {
|
||||
"description": "Extensions of files, which should have the framework support enabled. Use this to support custom file extensions like '.vue' or '.svelte'. Never specify generic extensions like '.html', '.js' or '.ts'. If you need your contributions to be present in every file don't specify the framework at all",
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user