Reserved keyword coloring?
まだ誰も着手していません。
評価
調査の方向性
var event = new Dictionary<string, string>(); を使って VS Code で問題を再現し、示されている Visual Studio for macOS の動作と比較します。C# 構文文法の予約語の色付け規則を調査します。完了条件は、周囲の構文に影響を与えずに event が他の予約語と同じように色付けされることです。
索引モデルが issue の本文から書いたものです。
説明
Would it be possible to get reserved word coloring on variables? It should match the color of the other reserved words, to make it more obvious that the variable name cannot be used.
Details
What editor are you seeing the problem in? VS Code
What version of the editor are you using? 1.22.2 and Insiders 1.23.0
What color theme are you using? Dark+ (default)
Repro
var event = new Dictionary<string, string>();
Ends up formatted like this, with no obvious sign that event is a reserved word:
Instead of any reserved word errors, I kept seeing a bunch of (seemingly unrelated) errors in the vicinity of this line of code. I finally opened the project up in Visual Studio for macOS and it became obvious:
- 主要言語
- TypeScript
- スター
- 78
- フォーク
- 43
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/csharp-tmLanguage のほかの issue
-
C# syntax highlighting broken with collection expressions and string interpolation in method callsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dotnet/csharp-tmLanguage#332 · コメント 7 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
dotnet/csharp-tmLanguage#336 · コメント 3 件 ·
-
[Textmate] `scoped ref` modifier対応中かも @JoeRobich が 1017 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
dotnet/csharp-tmLanguage#306 ·
-
[Textmate] Local function with attribute対応中かも @JoeRobich が 1017 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dotnet/csharp-tmLanguage#304 ·
-
[Textmate] Lambda with attribute対応中かも @JoeRobich が 1017 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
dotnet/csharp-tmLanguage#303 ·
dotnet/csharp-tmLanguage の issue をすべて見る
似ている issue
-
Bayern feature:Application ready web
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
digitalfabrik/entitlementcard#3176 ·
メンテナーはふだん 7 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NanmiCoder/cc-haha#1533 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
🐛 Bug: Calendar work items cannot be opened on mobile対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100