Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Better content assist inside of comments

未關閉
#391 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 6 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
typescript, vscode

研究方向

從語言伺服器和連結的 QLDoc 規範開始,了解註解結構、標籤和支援的 Markdown 語法。為文件化的標籤實作補全,並為 Markdown 風格的反引號和底線實作自動閉合,然後在 QLDoc 註解中驗證這兩種行為。

由索引模型根據 Issue 內容生成。

描述

enhancement VSCode

Inside of a QLDoc, there is structure and the editor can be more helpful at providing better content assist support for comments and tags.

Documentation on QLDoc: https://help.semmle.com/QL/ql-spec/qldoc.html

At a minimum, the editor should propose completion of well known tags, e.g. all the tags here-

/**
 * @name Useless assignment to local variable
 * @description An assignment to a local variable that is not used later on, or whose value is always
 *              overwritten, has no effect.
 * @kind problem
 * @problem.severity warning
 * @id cs/useless-assignment-to-local
 * @tags maintainability
 *       external/cwe/cwe-563
 * @precision very-high
 */

Also, since QLDoc accepts markdown syntax, we should auto-close markdown-ish tags, like backticks and _

This task will probably require changes to the language server.

主要語言
TypeScript
星號
539
分支
240
平均合併
2 天 18 小時
30 天內合併 PR
37

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/vscode-codeql 的其他 Issue

查看 github/vscode-codeql 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。