microsoft / microsoft/vscode-cpptools

Doxygen var command not parsed

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

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

enhancement Feature: Doc comments Language Service
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

Environment
  • OS and Version: Windows 11 24H2
  • VS Code Version: 1.99.3
  • C/C++ Extension Version: 2.0.0
Bug Summary and Steps to Reproduce

Bug Summary: @var and \var are not recognized as doxygen command tokens.

Steps to reproduce:

  1. Create a doxygen-style comment
  2. Add a @var or \var command
  3. Bask in the lack of highlighting
  4. If you want to confirm your fears, use the inspect tokens command of vscode

Expected behavior:

@var and \var should be recognized as doxygen command tokens.

Configuration and Logs
{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${default}"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.22621.0",
            "intelliSenseMode": "windows-msvc-x64"
        }
    ],
    "version": 4
}
Other Extensions

No response

Additional context

No response

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

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

はじめの一歩

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

調査の方向性

まず、TypeScript 拡張機能のソースにある Doxygen コマンドトークンの定義を見つけ、既存の @ コマンドと \ コマンドがどのように認識されているかを確認します。Doxygen 形式の C++ コメントと VS Code の Inspect Tokens コマンドを使って問題を再現します。@var と \var の両方が Doxygen コマンドトークンとして分類されれば完了です。

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

評価

技術スタック
typescript, vscode
領域
devtools
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
52/100

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

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