Skip to content

Add ability to turn auto-complete off for certain files or file types #4053

Closed

Description

@dschuessler

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

There are particular files or file types where I don't want Continue to provide auto-complete suggestions because there is little chance of the suggestions being helpful (e.g. when writing prose or code in obscure domain specific languages) and I don't want to waste resources on unhelpful suggestions.

Solution

A setting with a list of globs that match files to be ignored, e.g. **/*.md or .env. Continue.dev does not provide auto-completion for these files.

Activity

  1. added
    area:autocompleteRelates to the auto complete feature
    kind:enhancementIndicates a new feature request, imrovement, or extension
    on Feb 9, 2025
  2. SpeedCrash100 commented on Feb 9, 2025

    @SpeedCrash100

    It has already here. See "disableInFiles".

    So config will have:

     "tabAutocompleteOptions": {
        "disableInFiles": [
          "*.md", ".env"
        ]
      }

    It should automatically migrate in Pre-Release version of Continue in Settings tab as described by docs.

  3. dschuessler commented on Feb 10, 2025

    @dschuessler
    Author

    Thanks! I hadn't found that in the docs for some reason.

  4. e-volusian commented on Jul 14, 2025

    @e-volusian

    For any future searchers, this is now in the User Settings

    Disable autocomplete in files

    Must use a glob format. This appears to work

    **/*.txt, **/*.md

  5. porcoesphino commented on Sep 13, 2025

    @porcoesphino

    The comment here points to old documentation that only mentions "autocompleteOptions" that are per agent.

    I found this

    Disable autocomplete in files: List of comma-separated glob pattern to disable autocomplete in matching files. E.g., ”_/.md, */.txt”

    Here:

    https://docs.continue.dev/customize/deep-dives/autocomplete#customize-autocomplete-user-settings-in-the-continue-extension

    But in Visual Studio Code the Continue extension (version 1.2.3) doesn't have that option. I opened the JSON file and used continue. to explore all the options in the installed extension and the only option I saw that was relevant was continue.enableTabAutocomplete that allowed for true and false.

    This is painful enough for the markdown files I'm editing I'm just going to disable the extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions