Feature request for product/service
Tab
Describe the request
Cursor Tab works well in mainstream languages, but it becomes unreliable in DSLs and niche file types where the model has weaker training coverage, such as SAP CAP CDS. In those files, inline completions often look plausible at first glance but produce invalid syntax or patterns that do not compile.
The core issue is that Cursor Tab cannot be guided in the same practical way as Agent workflows. Teams can encode rules and constraints for chat/agent behavior, but that does not reliably help inline prediction, so users either accept noisy completions or disable Tab entirely for those file types.
Proposed solution
Add an optional, configurable short Tab context field (~1000 characters) that is injected into the Cursor Tab / inline prediction request. This context should be:
- Short, stable, and explicit
- Configurable per workspace and/or per user
- Scopable by language ID and/or glob pattern (e.g.
cdsor**/*.cds) - Independent from Agent Rules, so chat/agent workflows remain unchanged
Example config shape
{
"cursor.tabContext": [
{
"languageId": "cds",
"glob": "**/*.cds",
"context": "Generate only valid SAP CAP CDS syntax. Prefer existing vocabularies and patterns in this workspace. Do not invent annotations or keywords."
}
]
}
Who this is for
Anyone working in medium- or low-coverage languages, internal DSLs, schema-driven configs, or file types where invalid inline completions create more noise than value.
Desired outcome
Better inline suggestions in niche languages without turning Cursor Tab off entirely, while preserving the existing Agent/Rules model for chat and agent workflows.