aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax
Commit message (Collapse)AuthorAgeFilesLines
* Rename impl edit method to be more explicitMatt Hooper2020-09-211-1/+1
|
* Add make utility for empty associated item listsMatt Hooper2020-09-211-0/+4
|
* Add edit utility for adding an associated item list to a impl defMatt Hooper2020-09-211-0/+16
|
* Add make::glob_use_tree function to create star-only UseTreeLukas Wirth2020-09-161-0/+4
|
* Reimplement import merging by making it recursive properly nesting all levelsLukas Wirth2020-09-121-0/+1
|
* Rename record_field_pat to record_pat_fieldPavan Kumar Sunkara2020-09-104-0/+0
|
* Merge #5940bors[bot]2020-09-042-1/+84
|\ | | | | | | | | | | | | | | 5940: Implement "Replace `impl Trait` function argument with the named generic" assist. r=matklad a=alekseysidorov Fixes #5085 Co-authored-by: Aleksei Sidorov <[email protected]>
| * Remove unnecessary commaAleksei Sidorov2020-09-041-1/+0
| |
| * Fix testsAleksei Sidorov2020-09-041-1/+1
| |
| * Fix nitpicksAleksei Sidorov2020-09-041-17/+2
| |
| * Resolve most of corner casesAleksei Sidorov2020-09-031-4/+22
| |
| * Initial implementation of the #5085 issueAleksei Sidorov2020-09-032-0/+81
| |
* | Impl make::blank_lineLukas Wirth2020-09-031-1/+11
|/
* Unify namingAleksey Kladov2020-09-031-4/+4
|
* Reduce path_from_text usageAleksey Kladov2020-08-311-0/+1
|
* Remove dead codeAleksey Kladov2020-08-311-14/+0
|
* :arrow_up: expect-testAleksey Kladov2020-08-281-1/+1
|
* :arrow_up: cratesAleksey Kladov2020-08-271-1/+1
|
* Complete `pub` in fieldsAleksey Kladov2020-08-252-0/+32
|
* Cleanup invert-ifAleksey Kladov2020-08-251-6/+3
| | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result
* Support extern typesJonas Schievink2020-08-241-1/+7
|
* Merge #4776bors[bot]2020-08-241-3/+3
|\ | | | | | | | | | | | | | | | | | | 4776: Do a weekly minor publish to crates.io r=matklad a=pksunkara This is the same system I set up on Chalk repo. Every week it creates a new minor version, pushes it to github and then deploys it to crates.io. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * Add version to deps in cargo.tomlPavan Kumar Sunkara2020-08-241-3/+3
| |
* | Merge #5845bors[bot]2020-08-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 5845: Omit lenses for not runnable doctests r=matklad a=SomeoneToIgnore Ideally, we should properly parse the doctest attributes before, but since I need it for the code lens only, this way should suffice for now Co-authored-by: Kirill Bulatov <[email protected]>
| * | Omit lenses for not runnable doctestsKirill Bulatov2020-08-221-1/+1
| |/
* / Invert if should be smart about is_some, is_none, is_ok, is_errdragfire2020-08-241-1/+7
|/
* :arrow_up: ungrammarAleksey Kladov2020-08-211-1/+2
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-212-2/+2
|
*-. Merge #5776 #5780bors[bot]2020-08-171-3/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5776: Fix eslint errors on .eslintrc.js and rollup.config.js r=matklad a=fuafa Eslint complains if these two files does not include in the `tsconfig.json`. ``` Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. The file does not match your project config: .eslintrc.js. The file must be included in at least one of the projects provided.eslint ``` ![image](https://user-images.githubusercontent.com/20750310/90338269-176d4f80-e01b-11ea-8710-3ea817b235d2.png) 5780: Fixup whitespace when adding missing impl items r=matklad a=jDomantas Generate properly formatted whitespace when adding impl items - with an empty line between items and removing extra whitespace that often appears at the end. This is my first time working on rust analyzer so I'm not very familiar with its internal APIs. If there's a better way to do such syntax tree editing I'd be glad to hear it. Co-authored-by: xiaofa <[email protected]> Co-authored-by: jDomantas <[email protected]>
| | * formatjDomantas2020-08-171-13/+9
| | |
| | * fixup whitespace when adding missing impl itemsjDomantas2020-08-141-3/+30
| |/
* / Bump rustc_lexerJeremy Kolb2020-08-161-1/+1
|/
* Better recovery in `use foo::;`Aleksey Kladov2020-08-131-5/+3
|
* Align parser names with grammarAleksey Kladov2020-08-132-77/+0
|
* Remove deprecated functionAleksey Kladov2020-08-131-0/+7
|
* Cleanup **Move Guard** assistAleksey Kladov2020-08-131-0/+3
|
* **Merge Imports** assist handles selfAleksey Kladov2020-08-122-3/+11
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-12768-0/+40214