Commit ece9e9b
gopls/doc/generate: add status in codelenses and inlayhints
Features configurable through map[K]V can not be marked as
experimental. To comply with deprecation guideline, this CL
introduces a per key and per value status where gopls can
mark a specific key or a specific value as experimental.
The status can be indicated by the comment directives as part
of the doc comment. The status can be delcared following
pattern "//gopls:status X" very similar to struct tag.
This clarifies the question: if "codelenses" is a released feature,
are all enum keys configurable in "codelenses" are also released
feature?
VSCode-Go CL 652357
Change-Id: I4ddc5155751452d5f7b92bbb3610aa61680a29a4
Reviewed-on: https://go-review.googlesource.com/c/tools/+/652356
Auto-Submit: Hongxiang Jiang <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent 340f21a commit ece9e9b
File tree
8 files changed
+375
-230
lines changed- gopls
- doc
- internal
- analysis/gofix
- doc
- generate
- settings
- internal/astutil
8 files changed
+375
-230
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
598 | 599 | | |
599 | 600 | | |
600 | 601 | | |
601 | | - | |
| 602 | + | |
602 | 603 | | |
603 | 604 | | |
604 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| 79 | + | |
76 | 80 | | |
0 commit comments