You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/editor/context/project/ProjectContextProvider.kt
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,9 @@ class ProjectContextProvider(val project: Project, private val encoderServer: En
146
146
val indexStartTime =System.currentTimeMillis()
147
147
val url =URL("http://localhost:${encoderServer.port}/indexFiles")
148
148
val filesResult = collectFiles()
149
+
var duration = (System.currentTimeMillis() - indexStartTime).toDouble()
Copy file name to clipboardExpand all lines: plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/FeatureDevSessionContext.kt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -43,13 +43,13 @@ class FeatureDevSessionContext(val project: Project, val maxProjectSizeBytes: Lo
43
43
privateval ignorePatterns =setOf(
44
44
"\\.aws-sam",
45
45
"\\.svn",
46
-
"\\.hg/",
46
+
"\\.hg/?",
47
47
"\\.rvm",
48
-
"\\.git/",
48
+
"\\.git/?",
49
49
"\\.gitignore",
50
50
"\\.project",
51
51
"\\.gem",
52
-
"/\\.idea/",
52
+
"/\\.idea/?",
53
53
"\\.zip$",
54
54
"\\.bin$",
55
55
"\\.png$",
@@ -62,9 +62,9 @@ class FeatureDevSessionContext(val project: Project, val maxProjectSizeBytes: Lo
62
62
"/license\\.md$",
63
63
"/License\\.md$",
64
64
"/LICENSE\\.md$",
65
-
"node_modules/",
66
-
"build/",
67
-
"dist/"
65
+
"node_modules/?",
66
+
"build/?",
67
+
"dist/?"
68
68
).map { Regex(it) }
69
69
70
70
// projectRoot: is the directory where the project is located when selected to open a project.
0 commit comments