Skip to content

Obsolete advisory to describe folder structure in copilot-instructions #42258

@syntactix-nst

Description

@syntactix-nst

From Response Customization:

* Include the folder structure of the repository, including any important directories or files that are relevant to the project.

Is this not obsolete? When looking at the debug view for copilot chat in VS Code, I can see that the user prompt already includes the current folder structure by default:

<environment_info>
The user's current OS is: Windows
</environment_info>
<workspace_info>
I am working in a workspace with the following folders:
- c:\foldername\foo
- c:\differentfolder\bar
I am working in a workspace that has the following structure:

My.Project.A/
	Fobar.cs
	Banana.cs
	...
My.Project.B/
	Apple.cs
	Banana.cs
	...
This is the state of the context at this point in the conversation. The view of the workspace structure may be truncated. You can use tools to collect more context if needed.
</workspace_info>


[copilot_cache_control: { type: 'ephemeral' }]

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions