LuaLS / LuaLS/lua-language-server

Support generating SCIP/LSIF index

オープン
#3,131 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Lua
スター
4.4k
フォーク
442
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイル、テスト、エントリポイントのいずれも指定されていません。まず LSIF および SCIP の仕様を、LuaLS がすでに公開している情報と比較し、次にプロジェクトインデックスの生成範囲を決定してください。LuaLS がプロジェクト情報をサポートされているインデックス形式に抽出でき、その動作がテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。