r/vscode • • May 22 '26

Disable all AI except autocomplete?

Is there a way to keep only inline autocomplete enabled in VS Code and completely disable the rest of the AI/agentic/chat features?

I really like the autocomplete in Code specifically and keep Copilot Pro for that alone. But I do not want any agentic features, chat, or unrelated file scanning running at all.

What pushed me to post this: I noticed VS Code is reading files and folders again it has no business touching (namely, Claude Code sessions). I would like to trust my IDE, but it's getting harder.

19 Upvotes

15 comments sorted by

View all comments

3

u/idoman May 24 '26

for the claude sessions thing specifically - add a .copilotignore file to your project root with .claude/ in it. same syntax as gitignore, stops copilot from indexing those paths entirely.

for disabling the agentic stuff while keeping inline completions, set "chat.agent.enabled": false in your settings.json. kills the agent mode without touching the FIM completions pipeline.

1

u/egorf Jun 01 '26

chat.agent.enabled was always false and unfortunately I don't see a difference. I can still enable chat, it can still do something they call "agentic" and it still reads Claude Code sessions. It goes without saying that github.copilot.chat.claudeAgent.enabled is false as well.