Skip to content

Error in Window log when editor tab is open with file using Windows Long Path API. #4978

@msftrncs

Description

@msftrncs

Referencing microsoft/vscode#284345, I get an error message in the Window log each time a VS Code editor tab is activated or actively editing a file where the path is longer than 260 characters causing Windows to switch to Windows Long Path API.

2025-12-18 17:58:18.416 [error] [Window] [Extension Host] Error: context (Language Status): [t [Error]: Request _isSpellCheckEnabled failed with message: Invalid URL
	at Un (c:\Users\cmorris\.vscode\extensions\streetsidesoftware.code-spell-checker-4.4.0\packages\client\dist\extension.cjs:152:228)
	at ht (c:\Users\cmorris\.vscode\extensions\streetsidesoftware.code-spell-checker-4.4.0\packages\client\dist\extension.cjs:151:6235)
	at Tt (c:\Users\cmorris\.vscode\extensions\streetsidesoftware.code-spell-checker-4.4.0\packages\client\dist\extension.cjs:151:6358)
	at Immediate.<anonymous> (c:\Users\cmorris\.vscode\extensions\streetsidesoftware.code-spell-checker-4.4.0\packages\client\dist\extension.cjs:151:6122)
	at process.processImmediate (node:internal/timers:485:21)] {
  [stack]: [Getter/Setter],
  [message]: 'Request _isSpellCheckEnabled failed with message: Invalid URL',
  code: -32603,
  data: undefined
}

The path to this file is \\?\UNC\USNEFS100.rosenbauer.local\Engineering\Programming\Aerials\LCS Y2020\y2020_controller\local_builds\2512\251216\RNE_Aerial_Dev\162221_5cf5637b6_cmorris\23461B-001_ID025_Aux_Control_Platform_Leveling_Y2020_TTC2310\23461B-001_ID025_Aux_Control_Platform_Leveling_Y2020_TTC2310_controller.log or 290 characters before the Windows Long Path API mechanism added 6 more characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions