LuaLS / LuaLS/lua-language-server-rust

Please make it possible to distinguish between implementations

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

還沒有人認領這個 Issue。

主要語言
Lua
星號
19
分支
6
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

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

研究方向

先檢視現有可執行檔的版本輸出和 pull request #8,然後確認目前如何處理命令列選項。完成的標準是,使用者可以透過 full-version 選項區分這個實作,並具備所提議的說明行為,同時保留現有的數字版本輸出。

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

評估

技術堆疊
git, lua, rust
領域
cli, devtools
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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