Commit fb2b4b1
extension/tools/goplssetting: handle integer types
The upcoming release of gopls v0.22.0 contains a new setting,
maxFileCacheBytes, which is an int64. Previously, the generation
script for the gopls settings did not handle settings with
integer types, which is causing the gopls pre-release workflow
to fail on the final step (update gopls settings in vscode).
This CL adds support for all builtin integer types in
the gopls settings generation script.
Change-Id: I281a34d562183c2dbe9885cf6d84669f04e54e7d
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/772240
TryBot-Bypass: Hongxiang Jiang <hxjiang@golang.org>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>1 parent 60c3930 commit fb2b4b1
2 files changed
Lines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
363 | 371 | | |
364 | 372 | | |
365 | 373 | | |
| |||
406 | 414 | | |
407 | 415 | | |
408 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
409 | 420 | | |
410 | 421 | | |
411 | 422 | | |
| |||
418 | 429 | | |
419 | 430 | | |
420 | 431 | | |
421 | | - | |
| 432 | + | |
422 | 433 | | |
423 | 434 | | |
424 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
162 | 177 | | |
163 | 178 | | |
164 | 179 | | |
| |||
0 commit comments