This fully resolves #37 by creating a new option in launch.json for setting the classpath as an array, which gets joined by the correct OS-dependent separator. By doing this it also allows the launch configuration to work on multiple platforms.
Since this changes the proper structure of launch.json, I figured it may be a good idea to have a warning when the classpath is specified inside the options key of launch.json. Therefore, the PR includes a change to output the warning in the debug console. However, I'm not sure if this would be an important enough change to bring to people's attention, or if giving the warning this way is the best way to do it.
VS Code also trimmed a lot of trailing whitespace. Hopefully that's okay.
This fully resolves #37 by creating a new option in
launch.json
for setting the classpath as an array, which gets joined by the correct OS-dependent separator. By doing this it also allows the launch configuration to work on multiple platforms.Since this changes the proper structure of launch.json, I figured it may be a good idea to have a warning when the classpath is specified inside the options key of
launch.json
. Therefore, the PR includes a change to output the warning in the debug console. However, I'm not sure if this would be an important enough change to bring to people's attention, or if giving the warning this way is the best way to do it.VS Code also trimmed a lot of trailing whitespace. Hopefully that's okay.