Change:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --Exclude both at the start and at the end from filepath detection. See this screenshot. <img width="2560" alt="Screenshot 2023-03-25 at 15 01 58" src="https://user-"The file path is detected but includes the surrounding angle brackets. Doing a to go to the file causes it to not be found. If one removes the angle brackets from the search manually, then it finds the file.
This actually works fine for me: ! Is relative to the current working directory?
Weird... No. The actual file I want to go is at but it was compiled as , so my logger used the compiled name as base path. I'm using latest version of vscode (1.76.2) and the integrated terminal is running zsh, on macOS. Looks like the difference is that you are running on Windows Powershell.
Can you try using the Insiders build here?
Sure. Just for completeness, even if I pass the actual relative path, it doesn't work. See the screenshot (still using stable). <img width="2560" alt="Screenshot 2023-03-27 at 16 17 20" src="https://user-"
Tested with insider and same behaviour. <img width="2560" alt="Screenshot 2023-03-27 at 16 21 08" src="https://user-"
Can repro on macOS <img width="226" alt="Screenshot 2023-03-27 at 12 58 16 pm" src="https://user-"

Discussion:
PathSeparatorClause = '/', // '":; are allowed in paths but they are often separators so ignore them // Also disallow  to prevent a catastropic backtracking case #24795 <del> ExcludedPathCharactersClause = '[^0s!`&*()'":;]', ExcludedStartPathCharactersClause = '[^0s!`&*()[]'":;]', </del> <ins> ExcludedPathCharactersClause = '[^0<>s!`&*()'":;]', ExcludedStartPathCharactersClause = '[^0<>s!`&*()[]'":;]', </ins> WinOtherPathPrefix = '..?|~', WinPathSeparatorClause = '(?:|/)',

hasCol: boolean; } <ins> const operatingSystems: ReadonlyArray<OperatingSystem> = [ OperatingSystem.Linux, OperatingSystem.Macintosh, OperatingSystem.Windows ]; const osTestPath: { [key: number | OperatingSystem]: string } = { [OperatingSystem.Linux]: '/test/path/linux', [OperatingSystem.Macintosh]: '/test/path/macintosh', [OperatingSystem.Windows]: 'C:testpathwindows' }; const osLabel: { [key: number | OperatingSystem]: string } = { [OperatingSystem.Linux]: '[Linux]', [OperatingSystem.Macintosh]: '[macOS]', [OperatingSystem.Windows]: '[Windows]' }; </ins> const testRow = 339; const testCol = 12; const testLinks: ITestLink[] = [

}); suite('"<>"', () => { <del> test('should exclude bracket characters from link paths', () => { deepStrictEqual( detectLinks('<C:Githubmicrosoftvscode<', OperatingSystem.Windows), [ { path: { index: 1, text: 'C:Githubmicrosoftvscode' }, prefix: undefined, suffix: undefined } ] as IParsedLink[] ); deepStrictEqual( detectLinks('>C:Githubmicrosoftvscode>', OperatingSystem.Windows), [ { path: { index: 1, text: 'C:Githubmicrosoftvscode' }, prefix: undefined, suffix: undefined } ] as IParsedLink[] ); }); test('should exclude bracket characters from link paths with suffixes', () => { deepStrictEqual( detectLinks('<C:Githubmicrosoftvscode:400<', OperatingSystem.Windows), [ { path: { index: 1, text: 'C:Githubmicrosoftvscode' }, prefix: undefined, suffix: { col: undefined, row: 400, </del> <ins> for (const os of operatingSystems) { test(`should exclude bracket characters from link paths ${osLabel[os]}`, () => { deepStrictEqual( detectLinks(`<${osTestPath[os]}<`, os), [ { path: { index: 1, text: osTestPath[os] }, prefix: undefined, suffix: undefined } ] as IParsedLink[] ); deepStrictEqual( detectLinks(`>${osTestPath[os]}>`, os), [ { path: { index: 1, text: osTestPath[os] }, prefix: undefined, suffix: undefined } ] as IParsedLink[] ); }); test(`should exclude bracket characters from link paths with suffixes ${osLabel[os]}`, () => { deepStrictEqual( detectLinks(`<${osTestPath[os]}:400<`, os), [ { path: { index: 1, text: osTestPath[os] }, prefix: undefined, </ins> suffix: { <del> index: 27, text: ':400' </del> <ins> col: undefined, row: 400, suffix: { index: 1 + osTestPath[os].length, text: ':400' } </ins> } } <del> } ] as IParsedLink[] ); deepStrictEqual( detectLinks('>C:Githubmicrosoftvscode:400>', OperatingSystem.Windows), [ { path: { index: 1, text: 'C:Githubmicrosoftvscode' }, prefix: undefined, suffix: { col: undefined, row: 400, </del> <ins> ] as IParsedLink[] ); deepStrictEqual( detectLinks(`>${osTestPath[os]}:400>`, os), [ { path: { index: 1, text: osTestPath[os] }, prefix: undefined, </ins> suffix: { <del> index: 27, text: ':400' </del> <ins> col: undefined, row: 400, suffix: { index: 1 + osTestPath[os].length, text: ':400' } </ins> } } <del> } ] as IParsedLink[] ); }); </del> <ins> ] as IParsedLink[] ); }); } </ins> }); suite('should detect file names in git diffs', () => {