Incorrect Colors for C++ Files in Visual Studio 2022
まだ誰も着手していません。
評価
調査の方向性
まず、Visual Studio 2022 Community 17.1、OneDark Pro バージョン 1.2.0、および C++ ファイルを使って問題を再現し、その後、構文の色を Visual Studio Code のスクリーンショットと比較します。Theme Converter の出力とテーマの Visual Studio 定義を調査します。C++ の関数と変数が期待される色を使用し、JavaScript や C# の外観を変更していなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
In Visual Studio 2022, the theme does not work correctly for C++ files. The majority of keywords take on the coloring provided by the default Visual Studio dark theme. This seems to only be a problem with C++ files, as JavaScript and C# files look as expected. It could be a problem with the Theme Converter tool and how the theme was originally converted, since certain keywords get the proper highlighting while others don't.
C++ File in Visual Studio 2022

Notice how functions are light yellow instead of blue and variables are light blue instead of red.
C++ File in Visual Studio Code (this is how I expect the Visual Studio 2022 version to look)

Correct function and variable colors.
Steps to reproduce the behavior:
- Download Visual Studio 2022 Community 17.1
- Install the official OneDark Pro theme from the Visual Studio Marketplace.
- Change your current theme to the OneDark Pro theme and open up a C++ file.
System Info:
- OS: Windows 10
- Version: Visual Studio 2022 Community 17.1
- Theme version: 1.2.0
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 307
- 平均マージ
- 1時間 53分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Binaryify/OneDark-Pro のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Binaryify/OneDark-Pro#900 · コメント 11 件 · リアクション 4 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
Binaryify/OneDark-Pro#891 ·
-
need a blur themeオープンfeature request
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Binaryify/OneDark-Pro#880 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Binaryify/OneDark-Pro#878 · コメント 4 件 · リアクション 1 件 ·
-
Support for VS 2026オープンfeature request
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
Binaryify/OneDark-Pro#875 · コメント 1 件 · リアクション 2 件 ·
Binaryify/OneDark-Pro の issue をすべて見る
似ている issue
-
good first issue help wanted
難易度 2/5 1時間未満 初心者へのやさしさ 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
open-webui/open-webui#35184 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danielmiessler/LifeOS#3001 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信