Bỏ qua đến nội dung

External Code Editor

Chờ xử lý #anki #addon #external #code #editor
https://github.com/itsmepvr/anki-external-code-editor
18/1/2024

Cách tải addon External Code Editor

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1732661953

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1732661953 và copy

6
1

Mô tả chi tiết

External Code Editor

The External Code Editor addon offers enhanced code editing and updating capabilities during both review and preview sessions. This powerful tool enables you to seamlessly copy code from your review or preview, edit it within an external HTML editor, and then run the code directly within the review or preview environment, mirroring browser-like functionality. This addon streamlines code updates within both review and preview states of notetypes, proving invaluable for add-on development and the creation of intricate card templates.

Features Copy Code (Ctrl+c): Generates an HTML file within the collection.media directory, copying the code from the current notetype to this HTML file. External HTML Editing: Edit the HTML file using an external editor (e.g., VSCode), refining your code with precision. Update Code (Ctrl+s): Effortlessly synchronize the updated code from the HTML file back into the notetype during review sessions, immediately reloading the current card. Open File (Ctrl+o): Open the HTML file in default VSCode or any default code editor. Requirements

Compatible with Anki version >= v2.1.20.

Usage Deckbrowser Integration: Incorporates Copy Code and Update Code options into the menubar within the Deckbrowser, streamlining your code management workflow. Efficient Editing: Seamlessly copy, edit, and update code from the review and preview states, facilitating fluid card template refinement. Enhanced Preview Functionality: In the preview state, simply right-click to access copy and update code options, offering a user-friendly experience. Code Inspection: Utilize the AnkiWebView Inspector addon to meticulously examine your code for any potential errors or issues. Compatibility

Works with Anki version >= v2.1.20.

Source Code

For any inquiries or to report issues, please visit the GitHub repository.

Author Venkata Ramana P Github

This project is licensed under The MIT License (MIT).


Liên kết hỗ trợ


Reviews (7)

👍 2021-02-14

Doesn’t work on macOS on 2.1.40. The plugin doesn’t mention supported platforms, but when in a Review State, the action items don’t appear in the macOS menubar. Comment from author Sorry, I should have mentioned it. I didn’t tested this on macOS.

👍 2020-10-21

Holy, this saved a lot of time. Thank you.

👍 2020-10-07

This is exactly what I’ve been looking for. Thank you.

👍 2020-09-18

Man how come this Developer come with Amazing shit like this, mind blowing man, It’s time to leave this Planet 🌍. Bbye 🚀

👍 2020-07-31

Working, just like a browser. Updates code and reload card.

👍 2020-07-31

Working perfectly in Anki 2.1.15 Comment from author Updated addon to the latest version >= 2.1.20

👍 2020-07-31

Addon to update code from code editor is more easier.