aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #272bors[bot]2018-12-091-2/+30
|\ | | | | | | | | | | | | | | 272: use \b as word boundary when expanding single word in comments r=matklad a=vemoo as discused in #266 Co-authored-by: Bernardo <[email protected]>
| * use \b as word boundaryBernardo2018-12-091-2/+30
|/
* Merge #271bors[bot]2018-12-095-15/+75
|\ | | | | | | | | | | | | | | | | | | 271: Implement format hook r=matklad a=DJMcNab Tentatively: fixes #155. However, this does add all changes in staged files, which might not be desirable. However, I think we can't solve that without explicit support in rustfmt for it, so it should be fine. Co-authored-by: DJMcNab <[email protected]>
| * Reimplement format-hook using a rust binaryDJMcNab2018-12-093-27/+52
| |
| * Fix alignment of `.cargo/config`DJMcNab2018-12-091-5/+5
| |
| * Update hook to not add unstaged filesDJMcNab2018-12-091-1/+3
| |
| * Implement and test format hookDJMcNab2018-12-094-8/+41
| |
* | Answer canceled requestsAleksey Kladov2018-12-091-1/+8
| |
* | verbose assertions in SourceFileItemsAleksey Kladov2018-12-091-6/+15
| |
* | Merge #268bors[bot]2018-12-0912-169/+373
|\ \ | | | | | | | | | | | | | | | | | | | | | 268: WIP: resolve imports across crates r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | resolve extern crates propertlyAleksey Kladov2018-12-094-51/+98
| | |
| * | move tests to separate fileAleksey Kladov2018-12-092-97/+95
| | |
| * | WIP: resolve across cratesAleksey Kladov2018-12-091-14/+41
| | |
| * | make resolver fields privateAleksey Kladov2018-12-092-12/+22
| | |
| * | return dependencies with namesAleksey Kladov2018-12-092-6/+17
| | |
| * | thread info about dep namesAleksey Kladov2018-12-093-12/+24
| | |
| * | more crate boilerplateAleksey Kladov2018-12-095-13/+54
| | |
| * | hir::Crate boilerplateAleksey Kladov2018-12-092-2/+21
| | |
| * | propagate deps to CrateGraphAleksey Kladov2018-12-093-14/+43
| | |
| * | track deps in project modelAleksey Kladov2018-12-091-0/+10
|/ /
* | remove direct dep on event-stream: malisious version was unpublishedAleksey Kladov2018-12-092-126/+39
| |
* | Merge #270bors[bot]2018-12-098-16/+40
|\ \ | |/ |/| | | | | | | | | | | 270: Checks r=matklad a=matklad I see occasional panics when binding sources. Hopefully this assertions will make it clear where do the panics come from/ Co-authored-by: Aleksey Kladov <[email protected]>
| * Check Fileid in SourceFileMapAleksey Kladov2018-12-095-7/+23
| |
| * switch threadpool back from rayon to threadpoolAleksey Kladov2018-12-093-9/+17
|/ | | | | rayon does not replenish the pool when the thread panics, but we must be reselient to bugs.
* Merge #267bors[bot]2018-12-095-733/+807
|\ | | | | | | | | | | | | | | 267: Fix the extend keybinding r=DJMcNab a=DJMcNab Make the extend selection keybinding less annoying for users not used to Injelli-J (myself included). Also fixes a minor style issue and runs `npm update`. Co-authored-by: DJMcNab <[email protected]>
| * Fix cargo format component name and run rustfmtDJMcNab2018-12-092-8/+2
| |
| * Add package command and upgrade event-streamDJMcNab2018-12-083-5/+21
| |
| * Run npm update and add private and preview flagsDJMcNab2018-12-082-721/+785
| | | | | | | | | | | | | | | | Private stops npm publish working, which would be nonsensical anyway In case it gets added to the vscode extension repository, preview marks it as such Private may also prevent publishing to the vscode extension repository
| * Remove uneeded charactersDJMcNab2018-12-081-3/+3
| |
| * Improve the extend keybinding to not conflictDJMcNab2018-12-081-1/+1
| |
* | Merge #266bors[bot]2018-12-081-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 266: handle expanding of words in comments at the beginning or end of line r=matklad a=vemoo After fixing #140 i realized that the logic to determine word boundaries was not correct. It would only consider a word something surrounded by whitespaces in the line, but not newlines before and after the line. This means that one of the tests has changed, but i think that's what was intended. Co-authored-by: Bernardo <[email protected]>
| * | find next whitespace or begining or endBernardo2018-12-081-3/+3
|/ /
* | Merge #265bors[bot]2018-12-084-24/+59
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 265: Refactor symbol resolve API r=matklad a=matklad Introduce ReferenceResolution to avoid nesting to many non-nominal types. Co-authored-by: Aleksey Kladov <[email protected]>
| * | Refactor symbol resolve APIAleksey Kladov2018-12-084-24/+59
| | | | | | | | | | | | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types.
* | | Merge #263bors[bot]2018-12-0817-22/+28
|\| | | | | | | | | | | | | | | | | | | | | | | 263: New modules r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | account for new layout when collecting testsAleksey Kladov2018-12-081-2/+8
| | |
| * | grand module renameAleksey Kladov2018-12-0815-0/+0
| | |
| * | resolve 2018 style modulesAleksey Kladov2018-12-081-20/+20
| | |
* | | Merge #264bors[bot]2018-12-081-1/+20
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 264: check for empty range when extending in comment r=matklad a=vemoo fix for #140 Co-authored-by: Bernardo <[email protected]>
| * | check for empty range when extending in commentBernardo2018-12-081-1/+20
| |/
* | reformatAleksey Kladov2018-12-082-2/+3
| |
* | Add a better text for hover and stop duplicating work done in ↵DJMcNab2018-12-087-30/+98
| | | | | | | | approximatelly_resolve_symbol
* | Fix typo in commentDJMcNab2018-12-081-10/+15
| |
* | Clarify and correct comment about multi_byte_tokensDJMcNab2018-12-081-2/+2
| |
* | Fix the range of a hover request to be more in line with prior artDJMcNab2018-12-081-1/+8
|/
* Merge #261bors[bot]2018-12-066-19/+177
|\ | | | | | | | | | | | | | | 261: Add heavy test for code actions r=matklad a=flodiebold Here's the test for the code actions; I didn't find anything fitting on crates.io ([assert-json-diff](https://crates.io/crates/assert-json-diff) looks kind of nice, but doesn't have anything like the wildcards), so I copied the cargo code as you suggested. Co-authored-by: Florian Diebold <[email protected]>
| * Add test for code actionsFlorian Diebold2018-12-061-1/+60
| |
| * Use json comparison code from cargo for heavy testsFlorian Diebold2018-12-066-18/+117
|/
* Merge #260bors[bot]2018-12-0627-180/+82
|\ | | | | | | | | | | | | | | 260: Modernize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * modernize even moreAleksey Kladov2018-12-0612-70/+29
| |