Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rli committed Feb 27, 2025
1 parent 4fbb75f commit 712dbcb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import org.eclipse.lsp4j.ClientInfo
import org.eclipse.lsp4j.FileOperationsWorkspaceCapabilities
import org.eclipse.lsp4j.InitializeParams
import org.eclipse.lsp4j.InitializeResult
import org.eclipse.lsp4j.InitializedParams
import org.eclipse.lsp4j.SynchronizationCapabilities
import org.eclipse.lsp4j.TextDocumentClientCapabilities
import org.eclipse.lsp4j.WorkspaceClientCapabilities
Expand Down Expand Up @@ -244,8 +245,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs

init {
val cmd = GeneralCommandLine(
"/opt/homebrew/opt/node@20/bin/node",
"/Users/richali/idetools/language-servers/app/aws-lsp-codewhisperer-runtimes/out/token-standalone.js",
"amazon-q-lsp",
"--stdio",
"--set-credentials-encryption-key",
)
Expand Down Expand Up @@ -303,6 +303,7 @@ private class AmazonQServerInstance(private val project: Project, private val cs
launcherHandler.destroyProcess()
error("LSP initialization failed")
}
languageServer.initialized(InitializedParams())

initializeResult
}
Expand Down

0 comments on commit 712dbcb

Please sign in to comment.