Denis` blog

Personal blog about software development, games and other stuff.

If You Are Curios Like Me

Posted at — Jul 14, 2024

Every time when I clone a flutter/dart repo to see a specific functionality or to learn something new, I always open pubspec.yaml first just out of curiosity. Pretty often the main attention point of looking at pubspec.yaml is the dependencies section.

If you are like me, you probably have the same habit of copy a dependency name and paste it to browser’s search input or straight to the pub.dev website to see what the package is about, how it is used, and what it offers.

Last week I realized that I can save some time and have some really easy entry point for Vscode extension development. I decided to create a simple extension that will allow me to open pub.dev for a package directly from the Vscode.

Here it is, PubLink.

PubLink

Some takeaways from this small project:

I’m planing to extend this extension with more features in the future. One of the ideas is to show a popup with a package information like description, version, and so on. It will be a good exercise to work with Vscode API and a http client in Typescript.