Summary: | cjs, cts, mjs, mts file extensions are ignored by LSP | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Karmo Rosental <karmo.rosental> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | normal | CC: | christoph |
Priority: | NOR | ||
Version First Reported In: | 23.08.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Karmo Rosental
2024-01-19 00:32:45 UTC
typescript-language-server is 4.3. On another laptop I have locked typescript-language-server at 4.0 and problem does not occur. Since TSLS 4.1 issues started to happen. { "servers": { "typescript": { "use": "javascript", "highlightingModeRegex": "^TypeScript.*$", "documentLanguageId": true } } } Fix is to use this LSP server override to enable support for more TypeScript file extensions but then almost everything is underlined in React TypeScript (.tsx) files. Hmm, in current master the extensions cjs, mjs should be loaded like js and cts, mts loaded like ts. should be fixed. |