Commit f0988b2
authored
fix(amazonq): align inline completion document selectors (#6827)
## Problem
The inline completion document selectors between vscode's currently
implementation and the new implementation aren't aligned
## Solution
Rather than providing our own implementation that was originally stolen
from
[here](https://github.com/aws/language-servers/blob/main/client/vscode/src/inlineCompletionActivation.ts#L22)
and expanding it, we should just use the exact document selectors that
vscode already uses from
[here](https://github.com/aws/aws-toolkit-vscode/blob/master/packages/core/src/codewhisperer/models/constants.ts#L104)
---
- 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 119d2f4 commit f0988b2
1 file changed
+2
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 25 | + | |
55 | 26 | | |
56 | 27 | | |
57 | 28 | | |
58 | | - | |
| 29 | + | |
59 | 30 | | |
60 | 31 | | |
61 | 32 | | |
| |||
0 commit comments