vs-code-xml-format | Simple XML formatter for Visual Studio Code
kandi X-RAY | vs-code-xml-format Summary
kandi X-RAY | vs-code-xml-format Summary
Simple XML formatter for Visual Studio Code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vs-code-xml-format
vs-code-xml-format Key Features
vs-code-xml-format Examples and Code Snippets
Community Discussions
Trending Discussions on vs-code-xml-format
QUESTION
I am trying to setup a Visual Studio code extension which will help me build an XML file based on a Schema.
This extension has the following requirements:
(Note: I have Java JDK 8+ installed)
RequirementsJava JDK (or JRE) 8 or more recent Ensure Java path is set in either:
xml.java.home
in VSCode preferencesjava.home
in VSCode preferencesEnvironment variable JAVA_HOME or JDK_HOME
Note: The path should end at the parent folder that contains the bin folder. Example Path: /usr/lib/jvm/java-1.8.0 if bin exists at /usr/lib/jvm/java-1.8.0/bin. Note: If the path is not set, the extension will attempt to find the path to the JDK or JRE.
QuestionAfter settings the java.home property in my settings.json file, and upon hovering over the data (which is grayed out) it says that Unknown Configuration Setting
. As a result the extension does not appear to work. What am I doing wrong?
Here is my settings.json
...ANSWER
Answered 2020-Jun-11 at 01:32First, 'XML' extension has no configuration property of 'java.home'. You need to install Language Support for Java(TM) by Red Hat extension to get this configuration property.
Secondly, "java.home": "C:\Program Files\Java\jdk1.8.0_241", without "\bin", as you have descripted in Note.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vs-code-xml-format
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page