MagicStack / MagicStack/MagicPython

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

Open
#236 1 comment 0 reactions 0 assignees View on GitHub

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**:

![Screen Shot 2021-04-13 at 9 47 37 PM](https://user-images.githubusercontent.com/8354571/114655919-09eb9080-9ca2-11eb-9552-44823c90abf8.png)

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.