Package org.eclipse.lemminx.settings
Class XMLSymbolSettings
java.lang.Object
org.eclipse.lemminx.settings.XMLSymbolSettings
XMLSymbolPreferences for Document Symbols
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getFilterFor(String uri) intbooleanbooleanisExcluded(String uri) Given a file URI, this will check if it matches any of the given file patterns.voidmerge(XMLSymbolSettings newSettings) voidsetEnabled(boolean enabled) voidsetExcluded(String[] excluded) Will use the excluded pattern strings to create a list ofXMLExcludedSymbolFileobjects within this object.voidsetFilters(XMLSymbolFilter[] filters) voidsetMaxItemsComputed(int maxItemsComputed)
-
Constructor Details
-
XMLSymbolSettings
public XMLSymbolSettings()
-
-
Method Details
-
getExcludedFiles
-
setFilters
-
getFilters
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getExcluded
-
setExcluded
Will use the excluded pattern strings to create a list ofXMLExcludedSymbolFileobjects within this object.- Parameters:
excluded-
-
isExcluded
Given a file URI, this will check if it matches any of the given file patterns. A uri is 'excluded' if it matches any of the given patterns. **Important:** Set the excluded file patterns before calling this using 'setExcluded()'.- Parameters:
uri-- Returns:
-
getMaxItemsComputed
public int getMaxItemsComputed() -
setMaxItemsComputed
public void setMaxItemsComputed(int maxItemsComputed) -
merge
-
getFilterFor
-