How to configure embeded typescript-language-server?

Đang mở
#1,936 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript

Hướng nghiên cứu

Bắt đầu với docs/configuration.md, đặc biệt là phần cấu hình, sau đó xem lại các trang cài đặt của Eclipse Web Developer và quy trình tsserver và typescript-language-server được mô tả trong issue. Xác định xem cấu hình cần thiết có được hỗ trợ thông qua Eclipse hay yêu cầu một cấu hình khởi chạy bên ngoài, rồi ghi lại thiết lập được hỗ trợ và vị trí cấu hình.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Java
Star
203
Fork
76
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
30

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-wildwebdeveloper/wildwebdeveloper

Tất cả issue của eclipse-wildwebdeveloper/wildwebdeveloper

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.