惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
L
LangChain Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
IT之家
IT之家
A
About on SuperTechFans
H
Help Net Security

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built a VS Code Extension "Show History for Selection"
No Name · 2026-05-03 · via DEV Community
Cover image for I Built a VS Code Extension "Show History for Selection"

No Name

I Built a VS Code Extension to Bring IntelliJ’s “Show History for Selection” Experience

If you come from IntelliJ, you probably miss one super useful feature in VS Code:

Show history for selected lines.

I built a new extension to solve exactly that.

Meet: Show History for Selected Code

This extension helps you inspect Git history for a specific code selection, not just the whole file.

What it does

  • Shows commit history for the lines you selected
  • Opens a side-by-side diff:
    • Parent (previous revision)
    • Revision (selected commit)
  • Syncs scrolling between both sides for easier comparison
  • Lets you resize the commits section
  • Click a commit message to open full details in a modal

Why I built it

In day-to-day debugging and code review, I often ask:

  • “Who changed this exact block?”
  • “What did this snippet look like before?”
  • “Why was this line introduced?”

git blame is useful, but it’s not enough when you want a clean visual timeline + commit-level diff focused on your selection.

So I built this extension to make that workflow fast and visual.

How to use

  1. Open any Git-tracked file in VS Code
  2. Select one or more lines
  3. Run command: Show History for Selection
  4. Pick a commit from the list
  5. Compare Parent vs Revision instantly

Technical notes

  • Built as a VS Code extension (TypeScript)
  • Uses Git line-history queries and range fallback
  • Optimized UI for quick investigation workflow
  • Marketplace-ready packaging and branding

Who is this for?

  • Developers debugging regressions
  • Reviewers investigating code changes
  • Teams migrating from IntelliJ to VS Code/Cursor
  • Anyone who wants better Git line-level visibility

Try it

If this sounds useful, give it a try and share feedback.

I’d love to hear:

  • What workflows you use it for
  • Features you want next (filters, inline blame, keyboard shortcuts, etc.)
  • Any edge cases in large repos

What I’m planning next

  • Better commit filtering/search
  • Richer diff context options
  • UX polish for huge files and long histories
  • What workflows you use it for
  • Features you want next (filters, inline blame, keyboard shortcuts, etc.)
  • Any edge cases in large repos

What I’m planning next

  • Better commit filtering/search
  • Richer diff context options
  • UX polish for huge files and long histories