aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #5879bors[bot]2020-08-261-5/+3
|\ | | | | | | | | | | | | | | | | 5879: Update mentions of 'ra_vfs' in architecture doc r=matklad a=rherrmann Adjust the paragraph about `ra_vfs` to point to the `vfs` crate that is used now. Co-authored-by: Rüdiger Herrmann <[email protected]>
| * Update mentions of 'ra_vfs' in architecture docRüdiger Herrmann2020-08-251-5/+3
| | | | | | Adjust the paragraph about `ra_vfs` to point to the `vfs` crate that is used now.
* | Merge #5885bors[bot]2020-08-263-49/+117
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5885: Make inlay hints colors more configurable r=matklad a=Veetaha **[BREAKING CHANGE]** Tackles https://github.com/rust-analyzer/rust-analyzer/issues/5337#issuecomment-680018601 and generally related to #5337. Added `foreground/background` color configurations with optional more specific overrides `foreground.(type|parameter|chaining)Hints`. One problem I see is that the config keys are long and don't fit into the on-hover hints in the `settings.json` file entirely... <details> <summary>Demo</summary> ![demo](https://user-images.githubusercontent.com/36276403/91238334-77fc3b00-e745-11ea-836b-2822015ece98.gif) </details> Co-authored-by: Veetaha <[email protected]>
| * | Make inlay hints colors more configurableVeetaha2020-08-263-49/+117
| | |
* | | Merge #5890bors[bot]2020-08-261-17/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5890: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | SimplifyAleksey Kladov2020-08-261-17/+4
|/ / /
* | | Merge #5889bors[bot]2020-08-265-327/+257
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-264-11/+103
| |/ / | | | | | | | | | | | | 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!
* | | Merge #5888bors[bot]2020-08-261-2/+29
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 5888: **Inline Variable** works with field shorthand r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | **Inline Variable** works with field shorthandAleksey Kladov2020-08-261-2/+29
|/ /
* | Merge #5884bors[bot]2020-08-253-22/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5884: Add sysroot shortcut to rust-project.json r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add sysroot shortcut to rust-project.jsonAleksey Kladov2020-08-253-22/+70
|/ /
* | Merge #5883bors[bot]2020-08-252-37/+42
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5883: Cleanup heavy tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Cleanup heavy testsAleksey Kladov2020-08-252-37/+42
|/ /
* | Merge #5882bors[bot]2020-08-252-24/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5882: Don't expose indexing details r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Don't expose indexing detailsAleksey Kladov2020-08-252-24/+20
|/ /
* | Merge #5881bors[bot]2020-08-251-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5881: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | MinorAleksey Kladov2020-08-251-2/+1
| | |
* | | Merge #5880bors[bot]2020-08-251-3/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 5880: Opportunistically check indel overlap r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | 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.
* | | Merge #5878bors[bot]2020-08-252-105/+73
|\| | | |/ |/| | | | | | | | | | | | | | | 5878: Prepare to share sysroot lowering code between Cargo & ProjectJSON r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-252-105/+73
|/
* Merge #5877bors[bot]2020-08-257-8/+76
|\ | | | | | | | | | | | | | | | | | | 5877: Complete `pub` in fields r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete `pub` in fieldsAleksey Kladov2020-08-257-8/+76
| |
* | Merge #5876bors[bot]2020-08-252-54/+61
|\| | | | | | | | | | | | | | | | | | | 5876: Prep work for overriding sysroot r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * 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.
* Merge #5875bors[bot]2020-08-252-34/+43
|\ | | | | | | | | | | | | | | | | | | 5875: Remove monomorphisation from doclinks resolving code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove monomorphisation from doclinks resolving codeAleksey Kladov2020-08-252-34/+43
|/
* Merge #5873bors[bot]2020-08-251-2/+2
|\ | | | | | | | | | | | | | | 5873: Correct sed replacement when called in a bash file r=matklad a=pksunkara There's so much trial and error regarding shells and stuff I needed to do to get this correctly working on github runner. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * Correct sed replacement when called in a bash filePavan Kumar Sunkara2020-08-251-2/+2
| |
* | Merge #5874bors[bot]2020-08-254-66/+52
|\ \ | |/ |/| | | | | | | | | | | | | | | 5874: Remove AttrDef r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove AttrDefAleksey Kladov2020-08-254-66/+52
|/
* Merge #5870bors[bot]2020-08-253-126/+140
|\ | | | | | | | | | | | | | | | | 5870: Move code_model attrs to a new module r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-08-251-6/+6
| |
| * Move attrs from code_module to a separate moduleAleksey Kladov2020-08-253-126/+140
| |
* | Merge #5869bors[bot]2020-08-251-9/+6
|\| | | | | | | | | | | | | | | | | | | 5869: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * MinorAleksey Kladov2020-08-251-9/+6
|/
* Merge #5867bors[bot]2020-08-255-12/+7
|\ | | | | | | | | | | | | | | | | | | 5867: Use the same abstraction for attrs and docs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Use the same abstraction for attrs and docsAleksey Kladov2020-08-255-12/+7
|/ | | | | Doc comments *are* attributes, so there's no reason to have two crates here.
* Merge #5866bors[bot]2020-08-255-14/+32
|\ | | | | | | | | | | | | | | | | | | 5866: Improve logging r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Improve loggingAleksey Kladov2020-08-255-14/+32
| |
* | Merge #5865bors[bot]2020-08-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 5865: Rename rust_analyzer lib in the binaries before publishing r=matklad a=pksunkara @matklad Tested and working with publish dry run. Please run the action manually once merged. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * | Rename rust_analyzer lib in the binaries before publishingPavan Kumar Sunkara2020-08-251-0/+1
| |/
* | Merge #4873bors[bot]2020-08-2512-61/+1015
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4873: Resolve links in hover documentation r=matklad a=zacps This PR resolves links in hover documentation. Both the upcoming intra-doc-links style and the old "path-based" style. ## Todo * [x] More tests * [ ] Benchmark (Is there an easy way to benchmark this?) * [x] ~~Resolve issues with the markdown parser/get rid of it~~ Migrate to `pulldown_cmark_to_cmark` * [x] Reorganise code (Tips appreciated) --- Fixes #503 Co-authored-by: Zac Pullar-Strecker <[email protected]>
| * Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-2546-835/+959
| |\
| * | Changes from reviewZac Pullar-Strecker2020-08-252-18/+23
| | |
| * | Renames, comments, and dead code removalZac Pullar-Strecker2020-08-244-23/+8
| | |
| * | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-241623-128337/+130529
| |\ \