aboutsummaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce more appropriate assertion mechanismAleksey Kladov2021-01-141-0/+5
| | | | | | | rust-analyzer is a long-running program, so we *should* handle assertion failures. See also https://www.sqlite.org/assert.html.
* Encourage gifsAleksey Kladov2021-01-111-0/+2
|
* Use T! for bool keywordsLaurențiu Nicola2021-01-101-0/+21
|
* typoAleksey Kladov2021-01-071-23/+23
|
* Styleguide readabilityAleksey Kladov2021-01-071-63/+115
|
* Document `std::ops` styleAleksey Kladov2021-01-071-1/+9
|
* Merge #7195bors[bot]2021-01-072-3/+3
|\ | | | | | | | | | | | | | | 7195: Update remaining serverPath references r=lnicola a=lnicola Fixes https://github.com/rust-analyzer/rust-analyzer/pull/7156#issuecomment-755487667 Co-authored-by: Laurențiu Nicola <[email protected]>
| * Update remaining serverPath referencesLaurențiu Nicola2021-01-072-3/+3
| |
* | Merge #7184bors[bot]2021-01-071-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 7184: Changes Cursor Marker To $0 r=matklad a=kevaundray Co-authored-by: Kevaundray Wedderburn <[email protected]>
| * | Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-1/+1
| |/
* / Use american spelling for configAleksey Kladov2021-01-071-1/+1
|/ | | | | | | | As per https://github.com/rust-analyzer/rust-analyzer/blob/171c3c08fe245938fb25321394233de5fe2abc7c/docs/dev/style.md#variable-naming Also implement config aliasing, for pain-free settings migrations in the future
* More maintainable configAleksey Kladov2021-01-061-0/+2
| | | | | | | Rather than eagerly converting JSON, we losslessly keep it as is, and change the shape of user-submitted data at the last moment. This also allows us to remove a bunch of wrong Defaults
* Allow `#anchor` linking of config optionsAleksey Kladov2021-01-051-53/+53
|
* Merge #7113bors[bot]2021-01-031-0/+3
|\ | | | | | | | | | | | | | | | | | | 7113: Manual updates r=matklad a=tekul Add some details on how to build the manual and some clarification on how to deal with "proc macro2 warnings. For context, this arose from [this question](https://users.rust-lang.org/t/how-to-disable-rust-analyzer-proc-macro-warnings-in-neovim/53150) on users.rust-lang.org. Co-authored-by: Luke Taylor <[email protected]>
| * Expand contributing "tip" in manual.adocLuke Taylor2020-12-311-0/+3
| | | | | | | | | | | | - Add link to asciidoc website - Explain how to create the generated adoc files from the source code - How to run asciidoctor to generate the manual
* | Merge #7068bors[bot]2021-01-032-1/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7068: Add VSCode command to view the hir of a function body r=theotherphil a=theotherphil Will fix https://github.com/rust-analyzer/rust-analyzer/issues/7061. Very rough initial version just to work out where I needed to wire everything up. @matklad would you be happy merging a hir visualiser of some kind? If so, do you have any thoughts on what you'd like it show, and how? I've spent very little time on this thus far, so I'm fine with throwing away the contents of this PR, but I want to avoid taking the time to make this more polished/interactive/useful only to discover that no-one else has any interest in this functionality. ![image](https://user-images.githubusercontent.com/1974256/103236081-bb58f700-493b-11eb-9d12-55ae1b870f8f.png) Co-authored-by: Phil Ellison <[email protected]>
| * | Address review suggestion, fix tidy testsPhil Ellison2021-01-012-1/+14
| | |
* | | Add support for Rust 2021.Mara Bos2021-01-011-1/+1
| |/ |/|
* | Improve commit message styleAleksey Kladov2020-12-281-0/+12
|/
* Update manual.adocHeyward Fann2020-12-241-1/+1
|
* Document, how to view config in effectAleksey Kladov2020-12-231-0/+3
|
* Clean up descriptions for settingsRüdiger Herrmann2020-12-221-13/+13
| | | | | | | | | | | | Use two consecutive newlines (`\n\n`) to actually continue text on a new line. Use proper markup to reference related settings. Consistently format references to files, editor commands, command line arguments, files, etc. as `code`. Fix typos, add missing full-stops, add missing default values.
* Split lines between sentencesLaurențiu Nicola2020-12-201-15/+27
|
* Document the version requirements for building from sourceLaurențiu Nicola2020-12-201-1/+1
|
* Update docs/dev/README.mdAleksey Kladov2020-12-161-1/+1
| | | Co-authored-by: Lukas Wirth <[email protected]>
* Document new permissionsAleksey Kladov2020-12-161-0/+14
|
* Add `#` to canonical test exampleAleksey Kladov2020-12-151-4/+4
|
* Link config sourceAleksey Kladov2020-12-141-0/+2
|
* Docs: Explain manual installation in VS CodeChristian Authmann2020-12-131-0/+17
|
* Use natural trait ordering in derive completionAleksey Kladov2020-12-111-119/+0
| | | | | | | | derive(Clone, Copy) reads better than derive(Copy, Clone). However, we preserve the reverse ordering in the lookup text for sorting purposes. That way, it's convenient to type just `Ord` to derive everything.
* Improve docs for building from sourceLaurențiu Nicola2020-12-101-1/+8
|
* Normalize spelling to American EnglishAleksey Kladov2020-12-101-0/+1
|
* Fix a typo in manual.adocJosh Stone2020-12-091-1/+1
|
* Include config into the manualAleksey Kladov2020-12-092-0/+115
|
* fix typo of README in devDaiki Ihara2020-12-081-1/+1
|
* Document statelessness invariantAleksey Kladov2020-12-031-0/+16
|
* More accurately place proc-macro diagnosticJonas Schievink2020-11-271-1/+1
|
* Publish diagnostics for macro expansion errorsJonas Schievink2020-11-271-0/+14
|
* fix typos in syntax.mdJakob Hellermann2020-11-171-2/+2
|
* Latest LSP 3.16 protocolkjeremy2020-11-161-2/+2
| | | | Pulls in https://github.com/gluon-lang/lsp-types/pull/186
* add open Cargo.toml actionAnatol Liu2020-11-131-2/+27
|
* Switch to upstream protocol for resolving code actionAleksey Kladov2020-11-101-25/+1
| | | | | | Note that we have to maintain custom implementation on the client side: I don't see how to marry bulitin resolve support with groups and snippets.
* don\t indent testsAleksey Kladov2020-11-061-0/+26
|
* Update docs/dev/style.mdAleksey Kladov2020-11-021-1/+1
| | | Co-authored-by: Laurențiu Nicola <[email protected]>
* Document doer object anti-patternAleksey Kladov2020-11-021-0/+54
|
* docs: Update Neovim nvim-lspconfig repository linkDave Lage2020-10-291-2/+2
|
* Update client install command in dev docsLaurențiu Nicola2020-10-271-1/+1
|
* Fix name of InactiveCode diagnosticJonas Schievink2020-10-231-6/+6
|
* Diagnose #[cfg]s in bodiesJonas Schievink2020-10-231-4/+4
|
*-. Merge #6325 #6327bors[bot]2020-10-222-1/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6325: Add generated diagnostic docs to the manual r=matklad a=flodiebold It seemed that we're not actually including the generated diagnostic docs anywhere yet? So I added something to the manual. This is completely untested though. 6327: Update debugging.md r=matklad a=stanciuadrian `on_task` is no longer there. I have used `on_request` instead. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Adrian Stanciu <[email protected]>