LuaLS / LuaLS/lua-language-server
Feature Request Hover Alias Original and Expanded
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently there is an option Lua > Hover > Expand Alias that allows defining an alias and instead of seeing the alias-name when using the alias you will see what the alias is made of so `---@alias myType boolean | number` will appear as `boolean | number` instead of `myType`. However, there are circumstances where knowing what the alias is but also what it is made of can be useful. Is there a way we can have a both option here where on hover we can see both the alias name and its expansion? Something like `myType - (boolean | number)`
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Lua > Hover > Expand Alias 設定から始めて、型エイリアスのホバー表示を追跡します。エイリアス名とその展開の両方を `myType - (boolean | number)` のように表示するモードを追加し、既存のエイリアス表示モードが変更されていないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100