MagicStack / MagicStack/MagicPython
Python modulo operator parsed in a string
未关闭
- 主要语言
- JavaScript
- 星标
- 1.4k
- 派生
- 98
- PR 合并指标
- 30 天内没有已合并 PR
描述
* **Editor name and version**: Visual Studio Code 1.86.2
* **Platform**: macOS
* **Color scheme**:
* **MagicPython version**: https://github.com/microsoft/vscode/pull/164191
* **A sreenshot**:

* **5-10 lines of surrounding code**:
```
print('10 % over')
print("10 % over")
print("""10 % over""")
print('10 % 2')
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
从提供的 Python 复现程序开始,跟踪字符串内容的语法高亮入口点。确认 `%` 在单引号、双引号和三引号字符串中的分类方式,然后验证取模运算符在字符串外仍能被正确高亮,而不会在字符串内被当作代码处理。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, python
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100