MagicStack / MagicStack/MagicPython

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

Đang mở
#236 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python, vscode
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.