Add Build Option To Menu?

Hello, how to add to top menu, where it list file edit view help in cursor to look like Visual Studio. Where it has a lot more options. Mainly looking to add build and all options that are under it to Cursor. Mains ones are clean, rebuild and publish.

Thanks

Hey, thanks for the request. Cursor is built on VS Code, not Visual Studio, so there isn’t a separate Build menu with Clean or Rebuild or Publish in the top bar, and you can’t add a custom top level menu to the menubar. That’s a VS Code platform limitation.

A couple things that should help:

  1. From your description File / Edit / View / Help, you’re in the Agents window. The full set of menus including Terminal is in the editor window. Switch to it using the IDE button in the top right corner.

  2. The equivalent of Build or Clean or Publish in Cursor is Tasks. Open your project folder, then go to Terminal > Configure Tasks... to create a tasks.json with commands like dotnet build, dotnet clean, dotnet publish. After that, Ctrl+Shift+B Run Build Task will run the default build task, and Terminal > Run Task... will show the rest.

Example tasks.json for .NET:

{
  "version": "2.0.0",
  "tasks": [
    { "label": "build", "type": "shell", "command": "dotnet build", "group": { "kind": "build", "isDefault": true } },
    { "label": "clean", "type": "shell", "command": "dotnet clean" },
    { "label": "publish", "type": "shell", "command": "dotnet publish" }
  ]
}

Let me know if anything doesn’t work.

Yep I figured that out after posting. You have to have a project open to see those.

I guess now how do I get it to remember views open and have it auto load those on open? Not a fan of always changing left part to task view each time I open a project.

Thanks

Glad we got the menu sorted out.

About the layout. Cursor, like VS Code, usually remembers the sidebar and panel state separately for each workspace. When you reopen the same project, it should restore. The position and order of view containers in the left activity bar are stored globally, so if you drag the panel where you want it once, it should stay there.

A couple quick questions so I can guide you better:

  • What exactly is the task view on the left. Is it Run and Debug, a panel from the C# extension, or something else?
  • Are you opening the project in the editor window or the Agents window? The Agents window has a more limited layout and it’s saved separately, so resets often happen there. Make sure you’re working in the editor window using the IDE button in the top right.
  • What Cursor version are you on. Check Help > About.

If the layout really resets every time even in the same editor window and the same project, it sounds like a workspace state saving bug, then we can dig in deeper.

Sorry not everyone has the same setup as me. I sniped the section with the arrow menu selected. Version is 3.12.29. I can click on restart to update, but it does nothing after that. I’m using file>open folder to open. Also would be nice if it could remember last folder opened. After restarting cursor.

Another sub question. Are all agents the same as in credits? Or are some more then others? I’m using composer 2.5. Didn’t know if I should switch or it will eat more credits up.

Hey, in order.

Autoload last folder. There’s a setting for this. Open Settings Ctrl+,, search for window.restoreWindows, and set it to one so Cursor reopens the last window with your folder on launch. folders or all also work if you use multiple windows. You can also use File > Open Recent Ctrl+R to quickly switch between recent projects.

Left sidebar view. From your screenshot, that looks like Task Explorer (an extension), not the built-in Run and Debug view. The order and pinned icons in the activity bar are stored globally, so once you drag and pin what you want, it should stay. If it really resets every time in the same editor window and the same project, tell me. That sounds like a workspace state saving bug, and we can dig deeper.

Update 3.12.29. Updates roll out in waves, so a 1 to 3 day delay is normal, and you might already be on the latest version for your channel. If the Restart button does nothing, and you’re sure you should have the update, the easiest fix is to download the latest installer from Cursor · Download and install it over the current one. Your settings and projects won’t be lost.

Models and credits. Yep, different models cost different amounts. Usage is based on tokens multiplied by the rate for that model, and rates vary. Composer 2.5 is Cursor’s own model. It’s fast and cost-effective, so if the results work for you, there’s no real reason to switch. You can see the exact cost for each request in the Dashboard on the usage page.

Let me know how it goes.