Skip to content

Does .clineignore work? cant get it right #8361

Description

@fersarr

Plugin Type

VSCode Extension

Cline Version

3.46.1

What happened?

Hi! Thanks for cline, it has become my go to agent for everything! A small question on ignores: I have tried lots of variations of .clineignore but I can't get it to work properly, it keeps detecting my DB dir's changes as shown in the screenshot, am I doing something wrong? Everytime I click "see the changes/diff" it includes lots of changes in my DB from regular usage (which also make it slow to open)

Dir structure:

.clineignore and .gitignore are at the same level, in the same dir:

/Users/yyy/workspace/xxx_web/.gitignore
/Users/yyy/workspace/xxx_web/.clineignore

# The DB files are at
/Users/yyy/workspace/xxx_web/xxx_container/xxx/postgres_data/base


# VS Code exporer is open at
/Users/yyy/workspace/xxx_web/

My .clineignore has:

postgres_data/
postgres_data/base/
base/
**/postgres_data/**
postgres_data/**
xxx_container/xxx/postgres_data/
xxx_container/xxx/postgres_data/**
Image

Steps to reproduce

Provider/Model

No response

System Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot RespondedIssue has received an automated responseInvestigation NeededRequires debugging or root cause analysisVS CodeIssues specific to VS CodestaleAuto-applied to inactive issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions