Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Implement async blocks | oxalica | 2020-09-10 | 1 | -0/+22 | |
| | | | ||||||
* | | | Merge #5969 | bors[bot] | 2020-09-11 | 7 | -2/+339 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5969: Propose module name completion options r=jonas-schievink a=SomeoneToIgnore <img width="539" alt="image" src="https://user-images.githubusercontent.com/2690773/92663009-cb0aec00-f308-11ea-9ef5-1faa91518031.png"> Currently traverses the whole file set every time we try to complete the module, as discussed in https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/mod.3C.7C.3E.20completion Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | | Adjust the test comment | Kirill Bulatov | 2020-09-11 | 1 | -9/+16 | |
| | | | | ||||||
| * | | | One more test | Kirill Bulatov | 2020-09-09 | 1 | -0/+15 | |
| | | | | ||||||
| * | | | Rename the method to avoid false promises | Kirill Bulatov | 2020-09-09 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | Fix the tests | Kirill Bulatov | 2020-09-09 | 5 | -7/+9 | |
| | | | | ||||||
| * | | | Add tests | Kirill Bulatov | 2020-09-09 | 1 | -0/+153 | |
| | | | | ||||||
| * | | | Properly handle mod.rs imports | Kirill Bulatov | 2020-09-09 | 1 | -47/+40 | |
| | | | | ||||||
| * | | | Complete semicolon when needed | Kirill Bulatov | 2020-09-09 | 6 | -26/+30 | |
| | | | | ||||||
| * | | | Properly reacto to keywords | Kirill Bulatov | 2020-09-09 | 6 | -4/+28 | |
| | | | | ||||||
| * | | | Less false positive completion candidates | Kirill Bulatov | 2020-09-09 | 1 | -44/+59 | |
| | | | | ||||||
| * | | | Properly handle nested submodules in the same file | Kirill Bulatov | 2020-09-09 | 1 | -70/+79 | |
| | | | | ||||||
| * | | | Move most of the logic into the completion module | Kirill Bulatov | 2020-09-09 | 2 | -23/+98 | |
| | | | | ||||||
| * | | | Finally cretae the mod completion module | Kirill Bulatov | 2020-09-09 | 3 | -17/+42 | |
| | | | | ||||||
| * | | | Properly handle special cases (binaries, mod.rs) | Kirill Bulatov | 2020-09-09 | 1 | -3/+1 | |
| | | | | ||||||
| * | | | Exclude special files | Kirill Bulatov | 2020-09-09 | 1 | -3/+0 | |
| | | | | ||||||
| * | | | Happy path implemented | Kirill Bulatov | 2020-09-09 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Better API | Kirill Bulatov | 2020-09-09 | 1 | -5/+4 | |
| | | | | ||||||
| * | | | First steps for mod<|> completion | Kirill Bulatov | 2020-09-09 | 1 | -2/+23 | |
| |/ / | ||||||
* | | | Fix handling of consuming self, refactor shared logic into a single function | Paul Daniel Faria | 2020-09-06 | 2 | -30/+34 | |
| | | | ||||||
* | | | Add consuming modifier to lvalues that are passed by value and not Copy | Paul Daniel Faria | 2020-09-06 | 3 | -14/+53 | |
|/ / | ||||||
* / | Document VS Code setting needed for on-typing assists | Aramis Razzaghipour | 2020-09-01 | 1 | -0/+8 | |
|/ | ||||||
* | :arrow_up: expect-test | Aleksey Kladov | 2020-08-28 | 9 | -8/+8 | |
| | ||||||
* | Minor | Aleksey Kladov | 2020-08-27 | 1 | -1/+2 | |
| | ||||||
* | Tease apart orthogonal concerns in markdown link rewriting | Aleksey Kladov | 2020-08-26 | 3 | -15/+231 | |
| | | | | | | | | | | | | `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. | |||||
* | Cleanup hover links tests | Aleksey Kladov | 2020-08-26 | 1 | -88/+74 | |
| | ||||||
* | Improve support for code block attributes | León Orell Valerian Liehr | 2020-08-26 | 1 | -9/+99 | |
| | ||||||
* | Complete `pub` in fields | Aleksey Kladov | 2020-08-25 | 4 | -7/+36 | |
| | ||||||
* | Use the same abstraction for attrs and docs | Aleksey Kladov | 2020-08-25 | 3 | -3/+3 | |
| | | | | | Doc comments *are* attributes, so there's no reason to have two crates here. | |||||
* | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-25 | 3 | -15/+36 | |
|\ | ||||||
| * | Merge #4776 | bors[bot] | 2020-08-24 | 1 | -11/+12 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 description for crates that will be published | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 | |
| | | | ||||||
| | * | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 1 | -11/+11 | |
| | | | ||||||
| * | | Omit lenses for not runnable doctests | Kirill Bulatov | 2020-08-22 | 2 | -4/+24 | |
| |/ | ||||||
* | | Renames, comments, and dead code removal | Zac Pullar-Strecker | 2020-08-24 | 1 | -1/+3 | |
| | | ||||||
* | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-24 | 5 | -56/+625 | |
|/ | ||||||
* | Merge #5823 | bors[bot] | 2020-08-22 | 2 | -8/+2 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5823: Don't underline function definition if self is &mut r=Nashenas88 a=matklad The self is right there, and is already underlined, so it makes little sense to emit even more underlines. before: ![before](https://user-images.githubusercontent.com/1711539/90672843-0d379500-e257-11ea-840f-b0caed4410f1.png) after: ![after](https://user-images.githubusercontent.com/1711539/90672840-0c9efe80-e257-11ea-9739-23af433841c6.png) Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Don't underline function definition if self is &mut | Aleksey Kladov | 2020-08-19 | 2 | -8/+2 | |
| | | | | | | | | | | The self is right there, and is already underlined, so it makes little sense to emit even more underlines. | |||||
* | | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 2 | -2/+3 | |
| | | ||||||
* | | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 24 | -24/+24 | |
|/ | ||||||
* | Remove dead code | Aleksey Kladov | 2020-08-19 | 1 | -25/+15 | |
| | ||||||
* | Future proof find-usages API | Aleksey Kladov | 2020-08-19 | 1 | -1/+3 | |
| | | | | | | We might want to provide more efficient impls for check if usages exist, limiting the search, filtering and cancellation, so let's violate YAGNI a bit here. | |||||
* | Apply couple of rule of thumbs to simplify highlighting code | Aleksey Kladov | 2020-08-19 | 1 | -19/+16 | |
| | | | | | | | | | | | | | | | | | Main one: instead of adding a parameter to function to handle special case, make the caller handle it. Second main one: make sure that function does a reasonable thing. `highlight_def` picks a color for def, *regardless* of the context the def is use. Feeding an info from the call-site muddies the responsibilities here. Minor smells, flagging the function as having space for improvement in the first place: * many parameters, some of which are set as constants on most call-sites (introduce severalfunction instad) * boolean param (add two functions instead) | |||||
* | Inline trivial function | Aleksey Kladov | 2020-08-19 | 1 | -8/+6 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-08-19 | 1 | -9/+4 | |
| | ||||||
* | Minor | Aleksey Kladov | 2020-08-19 | 1 | -2/+1 | |
| | ||||||
* | Minor cleanups | Aleksey Kladov | 2020-08-19 | 1 | -1/+1 | |
| | ||||||
* | Better name | Aleksey Kladov | 2020-08-19 | 1 | -4/+4 | |
| | ||||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 1 | -10/+16 | |
| | ||||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 4 | -17/+11 | |
| |