-
Notifications
You must be signed in to change notification settings - Fork 251
feat(lsp): Addition of LSP for Amazon Q #5593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
166 commits
Select commit
Hold shift + click to select a range
5b9ee01
Merge main into feature/q-lsp
aws-toolkit-automation 10b8b1c
Merge main into feature/q-lsp
aws-toolkit-automation d204734
Merge main into feature/q-lsp
aws-toolkit-automation acdcc9f
Merge main into feature/q-lsp
aws-toolkit-automation 000e806
Merge main into feature/q-lsp
aws-toolkit-automation d948ab9
Merge main into feature/q-lsp
aws-toolkit-automation 888d9dc
Merge main into feature/q-lsp
aws-toolkit-automation 847b17a
Merge main into feature/q-lsp
aws-toolkit-automation 3e3babf
Merge main into feature/q-lsp
aws-toolkit-automation 368b473
Merge main into feature/q-lsp
aws-toolkit-automation dafcfb3
Merge main into feature/q-lsp
aws-toolkit-automation 51166e3
Merge main into feature/q-lsp
aws-toolkit-automation 2054332
Merge main into feature/q-lsp
aws-toolkit-automation d651a46
feat(q): stub out Q LSP logic (#5352)
rli c895f6b
Merge main into feature/q-lsp
aws-toolkit-automation 03441f1
Merge main into feature/q-lsp
aws-toolkit-automation 4a29d0e
Merge main into feature/q-lsp
aws-toolkit-automation ffbab15
Merge main into feature/q-lsp
aws-toolkit-automation 013c54f
feat(amazonq): LSP -- Implement Initialize message (#5367)
samgst-amazon ba5d289
Merge main into feature/q-lsp
aws-toolkit-automation d9f7bb3
feat(amazonq): initialize flare lsp on project start (#5366)
rli 3a866a6
fix(amazonq): also terminate lsp process on other failures (#5371)
rli 7de1aa4
Merge main into feature/q-lsp
aws-toolkit-automation 7c73892
Merge main into feature/q-lsp
aws-toolkit-automation e22092f
feat(amazonq): hook up lsp payload encryption (#5370)
rli bfbaf72
Merge main into feature/q-lsp
aws-toolkit-automation b979630
Merge main into feature/q-lsp
aws-toolkit-automation d24f3df
Merge main into feature/q-lsp
aws-toolkit-automation e3dcd5c
Merge main into feature/q-lsp
aws-toolkit-automation add1848
Merge main into feature/q-lsp
aws-toolkit-automation b2910df
Merge main into feature/q-lsp
aws-toolkit-automation 9372b80
Merge main into feature/q-lsp
aws-toolkit-automation f8e3c87
Merge main into feature/q-lsp
aws-toolkit-automation f541043
Merge main into feature/q-lsp
aws-toolkit-automation 7fe49e0
Merge main into feature/q-lsp
aws-toolkit-automation 7c25e12
Merge main into feature/q-lsp
aws-toolkit-automation d927594
feature(amazonq): expose `AmazonQLanguageServer` to consumers (#5386)
rli 5039aad
Merge main into feature/q-lsp
aws-toolkit-automation 5338e0c
Merge main into feature/q-lsp
aws-toolkit-automation 13bf928
Merge main into feature/q-lsp
aws-toolkit-automation 462f836
Merge main into feature/q-lsp
aws-toolkit-automation b403d8a
Merge main into feature/q-lsp
aws-toolkit-automation 5b15f52
Merge main into feature/q-lsp
aws-toolkit-automation 290ac22
Merge main into feature/q-lsp
aws-toolkit-automation 4efffa0
Merge main into feature/q-lsp
aws-toolkit-automation 41bffe5
Merge main into feature/q-lsp
aws-toolkit-automation 8715a11
Merge main into feature/q-lsp
aws-toolkit-automation 140110c
Merge main into feature/q-lsp
aws-toolkit-automation c222125
Merge main into feature/q-lsp
aws-toolkit-automation 2d60ec2
Merge main into feature/q-lsp
aws-toolkit-automation 48b20a4
Merge main into feature/q-lsp
aws-toolkit-automation 3a5823e
Merge main into feature/q-lsp
aws-toolkit-automation 1cdc40a
Merge main into feature/q-lsp
aws-toolkit-automation ab00ed9
Merge main into feature/q-lsp
aws-toolkit-automation eab7f37
Merge main into feature/q-lsp
aws-toolkit-automation 6d593c3
Merge main into feature/q-lsp
aws-toolkit-automation 179aea2
feat(amazonq): Added LSP Manifest manager related changes (#5387)
LokeshDogga13 35b0424
feat(amazonq): Implement aws/credentials/token messages (#5410)
samgst-amazon bd4dd63
feat(amazonq): Extract ZIP File and Unit Test Cases (#5416)
LokeshDogga13 f7039e1
Merge main into feature/q-lsp
aws-toolkit-automation c349947
Merge main into feature/q-lsp
aws-toolkit-automation a6e7685
Merge main into feature/q-lsp
aws-toolkit-automation a74f884
implement token change listener (#5423)
samgst-amazon 6bfc0e5
Merge main into feature/q-lsp
aws-toolkit-automation 0af95e3
feat(amazonq): Added progress indicator for lsp artifact download (#…
LokeshDogga13 1fd1e73
feat(amazonq): add virtualFile -> URI util (#5381)
samgst-amazon 25f6e19
Merge main into feature/q-lsp
aws-toolkit-automation cb97ce7
feat(amazonq): implement workspace file messages (#5377)
samgst-amazon e20697a
fix(amazonq): fix failing lsp artifact tests (#5433)
rli 85ebf09
Merge main into feature/q-lsp
aws-toolkit-automation 9574b42
feat(amazonq): expose lsp server capabilities to consumers of AmazonQ…
rli 6df31d9
feat(amazonq): implement TextDocumentService message handler (#5380)
samgst-amazon 21ed987
Merge main into feature/q-lsp
aws-toolkit-automation 0b6e695
fix(amazonq): fix failing FileUri/TextDocumentServiceHandler tests (#…
rli fa2ddee
Merge main into feature/q-lsp
aws-toolkit-automation 332af68
Merge main into feature/q-lsp
aws-toolkit-automation c0e4ad3
Merge main into feature/q-lsp
aws-toolkit-automation 954096d
Merge main into feature/q-lsp
aws-toolkit-automation 84b0f7d
feat(amazonq): Added changes for override lsp artifacts (#5429)
LokeshDogga13 e66ca51
Merge main into feature/q-lsp
aws-toolkit-automation bff5c09
Merge main into feature/q-lsp
aws-toolkit-automation 262a6a8
Merge main into feature/q-lsp
aws-toolkit-automation b179b37
feat(amazonq): implement configuration/didChangeConfiguration message…
rli ac81a2f
feat(amazonq): Implement aws/syncModuleDependencies call (#5414)
samgst-amazon b6ae7b1
feat(amazonq): launch lsp from resolved artifacts and allow user to o…
rli d370f79
Merge main into feature/q-lsp
aws-toolkit-automation 07fab42
Merge main into feature/q-lsp
aws-toolkit-automation ca4e3ce
Merge main into feature/q-lsp
aws-toolkit-automation ecce6e5
Merge main into feature/q-lsp
aws-toolkit-automation c661fee
Merge main into feature/q-lsp
aws-toolkit-automation 4f8b2c4
Merge main into feature/q-lsp
aws-toolkit-automation bba5794
Merge main into feature/q-lsp
aws-toolkit-automation e3aed6c
Merge main into feature/q-lsp
aws-toolkit-automation 526eb4a
Merge main into feature/q-lsp
aws-toolkit-automation 7d92d3a
fix(amazonq): always send creds on lsp init if available (#5459)
rli 660ee40
Merge main into feature/q-lsp
aws-toolkit-automation 151a9ab
Merge main into feature/q-lsp
aws-toolkit-automation c0f84b1
refactor(amazonq): implement VirtualFile -> URI util for messaging pa…
samgst-amazon 5666c65
Merge main into feature/q-lsp
aws-toolkit-automation 1bed23a
Merge main into feature/q-lsp
aws-toolkit-automation 38fe91e
fix(amazonq): capture more file events for workspace/ messages (#5474)
samgst-amazon e6d8159
fix(amazonq): lsp token/update emits for init, logins, and token refr…
samgst-amazon 1378eae
Merge main into feature/q-lsp
aws-toolkit-automation 897e2a3
Merge main into feature/q-lsp
aws-toolkit-automation 9f76c93
Merge main into feature/q-lsp
aws-toolkit-automation 2536f83
feat(amazonq): implement aws/credentials/getConnectionMetadata for ls…
samgst-amazon e8a4bee
Merge main into feature/q-lsp
aws-toolkit-automation 7f90c20
feat(amazonq): add lsp configuration support for includeSuggestionsWi…
samgst-amazon 78b6ac9
Merge main into feature/q-lsp
aws-toolkit-automation 0773bbb
Merge main into feature/q-lsp
aws-toolkit-automation c0de224
rename params (#5484)
samgst-amazon 8e1355f
fix(amazonq): didRename emits full oldUri path (#5487)
samgst-amazon 083f6d8
Merge main into feature/q-lsp
aws-toolkit-automation 8542f6b
Merge main into feature/q-lsp
aws-toolkit-automation 4367af0
Merge main into feature/q-lsp
aws-toolkit-automation 60a42f4
Merge main into feature/q-lsp
aws-toolkit-automation 59d5c75
fix(amazonq): fix didChangeDependencyPathsParams with absolute pathin…
samgst-amazon d82065d
Merge main into feature/q-lsp
aws-toolkit-automation f24037f
Merge main into feature/q-lsp
aws-toolkit-automation 68ba71c
rename to match flare shape (#5504)
samgst-amazon 99827f8
Merge remote-tracking branch 'origin/main' into HEAD
rli 9046a85
Merge pull request #5506 from aws/autoMerge/feature/q-lsp
rli 7d3b55c
Merge main into feature/q-lsp
aws-toolkit-automation d267a21
Merge main into feature/q-lsp
aws-toolkit-automation 026ffca
Merge main into feature/q-lsp
aws-toolkit-automation 60a5f37
Merge main into feature/q-lsp
aws-toolkit-automation d22a9bb
Merge main into feature/q-lsp
aws-toolkit-automation 86527a3
Merge main into feature/q-lsp
aws-toolkit-automation 5740273
Merge main into feature/q-lsp
aws-toolkit-automation 49e8f68
Merge main into feature/q-lsp
aws-toolkit-automation d51385e
Merge main into feature/q-lsp
aws-toolkit-automation 5f752ca
fix(amazonq): didOpen emits for files already open on IDE start (#5494)
samgst-amazon 3abcd1f
fix(amazonq): update didRenameFile to call didOpen & didClose for doc…
samgst-amazon 5456fa0
feat(amazonq): workspace context settings & workspaceId (#5526)
leigaol 525f747
Merge main into feature/q-lsp
aws-toolkit-automation e68bb80
Merge main into feature/q-lsp
aws-toolkit-automation 35c0eaa
fix(amazonq): do not show workspace context settings (#5534)
leigaol 61c2b5f
add languageId and version to didOpen message (#5536)
samgst-amazon 5cc7ae1
Merge main into feature/q-lsp
aws-toolkit-automation f444073
Merge remote-tracking branch 'origin/main' into HEAD
rli 35bab00
compile
rli d03a641
Merge pull request #5537 from aws/autoMerge/feature/q-lsp
rli 1faaa9e
Merge main into feature/q-lsp
aws-toolkit-automation 9ff4d7b
Merge main into feature/q-lsp
aws-toolkit-automation 25ed88a
Merge main into feature/q-lsp
aws-toolkit-automation dad76f1
Merge main into feature/q-lsp
aws-toolkit-automation 24bf5d4
Merge main into feature/q-lsp
aws-toolkit-automation 345a2c8
Merge main into feature/q-lsp
aws-toolkit-automation f077616
Merge main into feature/q-lsp
aws-toolkit-automation f8a47fe
Merge main into feature/q-lsp
aws-toolkit-automation 5de10f3
Merge main into feature/q-lsp
aws-toolkit-automation f22322a
Merge main into feature/q-lsp
aws-toolkit-automation 64903e1
Merge main into feature/q-lsp
aws-toolkit-automation d167137
Merge main into feature/q-lsp
aws-toolkit-automation ae57be6
Merge main into feature/q-lsp
aws-toolkit-automation 09cf748
Merge main into feature/q-lsp
aws-toolkit-automation dc9ff9d
Merge main into feature/q-lsp
aws-toolkit-automation 97845d8
Merge main into feature/q-lsp
aws-toolkit-automation de5a4bb
fix(amazonq): fix createWorkspaceFolders (#5578)
samgst-amazon a64c229
Merge main into feature/q-lsp
aws-toolkit-automation 63ce354
switch LSP endpoint (#5576)
leigaol a8da8ca
deps(lsp): Add initialization options for profiles (#5599)
manodnyab 9a4bfd6
deps(lsp): implement aws/updateConfiguration (#5600)
samgst-amazon 4d2ff28
Merge remote-tracking branch 'origin/main' into HEAD
rli 2b5d434
Merge pull request #5602 from aws/autoMerge/feature/q-lsp
rli 2685de7
build: delete FIXME
rli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...mmunity/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClient.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package software.aws.toolkits.jetbrains.services.amazonq.lsp | ||
|
||
import org.eclipse.lsp4j.jsonrpc.services.JsonRequest | ||
import org.eclipse.lsp4j.services.LanguageClient | ||
import software.aws.toolkits.jetbrains.services.amazonq.lsp.model.aws.credentials.ConnectionMetadata | ||
import java.util.concurrent.CompletableFuture | ||
|
||
/** | ||
* Requests sent by server to client | ||
*/ | ||
@Suppress("unused") | ||
interface AmazonQLanguageClient : LanguageClient { | ||
@JsonRequest("aws/credentials/getConnectionMetadata") | ||
fun getConnectionMetadata(): CompletableFuture<ConnectionMetadata> | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / QDJVMC
Unstable API Usage Warning