8000 Intellisense doesn't work on windows case sensitive folders · Issue #12178 · microsoft/vscode-cpptools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Intellisense doesn't work on windows case sensitive folders #12178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Raffaello opened this issue Apr 9, 2024 · 6 comments
Open

Intellisense doesn't work on windows case sensitive folders #12178

Raffaello opened this issue Apr 9, 2024 · 6 comments
Labels
bug investigate: repro This issue's repro steps needs to be investigated/confirmed Language Service regression A bug that didn't exist in a previous release
Milestone

Comments

@Raffaello
Copy link
Raffaello commented Apr 9, 2024

Environment

  • OS and Version: win11
  • VS Code Version: latest >= 1.80
  • C/C++ Extension Version: latest (2024-3-22

There is already an existing issue: #1994
and a pre-release version: https://github.com/microsoft/vscode-cpptools/releases/tag/v1.13.0

unfortunately it looks abandoned as it is more than 1 year with no progress and still in pre-release version.
especially as my cpptool plugin is newer than that pre-release version

image

Bug Summary and Steps to Reproduce

Bug Summary:
intellisense doesn'twork on windows with NTFS case sensitive attribute enabled

Steps to reproduce:

  1. enable case sensitive in a folder
  2. write some cpp code in that and use vscode cpp tools
  3. intellisense is just broken

Expected behavior:

it should work instead.

Configuration and Logs

.

Other Extensions

No response

Additional context

is there anything that can be done without switching to a pre-release version that is older than 1 year in respect of the latest one?

@sean-mcmanus
Copy link
Contributor

@Raffaello The "fixed (release pending)" means it's either fixed and pending or fixed and released -- we don't have a fixed and released label. Have you tried setting C_Cpp.caseSensitiveFileSupport to "enabled"?

@sean-mcmanus sean-mcmanus self-assigned this Apr 9, 2024
@sean-mcmanus sean-mcmanus added Language Service more info needed The issue report is not actionable in its current state labels Apr 9, 2024
@Raffaello
Copy link
Author

@Raffaello The "fixed (release pending)" means it's either fixed and pending or fixed and released -- we don't have a fixed and released label. Have you tried setting C_Cpp.caseSensitiveFileSupport to "enabled"?

ah. no, i will try it, thank you. sorry i thought it was something that could have been done automatically with VSCode/Extension automatically detecting if it is a case sensitive or not, or even query git config core.ignorecase bool.
thanks i'll check it tomorrow.

@Raffaello
Copy link
Author

@sean-mcmanus i tried with C_Cpp.caseSensitiveFileSupport to "enabled", but it doesn't look like it's working.

also i tried having a simple test: a README and a readme file, on the file system are present, on VSCode only one of the 2 is showed in the Explorer tab.

I don't think is related but not sure, just an extra info.

Anyway, thanks, on windows i will stick on not using case sensitive files as it might also have further problem with other 3rd party toolos.

@sean-mcmanus sean-mcmanus added bug investigate: repro This issue's repro steps needs to be investigated/confirmed and removed more info needed The issue report is not actionable in its current state labels Apr 10, 2024
@sean-mcmanus sean-mcmanus removed their assignment Apr 10, 2024
@sean-mcmanus
Copy link
Contributor

@Raffaello Yeah, it's possible some change broke that setting/feature.

@sean-mcmanus sean-mcmanus added the regression A bug that didn't exist in a previous release label Apr 10, 2024
@bobbrow
Copy link
Member
bobbrow commented Apr 10, 2024

README vs. readme in the VS Code Explorer sounds like a VS Code bug.

However, if you change the C++ setting for case sensitive files, you might also need to run the "Reset IntelliSense Database" command to ensure that you don't have stale information in there from before case sensitivity was changed. I thought we might have automatically done that for you, but looking at the code, that may not be the case.

If that doesn't help and you want to still try using case sensitive files, we'll need more details about what doesn't work.

@Raffaello
Copy link
Author

I did that too(reset intellisense cache). Also restarted vscode. Tried for a while. At some point i realised it's not really worth it. A CI job can catch up easily an eventual case sensitive issue.

@bobbrow bobbrow added this to cpptools Jun 17, 2024
@github-project-automation github-project-automation bot moved this to Triage in cpptools Jun 17, 2024
@bobbrow bobbrow removed the status in cpptools Jun 20, 2024
@sean-mcmanus sean-mcmanus added this to the 1.21 milestone Jul 11, 2024
@sean-mcmanus sean-mcmanus moved this to Todo in cpptools Jul 11, 2024
@sean-mcmanus sean-mcmanus pinned this issue Jul 11, 2024
@sean-mcmanus sean-mcmanus unpinned this issue Jul 11, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.21, 1.22 Jul 22, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.22, 1.23 Oct 3, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.23, 1.24 Jan 10, 2025
@sean-mcmanus sean-mcmanus modified the milestones: 1.24, 1.25 Apr 2, 2025
@sean-mcmanus sean-mcmanus removed this from the 1.25 milestone Apr 29, 2025
@sean-mcmanus sean-mcmanus added this to the 1.26 milestone Apr 29, 2025
@bobbrow bobbrow removed the status in cpptools May 27, 2025
@bobbrow bobbrow modified the milestones: 1.26, Backlog May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug investigate: repro This issue's repro steps needs to be investigated/confirmed Language Service regression A bug that didn't exist in a previous release
Projects
Status: No status
Development

No branches or pull requests

3 participants
0