Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 4 pull requests #132595

Closed
wants to merge 50 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2dfbcb6
docs: create setup documentation
davidkurilla Oct 15, 2024
be7865e
style: fix typos
davidkurilla Oct 15, 2024
32b05c1
docs: remove unnecessary prerequisites setup.md
davidkurilla Oct 22, 2024
3bb20dd
fix: auto-complete import for aliased function and module
dqkqd Oct 23, 2024
af3f990
Add assist to generate a type alias for a function
Giga-Bowser Oct 23, 2024
0ac5c8a
Fix alphabetical order of handlers
Giga-Bowser Oct 23, 2024
75a659e
refactor: separate function for getting import name
dqkqd Oct 24, 2024
1b699b5
fix: handle aliased pattern and simplify testcase
dqkqd Oct 24, 2024
a00b4c2
Add `ty_fn_ptr` function to create function pointer type
Giga-Bowser Oct 24, 2024
d0de3fa
Rework `generate_fn_type_alias`
Giga-Bowser Oct 24, 2024
d7615a9
Cleanup TypeRef lowering
ChayimFriedman2 Oct 28, 2024
a1eb6b3
Merge pull request #18427 from ChayimFriedman2/cleanup-ty
Veykril Oct 29, 2024
1407065
fix: Fix the server not honoring diagnostic refresh support
Veykril Oct 29, 2024
c21de28
Merge pull request #18432 from Veykril/lw-yptzmuxyvxxt
Veykril Oct 29, 2024
d8f6538
Do not render meta info when hovering usages
Veykril Oct 29, 2024
711961d
Publish test-fixture => ra_ap_test_fixture
sam-mccall Oct 29, 2024
8a51cbf
Style hover messages a bit differently
Veykril Oct 29, 2024
3ab7a69
Merge pull request #18436 from Veykril/lw-yvkqwpnwsouo
Veykril Oct 30, 2024
5fe280e
Merge pull request #18385 from Giga-Bowser/master
Veykril Oct 30, 2024
482e63d
Merge pull request #18382 from dqkqd/issue-17042
Veykril Oct 30, 2024
cee3257
Merge pull request #18304 from davidkurilla/docs-create-setup-document
Veykril Oct 30, 2024
6a6b61a
Only parse `safe` as contextual kw in extern blocks
ChayimFriedman2 Oct 30, 2024
2d5b758
Merge pull request #18446 from ChayimFriedman2/safe-statement
Veykril Oct 30, 2024
5aff110
Avoid interior mutability in `TyLoweringContext`
ChayimFriedman2 Oct 30, 2024
7ca05b5
Merge pull request #18437 from sam-mccall/publish_fixture
Veykril Oct 31, 2024
bc862b8
Move child_by_source from hir-def to hir
Veykril Oct 31, 2024
2a9b851
Merge pull request #18448 from Veykril/push-zwuuoytnmnqz
Veykril Oct 31, 2024
b25a3de
Merge pull request #18447 from ChayimFriedman2/cleanup-tylowerctx
Veykril Oct 31, 2024
f0bf75d
Parse patterns with leading pipe properly in all places
ChayimFriedman2 Oct 31, 2024
a5b5b46
Merge pull request #18453 from ChayimFriedman2/leading-or
Veykril Oct 31, 2024
21544d8
Preparing for merge from rust-lang/rust
lnicola Nov 1, 2024
d94c49c
Merge from rust-lang/rust
lnicola Nov 1, 2024
7303227
Bump rustc crates
lnicola Nov 1, 2024
9acf57c
Format code
lnicola Nov 1, 2024
cf6bc48
Merge pull request #18457 from lnicola/sync-from-rust
lnicola Nov 1, 2024
7591eb6
Fix compiler panic with a large number of threads
practicalrs Oct 30, 2024
c10fe34
No need to instantiate binder in confirm_async_closure_candidate
compiler-errors Nov 2, 2024
b431237
Allow static initializers to be const evaluated
Veykril Nov 2, 2024
f5e1dce
Improve error message for too new proc-macro server
benluiwj Nov 2, 2024
db29fd3
Merge pull request #18463 from benluiwj/fix/proc-macro-server-msg-imp…
lnicola Nov 2, 2024
72d9929
Merge pull request #18469 from Veykril/push-zwnywqmvtuts
Veykril Nov 3, 2024
56e89bc
Allow interpreting consts and statics with interpret function command
Veykril Nov 3, 2024
43c20c2
Merge pull request #18470 from Veykril/push-rxmtkvpulotn
Veykril Nov 3, 2024
9f4e719
Fix feature name casing
lnicola Nov 4, 2024
0cd3fb2
Merge pull request #18472 from lnicola/reinterpret-function-casing
lnicola Nov 4, 2024
7faa84e
Stabilise 'const_char_encode_utf16';
bjoernager Nov 4, 2024
2c94cb0
Rollup merge of #132153 - bjoernager:const-char-encode-utf16, r=dtolnay
matthiaskrgr Nov 4, 2024
5fad940
Rollup merge of #132355 - practicalrs:fix_117638, r=SparrowLii
matthiaskrgr Nov 4, 2024
ab693d6
Rollup merge of #132486 - compiler-errors:no-binder, r=lcnr
matthiaskrgr Nov 4, 2024
5e494c4
Rollup merge of #132594 - lnicola:sync-from-ra, r=lnicola
matthiaskrgr Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: remove unnecessary prerequisites setup.md
davidkurilla committed Oct 22, 2024
commit 32b05c1a906c8c8a71aa5239e4c6ffeab43b4912
12 changes: 3 additions & 9 deletions src/tools/rust-analyzer/docs/dev/setup.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# Setup Guide

This guide gives a simplified opinionated setup for developers contributing to rust-analyzer.
This guide gives a simplified opinionated setup for developers contributing to rust-analyzer using Visual Studio Code to make changes and Visual Studio Code Insiders to test those changes. This guide will assume you have Visual Studio Code and Visual Studio Code Insiders installed.

## Prerequisites

Since rust-analyzer is a Rust project, you will need to install Rust. You can download and install the latest stable version of Rust [here](https://www.rust-lang.org/tools/install).

You will also need Visual Studio Code and Visual Studio Code Insiders for this workflow. You can download and install Visual Studio Code [here](https://code.visualstudio.com/Download) and you can download and install Visual Studio Code Insiders [here](https://code.visualstudio.com/insiders/).

You will also need to install the rust-analyzer extension for Visual Studio Code and Visual Studio Code Insiders.

More information about Rust on Visual Studio Code can be found [here](https://code.visualstudio.com/docs/languages/rust)

## Step-by-Step Setup

**Step 01**: Fork the rust-analyzer repository and clone the fork to your local machine.
@@ -27,7 +21,7 @@ cargo xtask install --server --code-bin code-insiders --dev-rel
```

In the output of this command, there should be a file path provided to the installed binary on your local machine.
It should look something like the following output below
It should look something like the following output below:

```
Installing <path-to-rust-analyzer-binary>
@@ -60,4 +54,4 @@ cargo xtask install --server --code-bin code-insiders --dev-rel` to reinstall th

Now on Visual Studio Code Insiders, we should be able to open the Output tab on our terminal and switch to Rust Analyzer Language Server to see the `eprintln!` statement we just wrote.

If you are able to see your output, you now have a complete workflow for debugging rust-analyzer.
If you are able to see your output, you now have a complete workflow for debugging rust-analyzer.