Skip to content

Commit 67fb2ab

Browse files
CopilotbindsiWilliamBerryiii
authored
feat(docs): Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations (#413)
The deprecated `chat.modeFilesLocations` property was still referenced throughout the codebase. VS Code now uses `chat.agentFilesLocations` for discovering custom agents. ## Changes - **Settings**: Updated `.vscode/settings.json` to use correct property - **Installer agent**: Removed deprecated property from templates (was emitting both old and new properties) - **Documentation**: Updated all installation method guides in `docs/getting-started/methods/` - **Troubleshooting**: Fixed property reference in getting started guide ## Before/After ```diff { - "chat.modeFilesLocations": { + "chat.agentFilesLocations": { ".github/agents": true } } ``` All 13 occurrences across 9 files have been updated. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>[Issue]: Settings still apply deprecated 'chat.modeFilesLocations' property</issue_title> > <issue_description>### Issue Description > > Settings still apply deprecated 'chat.modeFilesLocations' property --> chat.agentFilesLocations is the right config property now > > - hve-core-installer agent adds both chat.modeFilesLocations and chat.agentFilesLocations > - docs still pointing to deprecated property > > ### Additional Context > > _No response_</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #412 <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/microsoft/hve-core/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: bindsi <[email protected]> Co-authored-by: Marcel Bindseil <[email protected]> Co-authored-by: Bill Berry <[email protected]>
1 parent 8529725 commit 67fb2ab

9 files changed

Lines changed: 14 additions & 19 deletions

File tree

.github/agents/hve-core-installer.agent.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,6 @@ After cloning, update `.vscode/settings.json` with this structure. Replace `<PRE
506506
<!-- <settings-template> -->
507507
```json
508508
{
509-
"chat.modeFilesLocations": {
510-
".github/agents": true,
511-
"<PREFIX>/.github/agents": true
512-
},
513509
"chat.agentFilesLocations": {
514510
".github/agents": true,
515511
"<PREFIX>/.github/agents": true
@@ -581,7 +577,6 @@ Add to devcontainer.json:
581577
"customizations": {
582578
"vscode": {
583579
"settings": {
584-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
585580
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
586581
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
587582
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
".github/instructions/**/*.instructions.md": true,
1010
".github/prompts/**/*.prompt.md": true
1111
},
12-
"chat.modeFilesLocations": {
12+
"chat.agentFilesLocations": {
1313
".github/agents": true
1414
},
1515
"github.copilot.chat.commitMessageGeneration.instructions": [

docs/getting-started/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ After installation, verify everything works:
8383
#### Copilot not discovering customizations
8484

8585
- For Multi-Root: Ensure you opened the `.code-workspace` file, not just the folder
86-
- Verify `chat.modeFilesLocations` points to the correct path
86+
- Verify `chat.agentFilesLocations` points to the correct path
8787
- Check the window title shows the workspace name
8888

8989
#### Git or clone errors

docs/getting-started/methods/codespaces.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Add the clone command and VS Code settings:
8080
"customizations": {
8181
"vscode": {
8282
"settings": {
83-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
83+
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
8484
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
8585
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }
8686
}
@@ -122,7 +122,7 @@ git push
122122
"customizations": {
123123
"vscode": {
124124
"settings": {
125-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
125+
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
126126
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
127127
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }
128128
}
@@ -161,7 +161,7 @@ git push
161161
"/workspaces/hve-core/.github/instructions": true,
162162
".github/instructions": true
163163
},
164-
"chat.modeFilesLocations": {
164+
"chat.agentFilesLocations": {
165165
"/workspaces/hve-core/.github/agents": true,
166166
".github/agents": true
167167
}
@@ -200,7 +200,7 @@ For projects needing HVE-Core in both local devcontainers and Codespaces:
200200
"/workspaces/hve-core/.github/instructions": true,
201201
"../hve-core/.github/instructions": true
202202
},
203-
"chat.modeFilesLocations": {
203+
"chat.agentFilesLocations": {
204204
"/workspaces/hve-core/.github/agents": true,
205205
"../hve-core/.github/agents": true
206206
}

docs/getting-started/methods/git-ignored.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Create or update `.vscode/settings.json`:
9999

100100
```json
101101
{
102-
"chat.modeFilesLocations": { ".hve-core/.github/agents": true },
102+
"chat.agentFilesLocations": { ".hve-core/.github/agents": true },
103103
"chat.promptFilesLocations": { ".hve-core/.github/prompts": true },
104104
"chat.instructionsFilesLocations": { ".hve-core/.github/instructions": true }
105105
}
@@ -136,7 +136,7 @@ Add to `.devcontainer/devcontainer.json` so HVE-Core is cloned on container crea
136136
"customizations": {
137137
"vscode": {
138138
"settings": {
139-
"chat.modeFilesLocations": { ".hve-core/.github/agents": true },
139+
"chat.agentFilesLocations": { ".hve-core/.github/agents": true },
140140
"chat.promptFilesLocations": { ".hve-core/.github/prompts": true },
141141
"chat.instructionsFilesLocations": { ".hve-core/.github/instructions": true }
142142
}

docs/getting-started/methods/mounted.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ After rebuild, update `.vscode/settings.json`:
160160

161161
```json
162162
{
163-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
163+
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
164164
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
165165
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }
166166
}
@@ -173,7 +173,7 @@ After rebuild, update `.vscode/settings.json`:
173173
"customizations": {
174174
"vscode": {
175175
"settings": {
176-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
176+
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
177177
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
178178
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }
179179
}
@@ -208,7 +208,7 @@ ls /workspaces/hve-core/.github/agents
208208
"customizations": {
209209
"vscode": {
210210
"settings": {
211-
"chat.modeFilesLocations": { "/workspaces/hve-core/.github/agents": true },
211+
"chat.agentFilesLocations": { "/workspaces/hve-core/.github/agents": true },
212212
"chat.promptFilesLocations": { "/workspaces/hve-core/.github/prompts": true },
213213
"chat.instructionsFilesLocations": { "/workspaces/hve-core/.github/instructions": true }
214214
}

docs/getting-started/methods/multi-root.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Create `.devcontainer/hve-core.code-workspace` in your project:
8686
}
8787
],
8888
"settings": {
89-
"chat.modeFilesLocations": {
89+
"chat.agentFilesLocations": {
9090
"HVE-Core Library/.github/agents": true,
9191
"My Project/.github/agents": true
9292
},

docs/getting-started/methods/peer-clone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Create or update `.vscode/settings.json` in your project:
8484

8585
```json
8686
{
87-
"chat.modeFilesLocations": { "../hve-core/.github/agents": true },
87+
"chat.agentFilesLocations": { "../hve-core/.github/agents": true },
8888
"chat.promptFilesLocations": { "../hve-core/.github/prompts": true },
8989
"chat.instructionsFilesLocations": { "../hve-core/.github/instructions": true }
9090
}

docs/getting-started/methods/submodule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Create or update `.vscode/settings.json`:
8080

8181
```jsonc
8282
{
83-
"chat.modeFilesLocations": {
83+
"chat.agentFilesLocations": {
8484
"lib/hve-core/.github/agents": true,
8585
".github/agents": true
8686
},

0 commit comments

Comments
 (0)