<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: No Name</title>
    <description>The latest articles on DEV Community by No Name (@0xgsmart).</description>
    <link>https://dev.to/0xgsmart</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F425832%2F298b8182-2db9-41a1-b5ce-75d64ba02db9.png</url>
      <title>DEV Community: No Name</title>
      <link>https://dev.to/0xgsmart</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xgsmart"/>
    <language>en</language>
    <item>
      <title>I Built a VS Code Extension "Show History for Selection"</title>
      <dc:creator>No Name</dc:creator>
      <pubDate>Sun, 03 May 2026 14:36:26 +0000</pubDate>
      <link>https://dev.to/0xgsmart/i-built-a-vs-code-extension-show-history-for-selection-4bcc</link>
      <guid>https://dev.to/0xgsmart/i-built-a-vs-code-extension-show-history-for-selection-4bcc</guid>
      <description>&lt;h1&gt;
  
  
  I Built a VS Code Extension to Bring IntelliJ’s “&lt;a href="https://marketplace.visualstudio.com/items?itemName=menincode.show-history-for-selected-code&amp;amp;ssr=false#review-details" rel="noopener noreferrer"&gt;Show History for Selection&lt;/a&gt;” Experience
&lt;/h1&gt;

&lt;p&gt;If you come from IntelliJ, you probably miss one super useful feature in VS Code:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Show history for selected lines.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built a new extension to solve exactly that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meet: &lt;strong&gt;Show History for Selected Code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This extension helps you inspect Git history for a specific code selection, not just the whole file.&lt;/p&gt;

&lt;h3&gt;
  
  
  What it does
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Shows commit history for the lines you selected&lt;/li&gt;
&lt;li&gt;Opens a side-by-side diff:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Parent&lt;/strong&gt; (previous revision)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Revision&lt;/strong&gt; (selected commit)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Syncs scrolling between both sides for easier comparison&lt;/li&gt;

&lt;li&gt;Lets you resize the commits section&lt;/li&gt;

&lt;li&gt;Click a commit message to open full details in a modal&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;In day-to-day debugging and code review, I often ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Who changed this exact block?”&lt;/li&gt;
&lt;li&gt;“What did this snippet look like before?”&lt;/li&gt;
&lt;li&gt;“Why was this line introduced?”&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;So I built this extension to make that workflow fast and visual.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open any Git-tracked file in VS Code&lt;/li&gt;
&lt;li&gt;Select one or more lines&lt;/li&gt;
&lt;li&gt;Run command: &lt;strong&gt;Show History for Selection&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Pick a commit from the list&lt;/li&gt;
&lt;li&gt;Compare Parent vs Revision instantly&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Technical notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Built as a VS Code extension (TypeScript)&lt;/li&gt;
&lt;li&gt;Uses Git line-history queries and range fallback&lt;/li&gt;
&lt;li&gt;Optimized UI for quick investigation workflow&lt;/li&gt;
&lt;li&gt;Marketplace-ready packaging and branding&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Who is this for?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Developers debugging regressions&lt;/li&gt;
&lt;li&gt;Reviewers investigating code changes&lt;/li&gt;
&lt;li&gt;Teams migrating from IntelliJ to VS Code/Cursor&lt;/li&gt;
&lt;li&gt;Anyone who wants better Git line-level visibility&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;If this sounds useful, give it a try and share feedback.&lt;/p&gt;

&lt;p&gt;I’d love to hear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What workflows you use it for&lt;/li&gt;
&lt;li&gt;Features you want next (filters, inline blame, keyboard shortcuts, etc.)&lt;/li&gt;
&lt;li&gt;Any edge cases in large repos&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I’m planning next
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  What I’m planning next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Better commit filtering/search&lt;/li&gt;
&lt;li&gt;Richer diff context options&lt;/li&gt;
&lt;li&gt;UX polish for huge files and long histories&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>git</category>
      <category>vscode</category>
      <category>extensions</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
