Skip to content

Conversation

frodi-karlsson
Copy link
Contributor

Fixes #1972

With this change:
Whenever inferFilePath is called, the setting for useRealpaths will determine whether realpath is used or not.
This does not apply to the call in onDidChangeWatchedFiles where we don't have access to settings without a bigger refactor but it doesn't seem crucial to ever realpath there (?)

I've tested this with this very handy repro, and it behaves as expected in the symlinked directory opened in the extension development host:

image

@frodi-karlsson frodi-karlsson changed the title Support realpaths with true-defaulting config Support realpaths with config Sep 1, 2025
@dbaeumer dbaeumer enabled auto-merge (squash) September 11, 2025 11:48
@dbaeumer
Copy link
Member

@frodi-karlsson thanks for the nice work.

@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 11, 2025
@dbaeumer
Copy link
Member

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dbaeumer dbaeumer merged commit b27a65e into microsoft:main Sep 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing error: ESLint was configured to run on X However, that TSConfig does not include this file (when project opened from symlinked folder)
3 participants