Pub-dev: Add a colon in the title of a package, so it is easier to copy and paste to an existing project

Created on 26 Aug 2020  路  3Comments  路  Source: dart-lang/pub-dev

Hello! 馃憢

I see myself very often navigating pub.dev to find a package and its latest version. Every time I land on the package that I want, I tend to copy its title and version, and then go straight to my pubspec.yaml file to paste, and then I have to get in the middle of the string to add the colon necessary for yaml to parse the package and version...

I think it might save some time and frustration to add a colon between the package name and its version, so it is a faster process. See screenshot below 馃憞

Screen Shot 2020-08-26 at 1 14 17 PM

If you think this change request is worth it, I'd love to open a pull request including this! Let me know what you think!

Thank you!

Most helpful comment

I would like to suggest a small copy button for this feature request, so that we can just do a one click to copy instead of Double click or select by holding the mouse button.

All 3 comments

Or even just put an invisible text element on top with the colon in it? Is that possible?

I would like to suggest a small copy button for this feature request, so that we can just do a one click to copy instead of Double click or select by holding the mouse button.

Thanks for filing the issue! I'm closing this, as the duplicate of #3336. We are planning to implement one of the suggested methods.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erickzanardo picture erickzanardo  路  5Comments

Henry-Keys picture Henry-Keys  路  6Comments

feinstein picture feinstein  路  7Comments

yeradis picture yeradis  路  3Comments

brianegan picture brianegan  路  4Comments