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
feat(amazonq): expose lsp server capabilities to consumers of AmazonQLspService (aws#5417)
For certain capabilities, the client implementation needs to be aware of what resources the server is interested in.
In the case of `WorkspaceEdit`, we need to expose the filters returned by the server in the initialization handshake.
```json
"fileOperations": {
"didCreate": {
"filters": [
{
"pattern": {
"glob": "**/*.{ts,js,py,java}",
"matches": "file"
}
},
{
"pattern": {
"glob": "**/*",
"matches": "folder"
}
}
]
},
"didRename": {
"filters": [
{
"pattern": {
"glob": "**/*.{ts,js,py,java}",
"matches": "file"
}
},
{
"pattern": {
"glob": "**/*",
"matches": "folder"
}
}
]
},
"didDelete": {
"filters": [
{
"pattern": {
"glob": "**/*.{ts,js,py,java}",
"matches": "file"
}
},
{
"pattern": {
"glob": "**/*",
"matches": "folder"
}
}
]
}
}
```
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLspService.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/auth/DefaultAuthCredentialsServiceTest.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,8 @@ class DefaultAuthCredentialsServiceTest {
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace/WorkspaceServiceHandlerTest.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -75,8 +75,8 @@ class WorkspaceServiceHandlerTest {
0 commit comments