MagicStack / MagicStack/MagicPython
"Toggle Line Comment" (aka: cmd + /) Not Working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
* **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**:

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
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in VSCode v1.55.0 with MagicPython v1.1.0 and the listed Python Extension Pack installed, using both cmd + / and the Toggle Line Comment command. Check how MagicPython declares Python comments and how VSCode selects the active language mode. Done means line comments toggle normally without a shortcut conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100