Skip to content

Commit e983bfe

Browse files
authored
fix: add more common ignore patterns for listDirectory (#1287)
1 parent cfea9fa commit e983bfe

File tree

1 file changed

+31
-0
lines changed
  • server/aws-lsp-codewhisperer/src/language-server/chat

1 file changed

+31
-0
lines changed

server/aws-lsp-codewhisperer/src/language-server/chat/constants.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,38 @@ export const DEFAULT_EXCLUDE_DIRS = [
5050
'dist',
5151
'build',
5252
'out',
53+
// Version control
5354
'.git',
55+
'.svn',
56+
'.hg',
57+
// IDE and Editor
58+
'.idea',
59+
'.vscode',
60+
'.vs',
61+
'.metals',
62+
'.bloop',
63+
'.ensime_cache',
64+
'.project',
65+
// Python Specific
66+
'.venv',
67+
'venv',
68+
'.virtualenv',
69+
'eggs',
70+
'.eggs',
71+
'sdist',
72+
'.ipynb_checkpoints',
73+
// Environment and Config
74+
'.env',
75+
'.aws-sam',
76+
'.brazil',
77+
'.rvm',
78+
'.gem',
79+
// Cache and Temporary
80+
'.cache',
81+
'.sass-cache',
82+
'.pytest_cache',
83+
'__pycache__',
84+
'tmp',
5485
]
5586

5687
export const DEFAULT_EXCLUDE_FILES = [

0 commit comments

Comments
 (0)