Ready-to-use integration examples built with the Camel framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicolas Massé 8f6d318d31 fix a typo 8 years ago
..
README.md fix a typo 8 years ago

README.md

Use Visual Studio Code as IDE

First, install VS Code.

Then, install the required extensions to develop Java:

Install required extensions to edit XML files:

Finally, Install XML Language Support to enable XSD auto-complete / validation.

This last extension needs a bit of setup to work. Namely, the JAVA_HOME environment variable needs to be set properly.

On MacOS this environment variable is not set. You will need to print the Java Home of your current Java installation with:

$ /usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home

Then, open $HOME/.vscode/settings.json and add the path to your Java Home in front of the key xmlLang.javaHome:

{
  "xmlLang.javaHome": "/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home"
}

Restart Visual Studio Code.

References