LuaLS / LuaLS/lua-language-server

Support generating SCIP/LSIF index

Aperta
#3,131 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Lua
Stelle
4.4k
Fork
442
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The Language Server Index Format and its (kind of) successor SCIP define language-independent formats for information dumps of a language server. It allows tools like code editors and online repositories (eg. supported by GitHub, GitLab) to provide some LSP features without requiring an entire language server instance running in the background.

The LSIF specification has currently not reached 1.0.0 status yet.
In its most recent specification, LSIF would allow for the following language features in offline situations:

  • textDocument/definition
  • textDocument/declaration
  • textDocument/hover
  • textDocument/references
  • textDocument/implementation
  • textDocument/typeDefinition
  • textDocument/foldingRange
  • textDocument/documentLink
  • textDocument/documentSymbol
  • textDocument/semanticTokens/full

I'm not entirely sure whether this topic has been discussed in this community before, I wasn't able to find any mentions here in the older issues. In my opinion it could be a great feature to have a way of extracting project information out of the LuaLS into LSIF files.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non è indicato alcun file sorgente, test o punto di ingresso. Inizia confrontando le specifiche LSIF e SCIP con le informazioni che LuaLS espone già, quindi determina l'ambito della generazione degli indici di progetto. Il lavoro è completo quando LuaLS può estrarre le informazioni del progetto in un formato di indice supportato e il comportamento è coperto da test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.