microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
185 stars 55 forks source link

Case sensitive on Windows #416

Closed KrestenHelstrup closed 1 year ago

KrestenHelstrup commented 1 year ago

hi, Looks like the plugin is case sensitive even on windows systems which are not case sensitive. In my makefile I have something like: C_SRC += \ ../somefolder/somefile.c ../Main.c The proejct compiles without any issues but intellisense is not working as expected. In the extension log I see: Configuration for file xxx\someFolder\somefile.c was not found. CppTools will set a default configuration. As you see the folder is someFolder with capital F and if I change the makefile to correct casing everything works as expected.

Would it be possible for the plugin to be case-insensitive on windows systems ? Issues like these are quite hard to debug.

Thanks in advance

andreeis commented 1 year ago

@KrestenHelstrup , thank you for pointing this out. We have a fix which will be included in the 0.7 release.

andreeis commented 1 year ago

@KrestenHelstrup, a fix for this will be released with 0.7 next week but if you would like to see how this works earlier you can install one vsix from this link.

go to the Extensions panel on the left click "..." run "Install from vsix" from the context menu

Let us know if you encounter any other issues or if you have any other suggestions/recommendations in this area of functionality.

gcampbell-msft commented 1 year ago

Due to 0.7.0 being available with this fix, we are closing this issue, please re-open if you hit issues.