continuedev / continuedev/continue

Exclude folders / files?!

Open
#12,905 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:configuration area:context-providers ide:vscode kind:enhancement kind:question
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Description

I have this config.yaml entries:

context:
  - provider: code          # @code        – Symbole / Funktionen im Codebase suchen
  - provider: file          # @file        – Einzelne Datei anhängen
  - provider: folder        # @folder      – Ganzen Ordner anhängen
  - provider: currentFile   # @currentFile – Aktuelle Datei automatisch einbeziehen
  - provider: terminal      # @terminal    – Letzten Terminal-Output einbeziehen
  - provider: problems      # @problems    – VS Code Problembereich einbeziehen
  - provider: diff          # @diff        – Aktuellen Git-Diff einbeziehen
  - provider: open          # @open        – Alle aktuell geöffneten Tabs einbeziehen
  - provider: codebase      # @codebase    – Gesamten indizierten Workspace durchsuchen
  - provider: safe-folder
    params:
      #includes: ["*.py"]
      excludes: ["build/", "dist/", "__pycache__/", "TMP/", "TEMP/", "Documentation/"]

safe-folder is not known (sure)!
How can you give an "ignore list" of files / folders to continue? Like when you use file or folder or currentFile and so on that if they are on the "ignore list" that they are NOT used for the ai.

It's not only to safe some tokens, maybe even to not deliver sensitive data to a cloud ai...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how config.yaml is loaded and how the reported context providers—file, folder, currentFile, and related sources—select content. Determine where a shared include/exclude rule could apply without relying on the unknown safe-folder provider. Done means configured files and folders are excluded from AI context, including potentially sensitive data.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.