aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Disable insert_import in extract_struct_from_enum_variant until its fixedLukas Wirth2020-09-031-0/+4
|
* Fix import insertion breaking nested modulesLukas Wirth2020-09-035-62/+117
|
* Fix inserting imports in front of inner attributesLukas Wirth2020-09-032-3/+54
|
* Replace insert_use_statement with the new insert_useLukas Wirth2020-09-034-54/+68
|
* Impl make::blank_lineLukas Wirth2020-09-033-27/+20
|
* Use mark to check that paths that are too long will not be mergedLukas Wirth2020-09-031-0/+13
|
* Tidy up tests and apply suggested changesLukas Wirth2020-09-031-72/+107
|
* Add more import insertion testsLukas Wirth2020-09-031-3/+68
|
* Begin refactor of import insertionLukas Wirth2020-09-031-468/+440
|
* Actually assert disjointnessAleksey Kladov2020-09-031-3/+6
|
* Merge #5941bors[bot]2020-09-032-5/+5
|\ | | | | | | | | | | | | | | | | | | 5941: Unify naming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Unify namingAleksey Kladov2020-09-032-5/+5
| |
* | Merge #5937bors[bot]2020-09-031-3/+3
|\ \ | |/ |/| | | | | | | | | | | 5937: Chalk 0.25 r=matklad a=kjeremy Picks up flodiebold's infinite loop fix Co-authored-by: kjeremy <[email protected]>
| * Chalk 0.25kjeremy2020-09-021-3/+3
| | | | | | | | Picks up flodiebold's infinite loop fix
* | default `checkOnSave.enable` to `true` in serverAndy Russell2020-09-021-1/+1
|/
* Switch to upstream ENUM_MEMBERkjeremy2020-09-022-2/+2
|
* Move to vscode-languageclient 7.0.0-next.9kjeremy2020-09-026-23/+22
| | | | Stabilizes call hierarchy and semantic tokens features.
* Document VS Code setting needed for on-typing assistsAramis Razzaghipour2020-09-011-0/+8
|
* Bump token expansion limitAleksey Kladov2020-09-011-1/+1
| | | | | | | We hit this for redis crate, reported at Reported at https://www.reddit.com/r/rust/comments/ikfsf8/rustanalyzer_doesnt_work_with_the_redis_crate/
* Reduce path_from_text usageAleksey Kladov2020-08-312-13/+18
|
* Remove dead codeAleksey Kladov2020-08-311-14/+0
|
* Fix some typosKirill Bulatov2020-08-282-2/+2
|
* :arrow_up: expect-testAleksey Kladov2020-08-2825-23/+23
|
* :arrow_up: cratesAleksey Kladov2020-08-271-1/+1
|
* CONST LOOPS ARE HEREAleksey Kladov2020-08-277-28/+37
|
* MinorAleksey Kladov2020-08-271-1/+2
|
* Merge #5895bors[bot]2020-08-268-336/+296
|\ | | | | | | | | | | | | | | | | | | 5895: Tease apart orthogonal concerns in markdown link rewriting r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Tease apart orthogonal concerns in markdown link rewritingAleksey Kladov2020-08-268-336/+296
| | | | | | | | | | | | | | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits.
* | Merge #5893bors[bot]2020-08-262-2/+9
|\ \ | |/ |/| | | | | | | | | | | | | | | 5893: Allow running a test as a binary r=matklad a=jonas-schievink If a test uses `harness = false`, it just contains an `fn main` that is executed via `cargo test`. This adds support for that. Note though that Cargo doesn't actually tell us whether `harness = false`, so this hint will always show up when you put an `fn main` into an integration test. Normally people shouldn't be doing that if they do use the harness though. Co-authored-by: Jonas Schievink <[email protected]>
| * Allow running a test as a binaryJonas Schievink2020-08-262-2/+9
| |
* | Cleanup hover links testsAleksey Kladov2020-08-261-88/+74
|/
* Improve support for code block attributesLeón Orell Valerian Liehr2020-08-262-19/+170
|
* SimplifyAleksey Kladov2020-08-261-17/+4
|
* Merge #5889bors[bot]2020-08-264-326/+256
|\ | | | | | | | | | | | | | | | | 5889: Allow logging to file r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-08-261-106/+69
| |
| * Simplify helpAleksey Kladov2020-08-263-224/+99
| |
| * Allow redirecting logs to a specific fileAleksey Kladov2020-08-263-10/+102
| | | | | | | | | | There's a surprising lack of crates which are like env_logger, but also allow writing to a file. Let's write our own then!
* | **Inline Variable** works with field shorthandAleksey Kladov2020-08-261-2/+29
|/
* Add sysroot shortcut to rust-project.jsonAleksey Kladov2020-08-252-19/+57
|
* Cleanup heavy testsAleksey Kladov2020-08-252-37/+42
|
* Don't expose indexing detailsAleksey Kladov2020-08-252-24/+20
|
* MinorAleksey Kladov2020-08-251-2/+1
|
* Provide better stack trace for overlapping editsAleksey Kladov2020-08-251-3/+9
| | | | | | | Overlapping indels are a bug. Checking this *always* is tricky (needs a sorted data structure to not suffer O(N^2) perf). But opportunistically checking small indels should give provide 80% of the benefits.
* Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-252-105/+73
|
* Complete `pub` in fieldsAleksey Kladov2020-08-257-8/+76
|
* Prep work for overriding sysrootAleksey Kladov2020-08-252-54/+61
| | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects.
* Remove monomorphisation from doclinks resolving codeAleksey Kladov2020-08-252-34/+43
|
* Remove AttrDefAleksey Kladov2020-08-254-66/+52
|
* SimplifyAleksey Kladov2020-08-251-6/+6
|
* Move attrs from code_module to a separate moduleAleksey Kladov2020-08-253-126/+140
|