gradle-syntastic-plugin icon indicating copy to clipboard operation
gradle-syntastic-plugin copied to clipboard

Slashes in syntastic_javac_config

Open Scuilion opened this issue 8 years ago • 7 comments

Slashes in syntastic_javac_config should be forward even in Windows

Scuilion avatar Aug 26 '15 12:08 Scuilion

Has there been any progress on making the slashes forward even in Windows? Right now, I have a script that every time the file updates, it changes all the slashes to forward but it would be nice if this was supported.

rhart92 avatar Mar 28 '17 13:03 rhart92

What version of the plugin are you using?

Scuilion avatar Mar 28 '17 14:03 Scuilion

0.3.8

rhart92 avatar Mar 30 '17 13:03 rhart92

The best option here may be to add a manually configurable switch to set the direction of the slash. Every time I look into this issue I feel like I get turned around. Is it running on cygwin/vim, gvim, or bash for windows. Too many use cases to test for.

Scuilion avatar Jul 02 '17 19:07 Scuilion

Any reason why string.replace('\\', '/') wouldn't do the trick? Naive question, not a windows user myself.

dridi avatar Jul 03 '17 06:07 dridi

Yeah, the should do the trick. The problem I keep running into is in some configuration on windows (I can't remember now) the slashes need to be *nix style. I don't have a windows box handy. I'll have to see if I can find one and get a little more specific.

Scuilion avatar Jul 03 '17 14:07 Scuilion

One new vote to support automatic slash manipulation. I'm using git bash on Windows, and I have confirmed that forward slashes or double backslashes function correctly.

JohnTJohnston avatar May 14 '18 20:05 JohnTJohnston