I want to collapse c# usings as well as code regions

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

There is no > sign in the side panel that lets me collapse usings in c#. There is on classes.

Steps to Reproduce

Open Startup.cs in any project. Try and collapse usings.

Expected Behavior

I want to be able to collapse usings

Operating System

Windows 10/11
Linux

Version Information

Version: 3.8.11 (user setup)
VS Code Extension API: 1.105.1
Commit: e56ad3440df06d22ca7501e65fd518e905486ef0
Date: 2026-06-18T01:40:18.333Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

N/A

For AI issues: add Request ID with privacy disabled

N/A

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This isn’t a bug, it’s a current limitation. The C# bundle extension in Cursor can only fold #region/#endregion and curly brace blocks like classes and methods. A group of using directives has no braces and no region marker, so you won’t see a folding arrow there.

Native folding for grouped using directives comes from Microsoft’s C# Dev Kit Roslyn, but it’s proprietary and limited to the original VS Code, so Cursor doesn’t have it.

A workaround that works right now is to wrap your usings in a region:

#region Usings
using System;
using System.Linq;
// ...
#endregion

You’ll get a folding arrow on the #region Usings line.

I’ll turn this into a feature request for native folding of using directives. I can’t share an ETA for it.

Thanks!