MagicStack / MagicStack/MagicPython

"Toggle Line Comment" (aka: cmd + /) Not Working

未关闭
#236 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.4k
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

  • Editor name and version: VSCode v1.55.0
  • Platform:
  • Color scheme: default
  • MagicPython version: v1.1.0
  • A sreenshot:
  • 5-10 lines of surrounding code:

Screen Shot 2021-04-13 at 9 47 37 PM

The issue I'm having is simple. I was using Python for VSCode without any issues but then started having code-coloring issues when using typings. I then installed "Python Extension Pack" (see below) which includes MagicPython, and when I try to run "cmd + /" or manually execute the command with "> Toggle Line Comment" it doesn't do anything.

I checked the keyboard shortcut and there is no conflicting shortcut as well as the keyboard shortcut is set correctly.

Name: Python Extension Pack
Id: donjayamanne.python-extension-pack
Description: Popular Visual Studio Code extensions for Python
Version: 1.6.0
Publisher: Don Jayamanne
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=donjayamanne.python-extension-pack

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

在安装了 MagicPython v1.1.0 和列出的 Python Extension Pack 的情况下,使用 cmd + / 和 Toggle Line Comment 命令,在 VSCode v1.55.0 中复现该故障。检查 MagicPython 如何声明 Python 注释,以及 VSCode 如何选择活动语言模式。当行注释能够正常切换且不存在快捷键冲突时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, vscode
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。