MagicStack / MagicStack/MagicPython

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

Aberta
#236 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
JavaScript
Estrelas
1.4k
Forks
98
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python, vscode
Domínio
tooling
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.