Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

semantic coloring for locals/globals is broken

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
lua, vscode
領域
devtools

調査の方向性

Visual Studio Code拡張機能で、ローカル変数を1つとグローバル変数を1つ使って問題を再現し、semantic highlightingを有効にした場合と無効にした場合のそれぞれで、それらのsemantic tokensと色付けを調べます。報告されたvariable.otherおよびvariable.globalスコープを、期待される異なる色と比較します。ローカル変数とグローバル変数が再び見た目で区別されれば完了です。

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

説明

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Formatting

Expected Behaviour

Locals and Globals used to have different coloring but since the latest VSCode update, they are colored the same, semantic highlighting on or off, same result.

Actual Behaviour

Locals and Globals used to have different coloring but since the latest VSCode update, they are colored the same, semantic highlighting on or off, same result. Not sure if VSCode broke this or the extension.
I inspected the tokens and the loval is variable.other the global is variable.global. They used to be different (using the default VSCode Dark 2026 theme), now they are colored the same.

Reproduction steps

create a local and a global, look at it.

Additional Notes

No response

Log File

No response

主要言語
Lua
スター
4.4k
フォーク
442
平均マージ
8日 9時間
マージ済み PR(30日)
1

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

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

はじめの一歩

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

LuaLS/lua-language-server のほかの issue

LuaLS/lua-language-server の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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