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/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/textdocument/TextDocumentServiceHandler.kt
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -105,8 +105,6 @@ class TextDocumentServiceHandler(
105
105
DidOpenTextDocumentParams().apply {
106
106
textDocument =TextDocumentItem().apply {
107
107
this.uri = uri
108
-
languageId = file.fileType.name.lowercase()
109
-
version = file.modificationStamp.toInt()
110
108
text = file.inputStream.readAllBytes().decodeToString()
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace/WorkspaceServiceHandler.kt
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,6 @@ class WorkspaceServiceHandler(
139
139
val oldUri = toUriString(parentFile)?.let { parentUri ->"$parentUri/$oldFileName" }
140
140
val newUri = toUriString(renamedFile)
141
141
142
-
// First close the old document
143
142
oldUri?.let { uri ->
144
143
languageServer.textDocumentService.didClose(
145
144
DidCloseTextDocumentParams().apply {
@@ -150,14 +149,11 @@ class WorkspaceServiceHandler(
0 commit comments