Conan-center-index: [center.conan.io] Can't copy from a package's recipe content

Created on 6 Feb 2020  路  10Comments  路  Source: conan-io/conan-center-index

I can't copy from the content of a recipe. For example if I go here: https://conan.io/center/fmt/6.1.2/?user=_&channel=_&revision=&os=&tab=recipe and click recipe tab, and select then right clicking does not give copy and ctrl+c also does not copy.

conan.icenter

Most helpful comment

yeah, it's possible, but still requires more actions (clicks) to get the effect needed. e.g. if I only need to copy a few lines. I have to download file somewhere, open it, copy lines, then delete... sounds annoying.

All 10 comments

Hi @iwan-aucamp-emerson !

You can also run Conan client to get its content:

conan get fmt/6.1.2@ -r conan-center > conanfile.py

Furthermore, you can download the recipe by clicking on "Download" button

Screenshot_2020-02-06 Fmt Package version - 6 1 2 - ConanCenter - JFrog

Regards!

Anyway, I can confirm that ctrl+c is not able to copy the recipe content on that page.

yeah, it's possible, but still requires more actions (clicks) to get the effect needed. e.g. if I only need to copy a few lines. I have to download file somewhere, open it, copy lines, then delete... sounds annoying.

/cc @Dattax

Interesting. With Firefox I can mark lines of code, I get the regular context menu with a copy function, but it does not copy anything

BTW I'm running Mozilla Firefox 72.0.2 on Linux

Thanks for bringing this up - we'll address this.

@Dattax is the plan to add a copy to the clipboard icon? Can you share a recent mockup here?

hi @aucampia-emrsn, this issue has been addressed. A new copy icon was added to the recipe tab that allows recipe content to be copied over. Here's an example - https://conan.io/center/fmt?tab=recipe

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndreyMlashkin picture AndreyMlashkin  路  3Comments

uilianries picture uilianries  路  3Comments

prince-chrismc picture prince-chrismc  路  3Comments

mmha picture mmha  路  3Comments

danimtb picture danimtb  路  3Comments