<?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: Mantas</title>
    <description>The latest articles on DEV Community by Mantas (@mantasu).</description>
    <link>https://dev.to/mantasu</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4004534%2Fb197fa59-89c1-474c-af7a-3101c6e4f80d.jpg</url>
      <title>DEV Community: Mantas</title>
      <link>https://dev.to/mantasu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mantasu"/>
    <language>en</language>
    <item>
      <title>I got tired of switching apps to work with PDFs, so I built a VS Code extension</title>
      <dc:creator>Mantas</dc:creator>
      <pubDate>Sat, 17 Oct 2026 21:29:59 +0000</pubDate>
      <link>https://dev.to/mantasu/i-got-tired-of-switching-apps-to-work-with-pdfs-so-i-built-a-vs-code-extension-e9l</link>
      <guid>https://dev.to/mantasu/i-got-tired-of-switching-apps-to-work-with-pdfs-so-i-built-a-vs-code-extension-e9l</guid>
      <description>&lt;p&gt;&lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;VS Code&lt;/a&gt; is where I do most of my work, but whenever I needed to properly review a PDF, I kept switching to another app just to highlight a passage, leave a comment, or sign a document.&lt;/p&gt;

&lt;p&gt;I wanted to do all of that without breaking my workflow, especially when reading research papers or working with technical documents.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://github.com/mantasu/pdf-editor" rel="noopener noreferrer"&gt;PDF Viewer &amp;amp; Editor&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F144mjkk0av0h3nybgx97.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F144mjkk0av0h3nybgx97.gif" alt=" " width="720" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It lets you annotate PDFs directly in VS Code: highlight and underline text, leave comments, write rich-text notes with &lt;a href="https://latex-project.org/" rel="noopener noreferrer"&gt;LaTeX&lt;/a&gt; maths, draw shapes, fill forms, and sign documents. It also integrates with &lt;a href="https://code.visualstudio.com/docs/copilot/overview" rel="noopener noreferrer"&gt;GitHub Copilot&lt;/a&gt;, so you can ask it to explain or summarize a passage, or use &lt;code&gt;@pdf&lt;/code&gt; directly in Copilot Chat.&lt;/p&gt;

&lt;p&gt;The fun part wasn't just adding annotation tools - it was making sure the saved edits would still work outside VS Code. Annotations are saved using standard PDF annotations, so your edited documents can still be opened in &lt;a href="https://www.adobe.com/uk/acrobat.html" rel="noopener noreferrer"&gt;Acrobat&lt;/a&gt;, &lt;a href="https://support.apple.com/en-gb/guide/preview/welcome/mac" rel="noopener noreferrer"&gt;Preview&lt;/a&gt;, and browsers.&lt;/p&gt;

&lt;p&gt;You can also rotate, reorder, and insert pages, print, and undo changes.&lt;/p&gt;

&lt;p&gt;If you've ever had to jump between your editor and a PDF app while reviewing papers or filling out documents, I'd love to know if this is something you'd use :)&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>vscode</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I got annoyed with VS Code's Outline, so I fixed it</title>
      <dc:creator>Mantas</dc:creator>
      <pubDate>Fri, 26 Jun 2026 21:45:52 +0000</pubDate>
      <link>https://dev.to/mantasu/i-got-annoyed-with-vs-codes-outline-so-i-fixed-it-5ebi</link>
      <guid>https://dev.to/mantasu/i-got-annoyed-with-vs-codes-outline-so-i-fixed-it-5ebi</guid>
      <description>&lt;p&gt;&lt;a href="https://code.visualstudio.com/docs/editing/userinterface#_outline-view" rel="noopener noreferrer"&gt;VS Code's Outline&lt;/a&gt; is great for classes and methods, but it ignores things like &lt;a href="https://code.visualstudio.com/docs/editing/codebasics#_folding" rel="noopener noreferrer"&gt;folding regions&lt;/a&gt; (&lt;code&gt;#region&lt;/code&gt;) and comment banners.&lt;/p&gt;

&lt;p&gt;I found a couple of extensions that solve this, but they all create a second Outline panel. I really just wanted the built-in one to understand my sections.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://github.com/mantasu/outline-sections" rel="noopener noreferrer"&gt;Outline Sections&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmieig1e0qlz5xch2zg1f.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmieig1e0qlz5xch2zg1f.gif" alt="Outline Sections Demo" width="600" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It adds comment sections directly into the existing Outline, works with TypeScript, Python, C/C++, Rust, and also supports custom regex for different comment styles.&lt;/p&gt;

&lt;p&gt;The fun part wasn't parsing comments (AI agents can do this) - it was extending the symbols produced by the existing language analysers without replacing them. These analysers use &lt;a href="https://code.visualstudio.com/api/language-extensions/language-server-extension-guide" rel="noopener noreferrer"&gt;language clients&lt;/a&gt; (LCs) which are not publicly exposed so it's definitely quite a challenge reaching them, let alone intercepting with custom rules.&lt;/p&gt;

&lt;p&gt;Nevertheless, if you've ever organised code with comment sections, I'd love to know if this would be something you'd use :)&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
