Losing TypeScript syntax higlighting when using angle brackets on separate lines
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript
- 領域
- tooling
研究方向
使用 issue 中的 TypeScript 範例,在 VS Code 或 vscode.dev 中重現語法醒目提示失敗的問題。先檢查儲存庫的 TextMate 文法檔案,並確認尖括號運算式跨越多行後,string 和 return 關鍵字仍會醒目提示。
由索引模型根據 Issue 內容生成。
描述
Try this on https://vscode.dev/ or in VS Code:
See comments for where it fails.
class C {
A() {
return foo(bar, <
a
>{ v: "a string" }); // string is not colored
}
B() {
return 101; // return keyword is not colored
}
}
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
- OS Version:
Steps to Reproduce:
- 主要語言
- TypeScript
- 星號
- 471
- 分支
- 149
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/TypeScript-TmLanguage 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
microsoft/TypeScript-TmLanguage#1071 ·
-
triste 未關閉
難度 5/5 一週以上 新手友好度 5/100
microsoft/TypeScript-TmLanguage#1078 ·
-
難度 3/5 1-2 天 新手友好度 68/100
microsoft/TypeScript-TmLanguage#1076 · 6 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 55/100
microsoft/TypeScript-TmLanguage#1074 · 2 則留言 ·
-
難度 1/5 1-3 小時 新手友好度 58/100
microsoft/TypeScript-TmLanguage#1066 · 1 則留言 ·
查看 microsoft/TypeScript-TmLanguage 的全部 Issue
相似的 Issue
-
comp/dashboard P3 type/bug
難度 2/5 1-3 小時 新手友好度 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難度 2/5 1-3 小時 新手友好度 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 76/100
-
code-quality refactoring
難度 2/5 1-3 小時 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·