How to configure embeded typescript-language-server?

未關閉
#1,936 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
文件
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
typescript

研究方向

從 docs/configuration.md 開始,尤其是其中的設定區段,接著檢視 Eclipse Web Developer 設定頁面,以及 issue 中描述的 tsserver 和 typescript-language-server 流程。判斷所需的設定是否透過 Eclipse 支援,或需要外部啟動設定,並記錄受支援的設定方式與設定位置。

由索引模型根據 Issue 內容生成。

描述

contributions welcome enhancement

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?

主要語言
Java
星號
203
分支
76
平均合併
1 天 5 小時
30 天內合併 PR
30

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

eclipse-wildwebdeveloper/wildwebdeveloper 的其他 Issue

查看 eclipse-wildwebdeveloper/wildwebdeveloper 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。