How can I disable the visibility of AI Pane / Secondary Side Bar completely?

I used the “workbench.action.moveSecondarySideBarToPanel” command to move the AI Chat window to the Panel. However, when I click the “New Chat” (+) button , it toggles the AI Pane / Secondary Side Bar visibility that displays a placeholder text “Drag a view here to display”.

How can I fully disable the AI Pane / Secondary Side Bar visibility to prevent it from opening, considering there is no content to show once the AI Chat is in the Panel?

2 Likes

Hi @romeromarcelo,

You can toggle the AI Pane by clicking the x button (given screenshot below). You can also toggle the visibility of the pane by doing cmd/ctrl+L.

Please let me know if it doesn’t work!

Hey @shaoruu, thanks for your reply!

But what I actually want is to use AI Chat directly on the Panel without the AI Pane/Secondary Sidebar opening every time I start a new chat. In other words, I don’t want to manually close it by clicking the “x” or using keybindings each time I start a new chat.

CleanShot 2024-04-09 at 2 .59.44

2 Likes

Hi @romeromarcelo,

This is very weird, the expected behavior is to use AI Chat inside the AI pane, not sure why it is opening a complete different pane for you :thinking:

Which version of Cursor are you on? And, by any chance, do you have any custom settings with the AI pane / side bars?

Sorry for this to happen!

Same is happening for me!! This is SO anoying!!!

Version: 0.31.3
VSCode Version: 1.86.2
Commit: fcd6e551d6f014d13071eac9bd4904e7e0346720
Date: 2024-04-02T20:20:11.019Z
Electron: 27.2.3
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 21.6.0

Hi all, is there any update on this feedback? It still happens in the latest version.

Version: 0.35.0
VSCode Version: 1.89.1
Commit: 5f9353ed8be369c4ac2b4d43596f5ff281746ec0
Date: 2024-06-08T04:53:54.048Z
Electron: 28.2.8
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

hi @garlic, which of the bugs above would you like help with. did the sidebar disappear on you in some way.

hi @sualeh, thank you for your quick reply. To clarify the details, here are the steps:

First, I moved the cursor to the left sidebar, as you can see, the secondary bar is not opened.

Then, every time I use the ‘Add to chat’ button, the IDE always opens the secondary sidebar with ‘Drag a view here to display’. I assume it displays because of the chat, but in case I move the chat to the left sidebar, I prefer that the secondary bar should not display on the right.

2 Likes

The same is happening for me, I moved my chat to the left pane and am continually being left with an empty side bar taking up real-estate

Fresh install as of 2 days ago.

Same happens for me. I don’t want a dedicated sidebar for AI, I just want it to be placed wherever I want, in my case on the sidebar next to other views like “Problems”, “Terminal”, …

So now I just hit cmd+L to hide it whenever it appears, but it’s a bit annoying.

Same is happening for me, it would be nice to disable the visibility of the AI Pane as I moved the chat to my left so I save on screen real estate.