You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on Windows, we output paths like "c:\users\...", and \u is interpreted as an escape sequence. We should instead output "c:/users/..." even if the compile_commands.json uses backslashes.
The text was updated successfully, but these errors were encountered:
I believe this issue can be resolved by replacing the return statement of the resolve(path) function on line 96 of __init__.py with the following code:
if sys.platform.startswith('win32'):
return os.path.normcase(os.path.normpath(path)).replace("\\", "/") # Windows fix so that paths have correct slashes
else:
return os.path.normcase(os.path.normpath(path))
When running on Windows, we output paths like
"c:\users\..."
, and\u
is interpreted as an escape sequence. We should instead output"c:/users/..."
even if thecompile_commands.json
uses backslashes.The text was updated successfully, but these errors were encountered: