madhavd1/vscode-javadoc-tools

Can't export: path separator issues on mac (probably also linux)

asmfstatoil opened this issue · 6 comments

The paths in the application command strings for generating javadocs are hardcoding windows-style path separators like:

srcFolder = vscode.workspace.rootPath + '\\src'; from https://github.com/madhavd1/vscode-javadoc-tools/blob/master/src/extension.ts

Please consider replacing the \\ with the correct os path separator, possibly as as suggested in the link below
https://stackoverflow.com/questions/125813/how-to-determine-the-os-path-separator-in-javascript

When will this be fixed in the marketplace? Seems like the fix is quite trivial. I'd love to be able to use this with my students, but there are many using Mac (including me).

LMK when it's fixed, uninstalling till then

Hi, I will try to test the fix provided by @eecarrier merged and deployed within the next 1-2 weeks.

problem linux too.

Hi, I will try to test the fix provided by @eecarrier merged and deployed within the next 1-2 weeks.

Any updates on this?

This has been fixed with v1.6.0. It is available on the Marketplace now.