The 'Add #include' code action incorrectly uses "../" instead of <> when an includePath is used that is lexicographically less than the source file's parent directory #12010
Labels
bug
Feature: Add '#include'
Add '#include' code action on undefined symbols
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
Visual Studio
Inherited from Visual Studio
Milestone
See the 2 screenshots: If the includePath has "${workspaceFolder}/a" then the bug repros,
but with "${workspaceFolder}/t" it behaves correctly -- t is lexicographically greater than the source's parent directory "sub".
Tests added for #11989 caused this to start to be hit (after a lexigraphically smaller includePath was added).
The text was updated successfully, but these errors were encountered: