Commit Graph

95 Commits

Author SHA1 Message Date
Mikhail Rakhmanov 6a0083a519 Merge branch 'master' into compute-lazy-assits
# Conflicts:
#	crates/rust-analyzer/src/main_loop/handlers.rs
#	crates/rust-analyzer/src/to_proto.rs
2020-06-03 19:26:01 +02:00
Mikhail Rakhmanov 1f7de306f5 Add documentation 2020-06-03 18:57:50 +02:00
bors[bot] 1bbbeb886d Merge #4703
4703: Start documenting review process r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-06-03 06:29:33 +00:00
Aleksey Kladov 994006585b Start documenting review process 2020-06-03 08:28:12 +02:00
Aleksey Kladov a83ab820a4 Spec better runnables 2020-06-02 17:34:18 +02:00
bors[bot] 131ccd9540 Merge #4580
4580: Fix invoking cargo without consulting CARGO env var or standard installation paths r=matklad a=Veetaha

Followup for #4329

The pr essentially fixes [this bug](https://youtu.be/EzQ7YIIo1rY?t=2189)

cc @lefticus

Co-authored-by: veetaha <veetaha2@gmail.com>
2020-06-02 11:58:28 +00:00
Aleksey Kladov 6370de444d Subscribe to protocol changes 2020-06-01 17:51:15 +02:00
Aleksey Kladov aaa288126b Document initilizationOptions used by rust-analyzer 2020-06-01 17:42:46 +02:00
Aleksey Kladov d23814bf3d Drop unused document 2020-06-01 17:29:24 +02:00
veetaha d605ec9c32 Change Runnable.bin -> Runnable.kind
As per matklad, we now pass the responsibility for finding the binary to the frontend.
Also, added caching for finding the binary path to reduce
the amount of filesystem interactions.
2020-05-31 05:21:45 +03:00
Stephan Seitz 49f674480a Fix typo in docs/dev/lsp-extensions.md: automagiacally -> automagically 2020-05-29 23:43:14 +02:00
Veetaha bfdcf73b9b typo 2020-05-27 14:04:57 +03:00
Aleksey Kladov bb415c1818 Document inlay hints and runnables
We want to change those, but let's document what we have in meantime
2020-05-27 12:20:47 +02:00
Aleksey Kladov 0ebb25b29b Document parentModule experimental LSP request 2020-05-25 15:59:49 +02:00
Aleksey Kladov a30bdd9795 Cleanup lsp extensions on the client side 2020-05-25 14:56:26 +02:00
Aleksey Kladov 76e170c3d0 Less rust-analyzer specific onEnter 2020-05-25 14:28:47 +02:00
Aleksey Kladov dec4ba8023 Document some rust-analyzer specific protocol extensions 2020-05-24 17:01:40 +02:00
Aleksey Kladov 9342273616 Document matchingBrace LSP request 2020-05-24 16:53:18 +02:00
Aleksey Kladov e4af9f6d8a Reorgonise extensions docs 2020-05-24 15:49:32 +02:00
Aleksey Kladov 9d31b502b5 Link upstream issues 2020-05-22 19:14:14 +02:00
Aleksey Kladov 2075e77ee5 CodeAction groups 2020-05-22 17:32:46 +02:00
Aleksey Kladov 5ef4ebff20 Use WorkspaceEdit for ssr 2020-05-22 00:28:49 +02:00
Aleksey Kladov 5b5ebec440 Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
Yuki Kodama d58d6412d8 Fix names of launch configuration in dev docs 2020-05-21 03:01:37 +09:00
Aleksey Kladov a752853350 Add snippetTextEdit protocol extension 2020-05-19 20:28:27 +02:00
Aleksey Kladov 72e229fcb3 Use RA_LOG instead of RUST_LOG for logging
RUST_LOG might be set up for debugging the user's problem, slowing
down rust-analyzer considerably. That's the same reason why rustc uses
RUSTC_LOG.
2020-05-11 19:16:00 +02:00
KENTARO OKUDA 42e2eca921 Update debugging.md 2020-05-03 15:14:56 -04:00
KENTARO OKUDA 4f4d0fd9ac Update syntax.md 2020-05-02 18:55:04 -04:00
KENTARO OKUDA 9914f7fbb2 Fix Typos 2020-05-02 17:45:46 -04:00
KENTARO OKUDA f5d20b6525 Fix Typos on guide.md 2020-05-01 14:00:06 -04:00
KENTARO OKUDA eafb2107dd Fix Typos 2020-05-01 09:43:08 -04:00
Ömer Sinan Ağacan 742055e29f Update Roslyn link in syntax.md
Eric Lippert has a new blog that he keeps updating, update the link to that
2020-04-30 23:27:06 +03:00
Youngsuk Kim b40a237baf tiny fix in markdown ordered list
`.3` => `3.`
2020-04-28 10:18:12 -04:00
Aleksey Kladov 8843588fca Convert tests to text-size 2020-04-25 11:59:18 +02:00
Aleksey Kladov b1d5817dd1 Convert code to text-size 2020-04-25 11:59:18 +02:00
veetaha dd5e4d4870 vscode: move docks about syntax tree to dev/README.md 2020-04-02 11:23:56 +03:00
Laurențiu Nicola 48737be857 Fix dev guide broken links 2020-02-18 16:24:04 +02:00
Aleksey Kladov c855e36696 Rename config value for server Path 2020-02-18 12:35:44 +01:00
Aleksey Kladov c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +01:00
Laurențiu Nicola b6b8fd9525 Replace ra_cli mentions 2020-02-17 22:07:24 +02:00
Laurențiu Nicola aadab96c9d Fix RA_PROFILE typo in docs 2020-02-17 22:05:48 +02:00
Veetaha 2d7fe230f5 docs: Fix grammar mistakes 2020-02-16 23:52:41 +02:00
Veetaha 884e382fb8 Fix typo
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:47:12 +02:00
Veetaha 5bf7e9a455 Remove ptrace note
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:43:13 +02:00
Veetaha bb9844e195 Add more verbose description
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:42:48 +02:00
Veetaha 7050697871 Add the article
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:42:10 +02:00
Veetaha 3db91db421 Reworded abit
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:40:31 +02:00
Veetaha 329a1b665d Add an article
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:38:25 +02:00
Veetaha dc90507dbe Migrate from 'npm i' to 'npm install'
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:36:16 +02:00
Veetaha 1a96d4c15c Make Rust Great Again
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-02-16 23:35:41 +02:00