MagicStack / MagicStack/MagicPython

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

Ouverte
#236 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
JavaScript
Étoiles
1.4k
Forks
98
Métriques de merge des PR
Aucune PR mergée en 30 j

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
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, vscode
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.