vscode icon indicating copy to clipboard operation
vscode copied to clipboard

getSemanticDiagnostics & getCodeFixesAtPosition are called in different process

Open ArnaudBarre opened this issue 1 year ago • 0 comments

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.90.2
  • OS Version: Darwin arm64 23.1.0

Steps to Reproduce:

I have a local package with an index file that creates the "ts.server.PluginModuleFactory" Then I add the local package to the compilerOptions.plugins array in the (only) tsconfig of the project. But then the module is instantiated twice, and VSCode will use one when calling getSemanticDiagnostics and the other one when calling getCodeFixesAtPosition.

I can't understand what's happening

The exact same project is working fine in WebStorm. I can try to provide a minimal repro, but maybe you will know what make the plugin loaded twice and that's a know behaviour

ArnaudBarre avatar Jun 30 '24 15:06 ArnaudBarre