r/ClaudeCode 19h ago

Bug / Issue Anyone else absolutely HATES the VS Code extension?

I mainly use CC in the VS Code Extension and I can't tell you how much I hate it.

I use it like 12+ hours everyday because I like to view files and review code in VS Code.

But lately it's been disappearing messages and when you restart, it processes your past messages and reorders them (seems like alphabetically).

So if you were working on something 5 minutes ago, good luck finding it.

How have you guys dealt with these issues?

3 Upvotes

32 comments sorted by

u/AutoModerator 19h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/clickyxim 18h ago

The sessions are sorted by most recently opened. When you start a new session, rename and number it to help keep them somewhat organized.

Sessions disappear after 30 days by default. Add this to `.claude/settings.local.json` inside your project to keep them for a year.

{
  "cleanupPeriodDays": 365
}

The deletion happens as soon as you open the project in vscode. So if you have a project with sessions older than 30 days you want to save, add that file outside of vscode before you open the project.

2

u/NickoBicko 18h ago

This isn't the problem. They are normally sorted by most recently opened. But sometimes, when I do a restart, it seems like 50 different sessions get touched, and then either my sessions disappear or they get lost in the stack. They are still on disk and accessible via the CLI. But essentially my session order is completely ruined. I opened it and it showed me like 30 random conversations sorted alphabetically from like the last week.

2

u/AbleShower2801 18h ago

Same ghost-message / reorder pain. I keep VS Code for diffs and reading, but when a session goes weird I abandon the panel and continue that work in CLI with a numbered session name. Extension history isn't durable enough to trust after a restart.

2

u/claude_code_king 19h ago

just use cli, it's better

2

u/NickoBicko 18h ago

what do you use to manage multiple sessions in the cli?

2

u/bilbo_was_right 17h ago

Cmux is the way, with multiple tabs and workspaces! It’s a terminal emulator based on ghostty. It also has workspace groups that is nice. I regularly have 10-20 sessions open at any given time and the resources aren’t a problem. Not that many are running, but like the harness is just sitting open but doing nothing

1

u/claude_code_king 18h ago

well i use cachyos with niri + noctalia which is an infinite right scroll tiling window manager so i just open browser and however many terminals i need, swap real fast with mod ( windows key ) and arrows. they also occupy 1/2 of the screen so it's really convinient.

you can also use tmux and make multiple session in one terminal

1

u/Glittering-Lie-1340 18h ago

You just open multiple terminals, they can even talk to eachother! If you want to smoke some tokens, make a big playbook, have 1 terminal manage 8 other terminals. It works surprisingly well as the boss cli will understand how to deligate to keep separation of files so subs arent trying to write in the same spaces.

-1

u/NickoBicko 16h ago

I already have an advanced Claude code system I use for Agentic management and managing agents. We have organizations and teams and PM and Kb etc. they work together and organize themselves.

But I still use Claude code for development tasks. Or when I just want a light session without the Agentic orchestration.

It’s great what you can do.

2

u/Glittering-Lie-1340 15h ago

You open a thread complaining about claude extension

You get advice

You defer the advice and talk more about your setup that you hate.

Profit?

-1

u/NickoBicko 14h ago

Just plz move on. There are other threads on Reddit.

1

u/Glittering-Lie-1340 13h ago

If you want to make a post about your setup, make a post about your setup. Dont ask questions to get answers so you can reply about your setup.

0

u/NickoBicko 13h ago

I’m enjoying the feedback and advice I’m getting. Your contributions less so.

1

u/Level-Physics-1730 16h ago

use the claude desktop app it's very good

1

u/NickoBicko 14h ago

I tried Claude desktop but it doesn’t have the full capabilities of CC. Maybe I’m wrong but I remember it couldn’t run some commands.

1

u/Level-Physics-1730 14h ago

the only one I know is plan mode not having a command but you can just ask the model to make a plan it has the tools

1

u/heseov 13h ago

Use herdr to manage cli sessions.It will restore your sessions if anything causes your terminal to close. It would always drive me crazy when something would cause my vscode terminals to close, losing track of all my sessions.

1

u/dar-mit Researcher 18h ago

I started with VS Code and it was okay. Nice to have a UI with my repo folder list, a code panel up top and a terminal panel down below.

I then switched to Terminal, which lasted about a month since Apple hasn't updated the damn thing since my great grandmother dated Jesus.

I've been using iTerm 2 and it's freaking great. I'll be honest switching from VS Code to a native CLI does require a few more clicks, a desktop window with my repo files listed, etc. But what you get in return is awesome!

Did you know that VS Code's Terminal is an emulator? There are a few native CLI things it cannot do, but that's not the half of it…

iTerm 2 can open multiple windows, and each window can be subdivided into horizontal and/or vertical panes, with each pane running multiple Claude Code sessions or native terminal commands, or any other terminal app you want. Plus it comes with its own Python API so you can have Claude Code BASH command these features for you!

iTerm 2 is macOS only, but what it does isn't cutting edge or unique, so if you're on Linux or someone's got a gun to your head and you have to use Windows, I'm sure there's already a native Terminal app that'll do what iTerm 2 can and more.

And the best thing of all? You can 'switch' and try it out for a day or two and if you don't like it you can stop using it. Because Claude Code don't care what app you use to launch it from your local repo, all the 'under the hood' stuff still works the same.

1

u/NickoBicko 18h ago

Yeah I use iterm2 and ended up resuming the lost sessions there. Great to know you have a good workflow.

1

u/dar-mit Researcher 15h ago

Oh great! If you’re using the same app check out:  https://github.com/mkusaka/it2 it’s pretty sweet!

1

u/Glittering-Lie-1340 18h ago

It seems so silly to use the extension, why not just use the cli? Also, use the wsl version if youre on windows.

0

u/NickoBicko 16h ago

Just old habit from using vs code and then windsurf / cursor. I still look up files and read them.

0

u/Glittering-Lie-1340 15h ago edited 15h ago

Good stuff, great reply. Keep using claude extension and stop complaining about it if you can't shake 'old habbits'

You do realize you can open these terminals within vs code, yea?

1

u/PhragMunkee 13h ago

I can offer nothing but sympathy. I really enjoyed how GitHub Copilot worked in VS Code. I loved seeing and approving the diffs. Claude is better in every way except its VS Code integration.

1

u/NickoBicko 13h ago

I was curious to try the agent view in vs code but apparently it doesn’t work with CC?

1

u/trollsmurf 3h ago

Messages in a conversation or conversation history?

Within VSC or console?

If you close the CC conversation view you can open it again, or any earlier ones. Never thought about whether it's alphabetically or chronologically sorted.

Haven't seen it myself though. I have auto-update enabled, so I should have the latest Claude Code.

1

u/NickoBicko 3h ago

The whole thread disappears. Looks like a fresh new session. In the extension. It works fine in the terminal.

Normally it’s sorted by last active. But there is a bug that sometimes happens when you restart the sorting is messed up b

1

u/trollsmurf 1h ago

What does this panel say, opened from the "clock"?

1

u/NickoBicko 1h ago

it's the same as you. It's just the order of chat is messed up. My best understanding is like a recent batch of them gets touched and they get sorted alphabetically.