aboutsummaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Document design labelAleksey Kladov2021-01-261-0/+4
|
* Fix typo in style guideLaurențiu Nicola2021-01-251-3/+4
|
*-. Merge #7409 #7421bors[bot]2021-01-252-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7409: Add References CodeLens. r=matklad a=vsrs Closes #5836 7421: Fix RA_LOG example in dev docs r=lnicola a=lnicola bors r+ Co-authored-by: vsrs <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| | * Fix RA_LOG example in dev docsLaurențiu Nicola2021-01-251-1/+1
| |/ |/|
| * Add References code lens.vsrs2021-01-231-0/+2
|/ | | | For Struct, Enum, Union and Trait symbols.
* Promote marksAleksey Kladov2021-01-221-6/+16
|
* Style: use the right stringAleksey Kladov2021-01-221-0/+12
|
* Include `countme` crate to count important data structures.Aleksey Kladov2021-01-211-0/+3
|
* Avoid intermediate collectionsAleksey Kladov2021-01-201-1/+33
|
* Don't show runnable suggestions for other filesAleksey Kladov2021-01-201-0/+3
| | | | | It't be actually great to have these once we have run anything dialog, but for run the thing at point it makes sense to show a limited set.
* 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