avocado icon indicating copy to clipboard operation
avocado copied to clipboard

Question: Any way to use this online? Or inside Android Studio as a plugin?

Open AndroidDeveloperLB opened this issue 4 years ago • 4 comments

I have Windows OS :(

AndroidDeveloperLB avatar Mar 11 '20 09:03 AndroidDeveloperLB

Android Studio > Preferences (or Settings) > External Tools > +

Screen Shot 2020-05-27 at 8 28 53 PM

Now when the vector file is open in Android studio Tools > External Tools > Avocado. 🎉

mwajeeh avatar May 27 '20 18:05 mwajeeh

I don't understand. How do I install it for Windows?

AndroidDeveloperLB avatar May 28 '20 20:05 AndroidDeveloperLB

I don't understand. How do I install it for Windows?

Just inatall NodeJS from the official site, then reboot PC (to apply paths into PATH) and install as described in the README.

MenosGrante avatar Jun 20 '20 06:06 MenosGrante

Seems it succeeded to install.

Can I safely call avocado *.xml on the ".../res/drawable" folder of the project, knowing it won't cause any damage to VectorDrawable, and also will skip files that are not VectorDrawable ?

AndroidDeveloperLB avatar Jun 25 '20 10:06 AndroidDeveloperLB

@AndroidDeveloperLB Feel free to take a look at https://plugins.jetbrains.com/plugin/23263-avocado/

Drjacky avatar Dec 04 '23 13:12 Drjacky

@Drjacky Cool! Does it work for you? I chose it from the context menu and I don't see any changes. No UI. No dialog. No nothing... Are there any requirements?

AndroidDeveloperLB avatar Dec 04 '23 13:12 AndroidDeveloperLB

@Drjacky Cool! Does it work for you? I chose it from the context menu and I don't see any changes. No UI. No dialog. No nothing... Are there any requirements?

https://github.com/Drjacky/Avocado#requirement Although I tried to do it in the code; seems needs to be improved.

--

And for now, it works only on one file.

Drjacky avatar Dec 04 '23 17:12 Drjacky

@Drjacky It doesn't say what to install. I tried this: https://nodejs.org/en/download/ I let it install all the additional stuff. Took about half an hour for this to end.

Still the addon doesn't do anything.

AndroidDeveloperLB avatar Dec 04 '23 18:12 AndroidDeveloperLB

@Drjacky It doesn't say what to install. I tried this: https://nodejs.org/en/download/ I let it install all the additional stuff. Took about half an hour for this to end.

Still the addon doesn't do anything.

Install node.

Right click on the content of the opened XML (which is under drawable or drawable-* folders). when clicked, switch to another tab and come back to the XML tab and you will see IDE updated it. (It's the IDE bug/performance issue that doesn't update the edited file immediately) Or Right click on the XML item on the left project pane (which is under drawable or drawable-* folders).

Drjacky avatar Dec 04 '23 19:12 Drjacky

@AndroidDeveloperLB Feel free to open an issue here https://github.com/Drjacky/Avocado/issues and we can continue from there.

Drjacky avatar Dec 04 '23 19:12 Drjacky

@Drjacky It's not what I've linked to? Using cmd, I can see that writing "node" does show result:

image

That's not it? What am I supposed to do?

AndroidDeveloperLB avatar Dec 04 '23 19:12 AndroidDeveloperLB

OK written here: https://github.com/Drjacky/Avocado/issues/110

Thanks

AndroidDeveloperLB avatar Dec 05 '23 15:12 AndroidDeveloperLB