aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use new api for flip_trait_bound assistAleksey Kladov2019-10-274-12/+58
|
* Add tests for the trait bound flip assist.Wesley Norris2019-10-271-0/+76
| | | | Co-authored-by: vlthr <[email protected]>
* Fixes #2054.Wesley Norris2019-10-272-0/+34
| | | | This adds the `flip_trait_bound` assist which allows for the swapping of two trait bounds in a trait list that are next to each other.
* Merge #2088bors[bot]2019-10-271-10/+72
|\ | | | | | | | | | | | | | | | | | | | | | | 2088: Extend selection in trait bound extends to plus r=matklad a=aee11 When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound. Fixes: #2055 Co-authored-by: Alexander Elís Ebenesersson <[email protected]>
| * extend selection in trait bound extends to plusAlexander Elís Ebenesersson2019-10-271-10/+72
|/ | | | | | When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound.
* Merge #2087bors[bot]2019-10-272-14/+4
|\ | | | | | | | | | | | | | | 2087: remove relative_path_buf workaround r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove relative_path_buf workaroundAleksey Kladov2019-10-272-14/+4
| | | | | | | | The upstream problem was fixed with the change to 1.0
* | Merge #2086bors[bot]2019-10-277-183/+359
|\| | | | | | | | | | | | | | | 2086: document almost all assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * document almost all assistsAleksey Kladov2019-10-277-183/+359
|/
* Merge #2085bors[bot]2019-10-271-1/+1
|\ | | | | | | | | | | | | | | 2085: lightly document assist_ctx module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * lightly document assist_ctx moduleAleksey Kladov2019-10-271-1/+1
| |
* | Merge #2084bors[bot]2019-10-2720-72/+78
|\| | | | | | | | | | | | | | | 2084: use more consistent naming r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use more consistent namingAleksey Kladov2019-10-2717-18/+18
| | | | | | | | | | I think this is the first time I use global rename for rust-analyzer itself :-)
| * extract assist helper for getting a specific tokenAleksey Kladov2019-10-274-15/+12
| |
| * raw string assists work in macrosAleksey Kladov2019-10-271-49/+58
|/
* Merge #2083bors[bot]2019-10-276-90/+279
|\ | | | | | | | | | | | | | | 2083: document some more assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * document some more assistsAleksey Kladov2019-10-276-90/+279
|/
* Merge #2081bors[bot]2019-10-264-17/+24
|\ | | | | | | | | | | | | | | 2081: use unicode bar for drawing the cursor r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use unicode bar for drawing the cursorAleksey Kladov2019-10-264-17/+24
|/
* Merge #2078bors[bot]2019-10-265-9/+85
|\ | | | | | | | | | | | | | | 2078: support range selection in assist docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * support range selection in assist docsAleksey Kladov2019-10-265-9/+85
|/
* Merge #2079bors[bot]2019-10-265-37/+21
|\ | | | | | | | | | | | | | | 2079: avoid TextEditorBuilder for simple edits r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * avoid TextEditorBuilder for simple editsAleksey Kladov2019-10-265-37/+21
|/
* Merge #2077bors[bot]2019-10-2610-15/+165
|\ | | | | | | | | | | | | | | 2077: check style for assist docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * check style for assist docsAleksey Kladov2019-10-2610-15/+165
|/
* Merge #2076bors[bot]2019-10-264-6/+6
|\ | | | | | | | | | | | | | | 2076: use correct spacing for enum pattern r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use correct spacing for enum patternAleksey Kladov2019-10-264-6/+6
| |
* | Merge #2075bors[bot]2019-10-2611-54/+122
|\| | | | | | | | | | | | | | | 2075: document a couple of assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * document a couple of assistsAleksey Kladov2019-10-265-53/+111
| |
| * add blank lines for readabilityAleksey Kladov2019-10-266-1/+11
| |
* | Merge #2074bors[bot]2019-10-261-2/+9
|\| | | | | | | | | | | | | | | 2074: document tasks module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * document tasks moduleAleksey Kladov2019-10-261-2/+9
| |
* | Merge #2073bors[bot]2019-10-261-0/+11
|\ \ | |/ |/| | | | | | | | | | | 2073: warn if npm is not found r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * warn if npm is not foundAleksey Kladov2019-10-261-0/+11
| |
* | Merge #2072bors[bot]2019-10-264-69/+99
|\ \ | | | | | | | | | | | | | | | | | | | | | 2072: Upgrade Chalk (without using its dyn/impl Trait support) r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Upgrade Chalk (without using its dyn/impl Trait support)Florian Diebold2019-10-264-69/+99
|/ /
* | Merge #2071bors[bot]2019-10-2511-114/+419
|\ \ | |/ |/| | | | | | | | | | | 2071: generate more assists docs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * generate more assists docsAleksey Kladov2019-10-2511-114/+419
|/
* Merge #2070bors[bot]2019-10-251-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2070: sublime: hint where feature flags would go r=matklad a=jacobrosenthal It would appear feature flags need to be under initializationOptions for sublime ``` // LSP Settings - User { "clients": { "rust-analyzer": { "command": [ "ra_lsp_server" ], "enabled": true, "initializationOptions": { "featureFlags": { "notifications.workspace-loaded": false } }, "languageId": "rust", "scopes": [ "source.rust" ], "syntaxes": [ "Packages/Rust/Rust.sublime-syntax", "Packages/Rust Enhanced/RustEnhanced.sublime-syntax" ] } } } ``` Co-authored-by: Jacob <[email protected]>
| * sublime: hint where feature flags would goJacob2019-10-251-1/+5
|/
* Merge #2069bors[bot]2019-10-2512-52/+269
|\ | | | | | | | | | | | | | | 2069: auto-generate assists docs and tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * auto-generate assists docs and testsAleksey Kladov2019-10-2512-52/+269
| |
* | Merge #2066bors[bot]2019-10-256-278/+358
|\ \ | | | | | | | | | | | | | | | | | | | | | 2066: insert space after `->` r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | disable the new typing handler for `->`Aleksey Kladov2019-10-251-0/+9
| | | | | | | | | | | | It doesn't actually work with LSP
| * | insert space after `->`Aleksey Kladov2019-10-253-112/+119
| | |
| * | refactor typing_handlersAleksey Kladov2019-10-252-35/+41
| | |
| * | introduce SingleFileChangeAleksey Kladov2019-10-253-35/+64
| | |
| * | move source change to a dedicated fileAleksey Kladov2019-10-252-95/+104
| | |
| * | make typing infra slightly more extensibleAleksey Kladov2019-10-253-54/+74
| |/
* | Merge #2068bors[bot]2019-10-252-26/+26
|\ \ | |/ |/| | | | | | | | | | | 2068: Specify working chalk revisions in manifest r=matklad a=lnicola CC #2067. Co-authored-by: Laurențiu Nicola <[email protected]>