LuaLS / LuaLS/lua-language-server-rust

Please make it possible to distinguish between implementations

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

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

Ngôn ngữ chính
Lua
Star
19
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Currently there is the main repository at https://github.com/LuaLS/lua-language-server and this rust rewrite. Both contain very similar language servers using identically named executables. While the long term plan might be for this one to either replace or get integrated into the other one, and thus there might be no desire for a name change, their colliding nature is problematic right now as they require being configured differently to be fully usable.

How about adding a way to query the executable of which implementation this is. One could imagine --version to output the information, but as it currently only outputs the numeric version that might be considered a breaking change. An alternative would be to add an additional --full-version flag including the name of the implementation, as done in pull request #8 accompanying this issue. That change also makes it possible to get a fuller version string using git rather than merely the approximate version parsed from the changelog. Additionally it adds a very rudimentary --help option which I'm not sure is correct. Please feel free to rewrite the commit for partial inclusion if desired.

In the quite likely event that the pull request is not possible to merge as is, minor suggested changes directly in it are welcome as well as keeping a supposedly more high level discussion in this issue.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Hướng nghiên cứu

Trước tiên, hãy xem lại đầu ra phiên bản của tệp thực thi hiện có và pull request #8, sau đó kiểm tra cách các tùy chọn dòng lệnh hiện được xử lý. Công việc được xem là hoàn tất khi người dùng có thể phân biệt bản triển khai này bằng một tùy chọn full-version và hành vi trợ giúp được đề xuất đã được triển khai, đồng thời vẫn giữ nguyên đầu ra phiên bản dạng số hiện có.

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

Đánh giá

Công nghệ
git, lua, rust
Lĩnh vực
cli, devtools
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.