aboutsummaryrefslogtreecommitdiff
path: root/docs/user/README.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Docs cleanupsFlorian Diebold2020-02-081-12/+6
|/
* Further fix `docs/user/README.md`Gian D2020-02-051-1/+1
| | | Co-Authored-By: Laurențiu Nicola <[email protected]>
* Fix unneeded `.` in `docs/user/README.md`Gian D2020-02-051-1/+1
|
* updating nvim_lsp usage for rust_analyzerJan2020-01-291-2/+1
|
* Update docs/user/README.mdJeremy Kolb2020-01-271-1/+1
| | | Co-Authored-By: Veetaha <[email protected]>
* Use package scriptJeremy Kolb2020-01-261-1/+1
|
* Rename Emacs "extension"Aleksey Kladov2020-01-131-1/+1
|
* Rename VS Code extension to rust-analyzerAleksey Kladov2020-01-131-3/+3
|
* Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-091-0/+2
|\ | | | | Flag to hide cargo.toml not found error
| * Allow disabling Cargo.toml not found errorWilco Kusee2020-01-031-0/+2
| |
* | add note in vscode instructions for vim plugin usersGus Wynn2020-01-051-0/+4
|/
* Add example of color customizationAleksey Kladov2019-12-311-10/+3
|
* Merge branch 'master' into feature/themesSeivan Heidari2019-12-231-24/+39
|\
| * Cleanup Vim and NeoVim instructions. Fix #2579Francisco Lopes2019-12-171-17/+12
| |
| * Code: check whether the LSP binary is in PATHLaurențiu Nicola2019-12-081-1/+16
| |
| * fix file nameAndrew Banchich2019-12-041-1/+1
| |
| * fix linkAndrew Banchich2019-12-041-1/+1
| |
| * use relative linkAndrew Banchich2019-12-041-1/+1
| |
| * fix outdated link to ra-emacs-lsp.elAndrew Banchich2019-12-041-1/+1
| |
| * Add back corrected `cargo install` commandJonathan Behrens2019-12-011-8/+8
| |
| * Clarify installation instructionsJonathan Behrens2019-12-011-10/+15
| | | | | | In particular it is necessary to clone the repository before running the other commands. I also removed the `cargo install` side note because it didn't actually work (running the command just produces an error that --package isn't a recognized flag) and added a tldr code block with the list of commands to run.
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-251-0/+5
|\| | | | | | | feature/themes
| * Fix url to point to rust_analyzer specificallyAshkan Kiani2019-11-231-1/+1
| |
| * Add note about neovim's built in language serverAshkan Kiani2019-11-231-0/+5
| |
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-211-1/+1
|\| | | | | | | feature/themes
| * Add rust-analyzer-expand-macro function for EmacsFlorian Diebold2019-11-201-1/+1
| |
* | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzer into ↵Seivan Heidari2019-11-121-0/+2
|\| | | | | | | feature/themes
| * Implement postfix completions feature flagGreg2019-11-121-0/+2
| |
* | Clearer docs usage under `rust-analyzer.scopeMappings`.Seivan Heidari2019-11-041-1/+1
| |
* | * Adding scope mapping configuration manifest in `package.json`Seivan Heidari2019-11-041-2/+11
|/ | | | | | | | | | | | | | * Loading configurable scope mappings from settings. * Updating Readme with `rust-analyzer.scopeMappings`. `rust-analyzer.scopeMappings` -- a scheme backed JSON object to tweak Rust Analyzer scopes to TextMate scopes. ```jsonc { //Will autocomplete keys to available RA scopes. "keyword.unsafe": ["keyword", "keyword.control"], //Values are string | TextMateScope | [string | TextMateScope] "comments": "comment.block" } ```
* sublime: hint where feature flags would goJacob2019-10-251-1/+5
|
* document feature flagsAleksey Kladov2019-10-251-2/+11
|
* Instructions for VSCode RemoteMarco Groppo2019-10-211-0/+19
|
* WIP: move to xtasksAleksey Kladov2019-10-171-3/+3
|
* Adds config option for cargo-watch `--ignore` flagRoberto Vidal2019-10-171-0/+1
|
* use lockfile in cargo installAleksey Kladov2019-10-081-1/+1
|
* Add alternative setup instruction for vim/neovimLuke Jones2019-10-041-0/+16
| | | | Provide another option hint for vim/neovim users who do not want to run nodejs
* update documentation according to new settingsPaul Lesur2019-09-251-1/+2
| | | | | | | 1. `command` has been added to change the default cargo-watch command 2. `check-arguments` has been renamed to `arguments` as a consequence Thoses changes were merged in #1434
* Fixed markdown in user READMEzoewithabang2019-09-181-1/+1
|
* clarify sublime instructionsAleksey Kladov2019-09-111-1/+3
| | | | closes #1811
* Update README.mdHeyward Fann2019-09-091-1/+1
|
* Update README.mdHeyward Fann2019-09-091-2/+3
| | | fixes base on #1755 reviews
* Merge #1755bors[bot]2019-09-061-27/+4
|\ | | | | | | | | | | | | | | 1755: feat(docs): add coc-rust-analyzer r=JeanMertz a=fannheyward Co-authored-by: Heyward Fann <[email protected]>
| * feat(docs): add coc-rust-analyzerHeyward Fann2019-09-031-27/+4
| |
* | add option to disable notifyAleksey Kladov2019-09-061-0/+2
|/
* Make sysroot use `RUST_SRC_PATH` if setBastian Köcher2019-08-221-0/+1
|