Commit d57cac5
authored
refactor(amazonq): deprecate amazon q inline through vscode (#7237)
## Problem
- we're moving to inline via flare
## Solution
- deprecate amazon q inline
## Notes
#### deprecation steps:
1. removed recommendation handler and recommendation service and all
regular dependencies, since those are the bulk of inline suggestions
2. removed command registrations for onacceptance
3. removed tests that are no longer relevant to the vscode
implementation since they are already in flare
4. modified the lineAnnotationController and activeStateControllers to
comment out any missing imports, since those still need to be there in
the new implementation
5. removed pagination calls, since those are now done through flare
6. remove keystroke handler, since that's now done by the vscode api
7. removed old cloud9 compatability code for inline
#### Future PRs:
- Refactor lineAnnoationController and activeStateControllers
- re-implement the `aws.amazonq.refreshAnnotation` command
- fix the inline e2e tests, since now they will fully go through flare
instead of the recommendation handler
- fix any unit tests that are now failing
- updating the status bar when a request is in progress
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 15ad617 commit d57cac5
File tree
25 files changed
+91
-3087
lines changed- packages
- amazonq
- src/app/inline
- test
- e2e/inline
- unit/codewhisperer
- commands
- service
- core/src
- codewhisperer
- commands
- service
- views
- testE2E/codewhisperer
- test/codewhisperer
25 files changed
+91
-3087
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 11 | | |
17 | | - | |
18 | | - | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
24 | | - | |
| 17 | + | |
25 | 18 | | |
26 | 19 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 20 | | |
31 | 21 | | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 25 | | |
56 | | - | |
57 | | - | |
58 | 26 | | |
59 | 27 | | |
60 | 28 | | |
61 | 29 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 30 | | |
72 | 31 | | |
73 | 32 | | |
| |||
105 | 64 | | |
106 | 65 | | |
107 | 66 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 67 | | |
122 | 68 | | |
123 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 78 | | |
89 | 79 | | |
90 | | - | |
91 | | - | |
92 | 80 | | |
93 | 81 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 82 | | |
98 | 83 | | |
99 | 84 | | |
| |||
234 | 219 | | |
235 | 220 | | |
236 | 221 | | |
237 | | - | |
| 222 | + | |
238 | 223 | | |
239 | 224 | | |
240 | 225 | | |
| |||
Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 0 additions & 43 deletions
This file was deleted.
0 commit comments