Wrong highlight for raw string
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript, python
- 領域
- tooling
研究方向
首先,使用 MagicPython 在 VS Code 1.81.1 中重現回報的 Python 程式碼片段,並將語法醒目顯示與預期的螢幕擷取畫面和實際的螢幕擷取畫面進行比較。當 raw string 中的反斜線不再被醒目顯示為跳脫字元,而一般跳脫序列仍保留其醒目顯示時,工作即完成。
由索引模型根據 Issue 內容生成。
描述
- Editor name and version: VS Code 1.81.1
- Platform: any
- Color scheme: any
- MagicPython version: 7d0f2b22a5ad8fccbd7341bc7b7a715169283044
- A sreenshot:
Expected
Actual: The \ of a raw string is the \ and not the escape character, but the hignlight still treats them as escapes.
- 5-10 lines of surrounding code:
print(r"C:\Users\test")
Originally from @AuroraTea in https://github.com/microsoft/vscode/issues/190519
- 主要語言
- JavaScript
- 星號
- 1.4k
- 分支
- 98
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MagicStack/MagicPython 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 58/100
MagicStack/MagicPython#275 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 48/100
MagicStack/MagicPython#273 · 7 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 25/100
MagicStack/MagicPython#269 ·
-
難度 3/5 1-2 天 新手友好度 42/100
MagicStack/MagicPython#267 ·
-
難度 3/5 1-2 天 新手友好度 42/100
MagicStack/MagicPython#265 · 2 則留言 ·
查看 MagicStack/MagicPython 的全部 Issue
相似的 Issue
-
bot:ai-assisted component:compact-js status:untriaged
難度 2/5 1-3 小時 新手友好度 84/100
midnightntwrk/midnight-sdk#403 ·
-
難度 1/5 1 小時以內 新手友好度 92/100
-
難度 1/5 1-3 小時 新手友好度 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
難度 2/5 1-3 小時 新手友好度 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
難度 2/5 1-3 小時 新手友好度 90/100