Commit 3d87ca1
Fix code completions generated in Styles pane
This CL updates the generated text to be as per the valid properties -
this will remove any inconsistencies between what is shown and what is
accepted
This CL also adds `}` as a stop sequence
This CL also updates removePrompt impl to clear entire AI suggestion
instead of just the value ghost text
Bug: 502459959
Change-Id: I5eeda4c27f4936282e6ecfc7ed8feb26dd109255
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7806814
Auto-Submit: Samiya Caur <samiyac@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Samiya Caur <samiyac@chromium.org>1 parent bbba9c4 commit 3d87ca1
3 files changed
Lines changed: 18 additions & 5 deletions
File tree
- front_end/panels/elements
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3515 | 3515 | | |
3516 | 3516 | | |
3517 | 3517 | | |
3518 | | - | |
| 3518 | + | |
3519 | 3519 | | |
3520 | 3520 | | |
3521 | 3521 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | | - | |
60 | | - | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2268 | 2268 | | |
2269 | 2269 | | |
2270 | 2270 | | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
2271 | 2280 | | |
2272 | | - | |
2273 | | - | |
| 2281 | + | |
| 2282 | + | |
2274 | 2283 | | |
2275 | 2284 | | |
2276 | 2285 | | |
| |||
0 commit comments