aboutsummaryrefslogtreecommitdiff
path: root/docs/user
Commit message (Collapse)AuthorAgeFilesLines
* Merge #3742bors[bot]2020-03-271-0/+23
|\ | | | | | | | | | | | | | | | | | | | | 3742: Replace if with if-let r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Replace if with if-letAleksey Kladov2020-03-271-0/+23
| |
* | Assist: replace unwrap with matchUnreal Hoang2020-03-261-0/+23
|/
* Updated docsMatt Hooper2020-03-241-0/+2
|
* Merge #3700bors[bot]2020-03-241-2/+2
|\ | | | | | | | | | | | | | | | | | | 3700: fill match arms with empty block rather than unit tuple r=matklad a=JoshMcguigan As requested by @Veetaha in #3689 and #3687, this modifies the fill match arms assist to create match arms as an empty block `{}` rather than a unit tuple `()`. In one test I left one of the pre-existing match arms as a unit tuple, and added a body to another match arm, to demonstrate that the contents of existing match arms persist. Co-authored-by: Josh Mcguigan <[email protected]>
| * update assists docsJosh Mcguigan2020-03-241-2/+2
| |
* | Add troubleshooting secionAleksey Kladov2020-03-241-0/+10
|/
* Make from-source install use cargo installed binary by defaultAleksey Kladov2020-03-201-6/+0
|
* Merge imports assistAleksey Kladov2020-03-181-0/+13
| | | | Work towards #2220
* User Manual: fix AUR linkmurlakatamenka2020-03-161-1/+1
|
* Add installation notes for Arch Linux usersmurlakatamenka2020-03-161-0/+15
|
* docs: add documentation for vscode nightliesVeetaha2020-03-141-0/+19
|
* Fix docsAleksey Kladov2020-03-121-2/+3
|
* Parameter inlay hint separate from variable type inlay? #2876Steffen Lyngbaek2020-03-101-2/+2
| | | | | | | | | Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side
* Fix quotesAleksey Kladov2020-03-091-1/+1
| | | | closes #3501
* vscode: groupd updates-related config under `updates` section as per @matkladVeetaha2020-03-091-1/+1
|
* docs: change formattingVeetaha2020-03-081-6/+16
|
* vscode: rename alwaysDownloadServer -> askBeforeDownloadVeetaha2020-03-081-1/+1
| | | | | | | | | | | The new name seems much simpler and it doesn't limit this config value only to downloading the server binary. Thus we wouldn't need to create another config properties to handle other downloads whatsoever. Anyway, I believe (heuristically) that most of the users would want to set "askBeforeDownload": false once and never bother clicking on the notification again (because otherwise there is no big point in installing rust-analyzer if it cannot install the server)
* vscode: add docs on alwaysDownloadServerVeetaha2020-03-081-1/+8
|
* Better describe current inlay hints' limitationsKirill Bulatov2020-03-051-3/+4
|
* rewording and typo fixAdam Bratschi-Kaye2020-02-221-1/+1
| | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
* add ssr docadamrk2020-02-221-0/+15
|
* Fix a typoKirill Bulatov2020-02-221-1/+1
|
* One more tiny doc fixKirill Bulatov2020-02-221-1/+1
|
* Code review fixesKirill Bulatov2020-02-221-5/+5
| | | | Co-Authored-By: Florian Diebold <[email protected]> Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
* Add inlay hints documentationKirill Bulatov2020-02-221-0/+25
|
* update imageAndrew Blakey2020-02-211-2/+1
|
* update docsAndrew Blakey2020-02-212-24/+24
|
* Add document for `Show RA Version`Edwin Cheng2020-02-211-0/+4
|
* Add `remove_mut` assistAleksey Kladov2020-02-191-0/+16
|
* Rename config value for server PathAleksey Kladov2020-02-181-2/+2
|
* Rename the binary to rust-analyzerAleksey Kladov2020-02-181-4/+4
|
* Fix typoAkihiro Takai2020-02-181-1/+1
|
* Reword the docsKirill Bulatov2020-02-171-1/+1
| | | Co-Authored-By: LaurenČ›iu Nicola <[email protected]>
* Install rust-src when it is not foundKirill Bulatov2020-02-171-1/+3
|
* Mention rust-srcAleksey Kladov2020-02-171-0/+7
|
* vscode: updated user docs vscode updates sectionVeetaha2020-02-161-4/+3
|
* TypoVeetaha2020-02-141-1/+1
| | | typo
* Ensure that the manual is self-improvingAleksey Kladov2020-02-141-0/+3
|
* Start manualAleksey Kladov2020-02-142-280/+152
|
* Move build prerequisites into build sectiondvermd2020-02-101-4/+4
|
* docs: quick fix inner link in docsVeetaha2020-02-091-1/+2
|
* docs: more documentation on prebuilt binaries all-editors-wiseVeetaha2020-02-091-22/+40
|
* docs: Freshen docs for prebuilt binaries and raLspServer settingVeetaha2020-02-091-3/+14
|
* Merge #3053bors[bot]2020-02-091-1/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3053: Feature: downloading lsp server from GitHub r=matklad a=Veetaha This is currently very WIP, I may need to change this and that, add "download language server command", logging stuff (for future bug reports), etc., but it already works. Also didn't test this on windows yet and mac (don't have the latter) The quirks: * Downloaded binary doesn't have executable permissions by default, that's why we ~~`chmod 111`~~ (**[UPD]** `chmod 755` as per @lnicola [suggestion](https://github.com/rust-analyzer/rust-analyzer/pull/3053#discussion_r376694456)) for it. * To remove installed binary run `rm /${HOME}/.config/Code/User/globalStorage/matklad.rust-analyzer/ra_lsp_server-linux`, ~~note that `-f` flag is necessary, because of `111` permissions (I think this should be changed)~~ (**[UPD]** --force is no longer needed due to 755 permissions). I also tried to keep things simple and not to use too many dependencies, all the ones added have 0 dependencies, (`ts-not-nil` is my personal npm package, that imitates `unwrap()` in TypeScript) **[UPD]** I reduced throttle latency of progress indicator to 200ms for smoother UX // TODO: - [x] ~~Add `Rust Analyzer: Download latest language server` vscode command.~~ **[UPD]**: having reviewed the code and estimated available options I concluded that this feature requires too many code changes, I'd like to extract this into a separate PR after we merge this one. - [x] Add some logging for future debugging - [x] ~~Gracefully handle the case when language server is not available (e.g. no internet connection, user explicitly rejected the download, etc.)~~ **[UPD]** Decided to postpone better implementation of graceful degradation logic as per [conversation](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Deployment.20and.20installation/near/187758550). Demo (**[UPD]** this is a bit outdated, but still mainly reflects the feature): ![ra-github-release-download-mvp](https://user-images.githubusercontent.com/36276403/74077961-4f248a80-4a2d-11ea-962f-27c650fd6c4c.gif) Related issue: #2988 #3007 Co-authored-by: Veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]>
| * docs: fix spelling untill -> untilVeetaha2020-02-091-1/+1
| | | | | | Co-Authored-By: Jonas Platte <[email protected]>
| * docs: minor fixes in wordings and punctuationVeetaha2020-02-091-2/+2
| |
| * vscode: updated docs on prebuilt binariesVeetaha2020-02-091-0/+32
| |
* | Merge #3052bors[bot]2020-02-091-14/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | 3052: Rename add import assist r=matklad a=SomeoneToIgnore Based on the https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/2.20assists.20with.20the.20same.20action.20name/near/187655643 and the related discussion. Co-authored-by: Kirill Bulatov <[email protected]>
| * | Rename add import assistKirill Bulatov2020-02-071-14/+14
| |/