No longer possible to add specific types to context

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Prior to 2.0, it was possible to add not just files, but references to specific types, functions, classes, etc. to context. This helped narrow down the context target. This no longer appears to be possible in 2.0, which only seems to allow file context. ALL code-level context is unavailable in 2.0 as far as I can tell. I use code-level references all the time.

Many of my files have multiple types defined in them, so just being able to reference the whole file is insufficient to the specificity of my prompt and the necessary context.

Steps to Reproduce

Reference a specific type, function, class, etc. in your prompt…
Context palette no longer shows anything but files.

Expected Behavior

Please restore the prior range of context selections that we had before, files as well as code-level specifics.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.34
VSCode Version: 1.99.3
Commit: 45fd70f3fe72037444ba35c9e51ce86a1977ac10
Date: 2025-10-29T06:51:29.202Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 Likes

Hey, thanks for the report. I can reproduce it. I’ll pass it to the team.

2 Likes

Found this thread as I was looking for the same thing.

Previously we could pass as context by name a given function, class etc… (part of code) and not waste whole file of context, when a targeted part is enough.
It is also better for the LLM to be specific.

Right now it’s tedious to manually select/copy/paste every time

I know you have removed some @contexts but this one is different and probably was caught in the crossfire.

@deanrie please keep us updated, thanks.

3 Likes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In cursor <2 I was able to reference variables from code in the chat when typing with “@” character: “@variableNa…” and it would pick it up. Now it’s not.

Is it not working or is it working some other way now?

Steps to Reproduce

  1. Open Chat
  2. Type “@”
  3. Try to reference variable name
  4. Fail

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

@rohovdmytro It’s not working for everyone at the moment, they, accidentally I believe, removed @code from context when they did the 2.0 cleaning, it’s in the docs but not working in the IDE: @ Symbols | Cursor Docs

I’m glad to hear that as fuzzy searching var names in big codebase in one place and then manually copy-pasting that in chat is not that fun now.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In cursor <2, I was able to reference functions/methods and variables from code in the chat when typing with the “@” character: “@fnfn…” and it would pick it up. Now it’s not.

I checked the doc, I can see it is meant to be working without tying the @code (but I think that was the issue), since it was removed, maybe the context from it was also removed, making it difficult to reference the function

Steps to Reproduce

  1. Open Chat

  2. Type “@”

  3. Try to reference the variable name

  4. Fail

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.73 (Universal)
VSCode Version: 1.99.3
Commit: 55b873ebecb5923d3b947d7e67e841d3ac781880
Date: 2025-11-11T06:49:12.965Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.0.0

Does this stop you from using Cursor?

No - Cursor works, but with this issue

1 Like