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.