Replace the textarea with a code editor

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, python

Hướng nghiên cứu

Start by locating the panel’s textarea and checking how the extension currently bundles its scripts and persists panel state. The issue suggests CodeMirror 6; verify how it fits the extension’s build and Manifest V3 setup. Done means Python highlighting, the specified indentation controls, light and dark mode support, bundled editor code, and unsaved text restored after reopening the panel.

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

Mô tả

editor good first issue user story

User story

As a script author, I want syntax highlighting and proper indentation in the panel, so that writing Python there is comfortable.

Why

The editor is a plain textarea.

Acceptance criteria

  • Python syntax highlighting
  • Auto-indent after a colon; Tab and Shift+Tab indent and dedent
  • Works in light and dark mode
  • The editor library is bundled in the extension, not loaded from a CDN (Manifest V3 forbids remote code)
  • Unsaved text survives closing and reopening the panel

Notes

CodeMirror 6 is the usual choice.


Generated by Claude Code

Ngôn ngữ chính
JavaScript
Star
1
Fork
1
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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.

Issue khác của Ohr-Co/PyMonkey

Tất cả issue của Ohr-Co/PyMonkey

Issue tương tự

Thêm issue về JavaScript

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.