Difference between installing and embedding an extension? #6291
-
DescriptionHi Quarto team, I have just updated the extension I am developing to embed latex-environment instead of having it installed side by side with my own extension. It took me a bit to realize the difference, i.e. I had to see how the directory structure changed: ramiromagno/wiley-njd@033da0f. If I may give a suggestion, I think you could help your users understanding these nuances by doing three things:
And perhaps try to come up with more specific semantics as "adding", "installing" and "embedding" can have overlapping meanings depending on the context. Ah, I forgot something, it would be nice to have messages printed to the console when adding/embedding an extension, i.e. telling you exactly what is changing in the file system, akin to what the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thanks for the feedback!
Concretely, what do you suggest? (PRs are welcomed)
Most extensions are distributed through Git repository, Git provides diff of the changes. |
Beta Was this translation helpful? Give feedback.
-
Hey @mcanouil , Thank you for your detailed replies.
Regarding the semantics, I don't have a suggestion to give, I'm just giving feedback as a user --- I believe that is welcomed too, not just PRs. But note that if I had the knowledge/time, I'd be glad to contribute. With regards to my last point about the file system changes, I was perhaps not clear enough. I meant the changes that happen when you install or embed an extension, regardless of whether you're using version control or not. Example:
So it would have been nice to know that a new folder popped up: All of my feedback on Quarto should be regarded as user experience feedback, not like fellow developer's feedback... I guess there is space for that too. |
Beta Was this translation helpful? Give feedback.
@ramiromagno I made a PR to the documentation to improve the example to embed an extension when developing one and to add the directory from my previous message.