DEV Community

Ali Aldahmani
Ali Aldahmani

Posted on

I got tired of Googling pandas methods, so I built this

I built a VS Code extension that shows Python cheat sheets right next to your code.

So I got tired of switching between my editor and browser every time I forgot a pandas method or a numpy function. You know the drill, you're in the zone, writing code, and then you have to stop, open a new tab, search "pandas groupby example", scroll past 3 Stack Overflow answers... and by the time you get back to your code, you've lost your train of thought.

So I built something to fix that.

DevLens is a VS Code extension that opens a cheat sheet panel right beside your code. It covers HTML, CSS, Tailwind, NumPy, Pandas, Matplotlib, Seaborn, and Scikit-learn (for now).

The part I'm most happy with is the auto-detection. When you open a .py file, it scans your imports and automatically switches to the right library. Open a file with import pandas as pd, and it's already showing you pandas snippets. No clicking, no selecting.

Every snippet has two buttons: Insert drops it directly at your cursor, and Copy puts it on your clipboard. Small thing, but it saves a surprising amount of time.

What's next:

More Python libraries (requests, os, datetime...)
JavaScript and TypeScript support
Java support
Install the library button directly from the panel

It's open source, still early, and I'd love feedback from other developers.

👉 GitHub: https://github.com/Ali-Aldahmani/devlens

Would love to hear what libraries you'd want added first. Drop a comment! 🙌

Top comments (0)