Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I tried to use clang on msys for code completion, but the code
completion option "-code-completion-at=D:/path/main.c:16:7" was
translated to "-code-completion-at=D;D:\path\main.c;16;7". All colons
were translated to semicolons.
Is there any way to disable this feature?
> I tried to use clang on msys for code completion, but the code
> completion option "-code-completion-at=D:/path/main.c:16:7" was
> translated to "-code-completion-at=D;D:\path\main.c;16;7". All colons
> were translated to semicolons.
The ; is because MSYS is treating the string as a path list.
> Is there any way to disable this feature?
No, not yet anyway. I have a bug open for a different reason but still
involves the path handling mechanism. In that bug I suggested that we
need to be able to stop the path handling. In your case I think the
path handling should have exited when it found D:/ just after the =.
I don't have any good workaround method for you other than putting your
command in an .BAT file and using the "start" command from within MSYS
to execute the .BAT file. Assuming you've created foo.bat you would
issue ``start foo.bat'' in MSYS. You can also say ``start cmd'' and
just work from the cmd window. You don't have to say ``start cmd'' you
can just say ``cmd'' to enter the cmd shell in the same working window.