forked from eclipse-lemminx/lemminx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
How to set catalog prefer as public in vscode setting?
See redhat-developer/vscode-xml#295 Signed-off-by: azerr <[email protected]>
- Loading branch information
1 parent
f145059
commit 1f02416
Showing
5 changed files
with
59 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...emminx/src/main/java/org/eclipse/lemminx/extensions/contentmodel/settings/XMLCatalog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package org.eclipse.lemminx.extensions.contentmodel.settings; | ||
|
||
public class XMLCatalog { | ||
|
||
public static final XMLCatalog DEFAULT_CATALOG = new XMLCatalog(); | ||
|
||
private boolean preferPublic; | ||
|
||
private boolean useLiteralSystemId; | ||
|
||
public XMLCatalog() { | ||
setPreferPublic(true); | ||
setUseLiteralSystemId(true); | ||
} | ||
|
||
public boolean isPreferPublic() { | ||
return preferPublic; | ||
} | ||
|
||
public void setPreferPublic(boolean preferPublic) { | ||
this.preferPublic = preferPublic; | ||
} | ||
|
||
public boolean isUseLiteralSystemId() { | ||
return useLiteralSystemId; | ||
} | ||
|
||
public void setUseLiteralSystemId(boolean useLiteralSystemId) { | ||
this.useLiteralSystemId = useLiteralSystemId; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters