LuaLS / LuaLS/lua-language-server-rust

Please make it possible to distinguish between implementations

Aberta
#7 2 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
Lua
Estrelas
19
Forks
6
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Revise primeiro a saída de versão do executável existente e o pull request #8; depois, verifique como as opções de linha de comando são tratadas atualmente. Considera-se concluído quando os usuários puderem distinguir esta implementação por meio de uma opção full-version e o comportamento de ajuda proposto estiver disponível, preservando a saída numérica de versão existente.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
git, lua, rust
Domínio
cli, devtools
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.