aboutsummaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | 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
| | | | | | | | |
* | | | | | | | | Merge #2018bors[bot]2019-12-021-0/+18
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2018: assists: add assist for custom implementation for derived trait r=matklad a=paulolieuthier Please, tell me if something could be more idiomatic or efficient. Fixes #1256. Co-authored-by: Paulo Lieuthier <[email protected]>
| * | | | | | | | | docs: describe new feature 'add custom impl for derived trait'Paulo Lieuthier2019-11-281-0/+18
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | 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.
* | | | | | | | | Update READMEAlexander Ekdahl2019-11-301-3/+2
|/ / / / / / / /
* | | | | | | / rename ra_ide_api -> ra_ideAleksey Kladov2019-11-273-19/+19
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge #2343bors[bot]2019-11-241-0/+19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2343: implement assist invert_if r=matklad a=bravomikekilo fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219) I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position? @matklad Co-authored-by: bravomikekilo <[email protected]>
| * | | | | | | do refact and fix some issuebravomikekilo2019-11-241-2/+2
| | | | | | | |
| * | | | | | | initial invert_ifbravomikekilo2019-11-211-0/+19
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | 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
|/ / / / / /
* | | | | / Add rust-analyzer-expand-macro function for EmacsFlorian Diebold2019-11-201-1/+1
| |_|_|_|/ |/| | | |
* | | | | Add document in features.mdEdwin Cheng2019-11-191-0/+4
| |_|_|/ |/| | |
* | | | Don't create a separate bin for format hookAleksey Kladov2019-11-181-1/+1
| |_|/ |/| |
* | | Merge #2165bors[bot]2019-11-151-0/+21
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 2165: ra_assists: Add add_new assist r=matklad a=rep-nop Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct. Not marking this as closing #1644 since there's a part 2 of adding autocompletion for when someone starts typing `[pub ]fn new(...` Co-authored-by: Wesley Norris <[email protected]>
| * | Add add_new assistWesley Norris2019-11-091-0/+21
| |/ | | | | | | | | | | | | Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct.
* / Implement postfix completions feature flagGreg2019-11-121-0/+2
|/
* move all assists to use generated docsAleksey Kladov2019-10-272-17/+17
|
* use new api for flip_trait_bound assistAleksey Kladov2019-10-271-0/+12
|
* document almost all assistsAleksey Kladov2019-10-272-174/+119
|
* document some more assistsAleksey Kladov2019-10-272-84/+93
|
* use unicode bar for drawing the cursorAleksey Kladov2019-10-261-13/+16
|
* support range selection in assist docsAleksey Kladov2019-10-261-0/+17
|
* check style for assist docsAleksey Kladov2019-10-261-4/+53
|
* use correct spacing for enum patternAleksey Kladov2019-10-261-1/+1
|
* document a couple of assistsAleksey Kladov2019-10-262-51/+37
|
* generate more assists docsAleksey Kladov2019-10-252-91/+137
|
* sublime: hint where feature flags would goJacob2019-10-251-1/+5
|
* auto-generate assists docs and testsAleksey Kladov2019-10-252-1/+27
|
* document feature flagsAleksey Kladov2019-10-251-2/+11
|
* Update rustdoc link pt.2memoryruins2019-10-241-1/+1
|
* xtask: fold gen-tests and gen-ast into codegenAleksey Kladov2019-10-231-1/+1
|
* Instructions for VSCode RemoteMarco Groppo2019-10-211-0/+19
|
* rename tools -> xtaskAleksey Kladov2019-10-172-6/+6
|
* WIP: move to xtasksAleksey Kladov2019-10-172-13/+7
|
* Adds config option for cargo-watch `--ignore` flagRoberto Vidal2019-10-171-0/+1
|
* Update link to api rustdocsmemoryruins2019-10-141-1/+1
|
* Merge #1922bors[bot]2019-10-081-3/+4
|\ | | | | | | | | | | | | | | 1922: feat(assists): Make raw string unescaped r=matklad a=Geobert Last piece of https://github.com/rust-analyzer/rust-analyzer/issues/1730 Co-authored-by: Geobert Quach <[email protected]>
| * feat(assists): Keep only one version of make_raw_stringGeobert Quach2019-09-291-16/+2
| |
| * feat(assists): Make raw string unescapedGeobert Quach2019-09-261-0/+15
| |
* | use lockfile in cargo installAleksey Kladov2019-10-081-1/+1
| |
* | remove `visitor` moduleEkaterina Babshukova2019-10-052-5/+3
| |
* | Merge #1952bors[bot]2019-10-051-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1952: Create an assist for applying De Morgan's Law r=matklad a=cronokirby Fixes #1807 This assist can transform expressions of the form `!x || !y` into `!(x && y)`. This also works with `&&`. This assist will only trigger if the cursor is on the central logical operator. The main limitation of this current implementation is that both operands need to be an explicit negation, either of the form `!x`, or `x != y`. More operands could be accepted, but this would complicate the implementation quite a bit. Co-authored-by: Lúcás Meier <[email protected]>
| * | Fix typo about De Morgan's law assistLúcás Meier2019-10-041-1/+1
| | |
| * | [#1807] Add entry in docs/user/featuresLúcás Meier2019-10-041-0/+14
| |/
* / 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