BrandonKirbyson / VSCode-Animations

A VSCode extension that adds animations to the editor
https://marketplace.visualstudio.com/items?itemName=BrandonKirbyson.vscode-animations
MIT License
213 stars 6 forks source link

not an issue tho i need help with html adding #77

Open RIPISDRAD opened 1 month ago

RIPISDRAD commented 1 month ago

hi guys its not an issue just want a help how can i add a html to the vscodes code u guys made it so js and css could be added or changed i now want to add html elements what should i do? i need canvas for what i want so what should i do? or is it even possible

BrandonKirbyson commented 1 month ago

Adding html can be pretty tricky and you have to be careful to not mess up any vscode stuff but it is possible. Also you would have to use js to insert the html but that can be done pretty simply with something like: document.body.insertAdjacentElement("afterbegin", element);

VSCode Animations isn't made for injecting html so to do that I would recommend to use Custom CSS and JS Loader or Apc Customize UI++. Either of these allow you to load in custom js files which you can then use to inject the html, also this extension uses either to run.

Let me know if you have any more questions.

RIPISDRAD commented 1 month ago

thanks a ton i will check it and ask if there was anything more thanks a ton

On Sun, Sep 29, 2024 at 6:08 PM BrandonKirbyson @.***> wrote:

Adding html can be pretty tricky and you have to be careful to not mess up any vscode stuff but it is possible. Also you would have to use js to insert the html but that can be done pretty simply with something like: document.body.insertAdjacentElement("afterbegin", element);

VSCode Animations isn't made for injecting html so to do that I would recommend to use Custom CSS and JS Loader https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css or Apc Customize UI++ https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension. Either of these allow you to load in custom js files which you can then use to inject the html, also this extension uses either to run.

Let me know if you have any more questions.

— Reply to this email directly, view it on GitHub https://github.com/BrandonKirbyson/VSCode-Animations/issues/77#issuecomment-2381382558, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHNDQHEPPQLDWXB3HJEB33ZZAGFDAVCNFSM6AAAAABPBX7PB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM4DENJVHA . You are receiving this because you authored the thread.Message ID: @.***>

ninjacoder77 commented 1 month ago

It seems like Custom CSS and JS Loader and Apc Customize UI++ are not working in the new version of VSCode (version 1.94). Do you have any other alternatives to use animations in VSCode at the moment?

BrandonKirbyson commented 1 month ago

Have you tried Animations: Install Animations?

Xyf0606 commented 1 month ago

Have you tried Animations: Install Animations?

It's not working, I've tried.