You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to configure embeded typescript-language-server? #1936
I'm plagued by the diagnostic message File is a CommonJS module; it may be converted to an ES module. [80001].
I know it's coming from tsserver itself and passes through the internal handler typescript-language-server somehow.
I can configure tsserver itself by placing a file at the right location, but that only allows to fully disable all diagnostics, which is not helpful at all.
I know the typescript-language-server allows to configure ignores on a more granular level, as documented here.
But i can't for the life of me find out just HOW i get to pass the needed config values through eclipse. And the web developers settings pages for language server configurations are pretty lacking in that department, if existing at all.
Do i really have to define an external language server launch configuration, just to somehow get some options changed? Or is there some kind of well-known file for the typescript-language-server that is magically detected and read when in the workspace/project root?
Thanks for the quick response. At least it's confirmed now.
I'm not sure if i manage to contribute that anytime soon. If i happen to get the time, i might have a go at it.
Activity
mickaelistria commentedon Oct 14, 2025
There is currently no way to configure the particular options of embedded typescript-language-server beyond what Preferences already offer. See https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/blob/master/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/jsts/JSTSLanguageServer.java#L112
The best approach would be that you add to the preferences the necessary UI to set
ignoredCodesGB609 commentedon Oct 14, 2025
Thanks for the quick response. At least it's confirmed now.
I'm not sure if i manage to contribute that anytime soon. If i happen to get the time, i might have a go at it.