Laurențiu Nicola
c68dbc16f8
Remove node-fetch and https-proxy-agent deps
2021-12-23 09:23:56 +02:00
Laurențiu Nicola
53c183cc13
Remove network functions
2021-12-23 09:23:56 +02:00
Laurențiu Nicola
d5b4aa3037
Remove server download and update checks
2021-12-23 08:24:58 +02:00
bors[bot]
4ea1f58bf6
Merge #11103
...
11103: internal: Improve `github-release` action r=lnicola a=lnicola
Upgrade ``@actions/github`` to get `listReleaseAssets` and retry individual uploads in addition to the whole thing.
Also disables `ci`, `metrics` and `rustdoc` on forks to save some CPU time.
CC #11056
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-22 19:34:12 +00:00
Laurențiu Nicola
45d2262963
Gate workflows to only run on upstream
2021-12-22 21:31:22 +02:00
Laurențiu Nicola
bcf5f407fb
Improve github-release action
2021-12-22 21:30:56 +02:00
bors[bot]
45f907ea6f
Merge #11102
...
11102: minor: Update known issues in the bug report template r=lnicola a=lnicola
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-22 12:31:00 +00:00
Laurențiu Nicola
5d7a7dd7af
Update known issues in the bug report template
2021-12-22 14:30:19 +02:00
bors[bot]
012ff79a0d
Merge #11096
...
11096: Code: Use the same `displayName` for pre-release versions r=lnicola a=lnicola
Otherwise the Marketplace shows `(nightly)` for the stable version.
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-22 08:29:03 +00:00
Laurențiu Nicola
e3f951848f
Use the same displayName for pre-release versions
2021-12-22 10:27:40 +02:00
bors[bot]
d859227ab2
Merge #11095
...
11095: internal: Disable unstable APIs for nightly releases r=lnicola a=lnicola
bors r+
The Marketplace doesn't allow us to publish extensions using these, even as pre-release versions.
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-22 07:21:49 +00:00
Laurențiu Nicola
c9175dc0f1
Disable unstable APIs for nightly releases
2021-12-22 09:20:46 +02:00
bors[bot]
c086718947
Merge #11094
...
11094: Actually nightly releases to Matketplace r=lnicola a=lnicola
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-22 05:44:54 +00:00
Laurențiu Nicola
187c273585
Actually nightly releases to Matketplace
2021-12-22 07:44:04 +02:00
bors[bot]
578269e613
Merge #11093
...
11093: fix: Do not complete `Drop::drop`, complete `std::mem::drop` instead r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/5005
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-22 01:48:31 +00:00
Lukas Wirth
85ed5a3182
Make hover test not relient on minicore structure
2021-12-22 02:36:31 +01:00
Lukas Wirth
5360c9bd22
fix: Do not complete Drop::drop
, complete std::mem::drop
instead
2021-12-22 02:25:38 +01:00
bors[bot]
d4c5bf7828
Merge #11092
...
11092: internal: Directly use self param in completions instead of searching r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 23:20:16 +00:00
Lukas Wirth
276687a6ee
internal: Directly use self param in completions instead of searching
2021-12-22 00:18:39 +01:00
bors[bot]
47fad0ed73
Merge #11071 #11090
...
11071: feat: Build and publish pre-release Code extension versions r=matklad a=lnicola
Closes #11026
11090: internal: Deduplicate lower ctx hygiene field r=Veykril a=Veykril
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 17:37:56 +00:00
bors[bot]
a9793783bc
Merge #11089
...
11089: internal: Render more completions from hir instead of ast r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 17:29:26 +00:00
Lukas Wirth
e76e0e843d
Simplify
2021-12-21 18:28:04 +01:00
Lukas Wirth
0b1c434d53
Deduplicate lower ctx hygiene field
2021-12-21 18:27:54 +01:00
Lukas Wirth
60dfe8ceed
Replace a few String instances with SmolStr in completions
2021-12-21 16:57:16 +01:00
Lukas Wirth
7f7a3644b3
Fully render type alias completions from hir
2021-12-21 16:36:23 +01:00
Lukas Wirth
40d5c58a80
Fully render const item completions from hir
2021-12-21 16:35:51 +01:00
bors[bot]
22adcfde03
Merge #11086
...
11086: internal: Simplify completion rendering r=Veykril a=Veykril
Removes all the helper render structs in favor of simple functions, making things a lot easier to oversee(imho)
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 15:22:51 +00:00
Lukas Wirth
929cae74b1
fmt +stable
2021-12-21 15:48:12 +01:00
Lukas Wirth
95ae67b0b0
Simplify type alias rendering, remove constructor structs
2021-12-21 15:37:43 +01:00
Lukas Wirth
97f7865c56
Simplify macro rendering, remove constructor structs
2021-12-21 15:20:15 +01:00
Lukas Wirth
2b60d80eaf
Simplify const rendering, remove constructor structs
2021-12-21 15:04:19 +01:00
Lukas Wirth
e99ed3e407
Simplify enum variant rendering, remove constructor structs
2021-12-21 15:01:52 +01:00
Lukas Wirth
a720fc8e3a
Simplify function rendering, remove constructor structs
2021-12-21 14:51:06 +01:00
Lukas Wirth
22b2c2fdf7
Simplify
2021-12-21 14:07:48 +01:00
bors[bot]
a406574ee8
Merge #11083
...
11083: fix: Fix inline local assist not working in let stmt initializer r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 13:04:43 +00:00
Lukas Wirth
539b0c2582
fix: Fix inline local assist not working in let stmt initializer
2021-12-21 14:03:59 +01:00
bors[bot]
22987c73e9
Merge #11082
...
11082: internal: Do less work in `hir::Semantics` r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-21 12:39:32 +00:00
Lukas Wirth
8e084132f8
internal: Do less work in hir::Semantics
2021-12-21 13:38:58 +01:00
bors[bot]
7ce8906326
Merge #11078
...
11078: minor: Fix typo in reformat number assist label r=lnicola a=lnicola
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-21 08:00:59 +00:00
Laurențiu Nicola
01143c6600
Fix typo in reformat number assist label
2021-12-21 09:45:20 +02:00
Laurențiu Nicola
89cecff2bd
Bump vscode in package.json
2021-12-20 20:58:09 +02:00
Laurențiu Nicola
2d9c14afb5
Build and publish pre-release Code extension versions
2021-12-20 20:58:09 +02:00
bors[bot]
851af5a52b
Merge #11074
...
11074: Bump default CHALK_SOLVER_MAX_SIZE to 150 r=lnicola a=lnicola
Fixes #11072
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2021-12-20 18:38:47 +00:00
Laurențiu Nicola
3f3aee53b4
Bump default CHALK_SOLVER_MAX_SIZE to 150
2021-12-20 20:35:45 +02:00
bors[bot]
c5722a66c5
Merge #11073
...
11073: fix: Fix windows not finding the pdb file r=lnicola a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10371
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-20 18:20:08 +00:00
Lukas Wirth
4a5c8c6ad2
fix: Fix windows not finding the pdb file
2021-12-20 19:17:31 +01:00
bors[bot]
d3aa2579cc
Merge #11069
...
11069: fix: Partially fix `ide_db::search` for crate roots r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10007
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-20 16:50:35 +00:00
Lukas Wirth
5206946674
fix: Partially fix ide_db::search
for crate roots
2021-12-20 17:48:47 +01:00
bors[bot]
8dc3a270f6
Merge #11067
...
11067: internal: Store function param names in ItemTree r=Veykril a=Veykril
This prevents us reparsing source files for completions, sometimes slowing them down massively if the source file is not cached at the expense of a slightly bigger memory usage.
related info https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Completion.20performance
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-12-20 14:43:39 +00:00
Lukas Wirth
8eb7ee9099
Update test output
2021-12-20 15:43:15 +01:00