Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Move symbol_index | Aleksey Kladov | 2020-02-06 | 7 | -12/+16 | |
| | | ||||||
| * | Move FeatureFlags | Aleksey Kladov | 2020-02-06 | 3 | -4/+3 | |
| | | ||||||
| * | Move line_index | Aleksey Kladov | 2020-02-06 | 4 | -7/+12 | |
| | | ||||||
| * | Move ide-db | Aleksey Kladov | 2020-02-06 | 2 | -132/+132 | |
| | | ||||||
| * | Start ide_db | Aleksey Kladov | 2020-02-06 | 2 | -0/+3 | |
| | | ||||||
* | | Add profiling around add_impl_members | Aleksey Kladov | 2020-02-06 | 2 | -0/+2 | |
|/ | | | | | | | | | This intention is pretty slow for `impl Interator`, because it has a ton of default methods which need to be substituted. The proper fix here is to not compute the actual edit until the user triggers the action, but that's awkward to do in the LSP right now, so let's just put a profiling code for now. | |||||
* | Refactor if-let -> match assist to use ast::make | Aleksey Kladov | 2020-02-05 | 4 | -32/+55 | |
| | ||||||
* | Merge #3019 | bors[bot] | 2020-02-05 | 1 | -36/+91 | |
|\ | | | | | | | | | | | | | | | 3019: Better cursor placement when merging arms r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Better cursor placement when merging arms | Aleksey Kladov | 2020-02-05 | 1 | -4/+17 | |
| | | ||||||
| * | Merge match arms works with many arms | Aleksey Kladov | 2020-02-05 | 1 | -29/+70 | |
| | | ||||||
| * | Cleanup | Aleksey Kladov | 2020-02-05 | 1 | -11/+12 | |
| | | ||||||
* | | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 5 | -32/+64 | |
| | | ||||||
* | | Normalize dashes in crate names | Kirill Bulatov | 2020-02-05 | 1 | -8/+33 | |
|/ | ||||||
* | Merge #2948 | bors[bot] | 2020-02-04 | 1 | -6/+48 | |
|\ | | | | | | | | | | | | | | | 2948: Allow add_explicit_type to replace a placeholder type r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | Allow add_explicit_type to replace a placeholder type | Laurențiu Nicola | 2020-02-03 | 1 | -6/+48 | |
| | | ||||||
* | | minor, if let else -> match | Aleksey Kladov | 2020-02-04 | 1 | -6/+3 | |
| | | ||||||
* | | Make sure that newly created nodes are the root of the tree | Aleksey Kladov | 2020-02-04 | 1 | -2/+11 | |
| | | ||||||
* | | Merge #2962 | bors[bot] | 2020-02-04 | 4 | -14/+34 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 2962: Differentiate underscore alias from named aliases r=matklad a=zombiefungus pre for Fixing Issue 2736 edited to avoid autoclosing the issue Co-authored-by: zombiefungus <[email protected]> | |||||
| * | | include requested changes | zombiefungus | 2020-02-02 | 4 | -27/+28 | |
| | | | ||||||
| * | | add new ImportAlias enum to differentiate no alias from an _ alias | zombiefungus | 2020-02-02 | 4 | -11/+30 | |
| | | | ||||||
* | | | ra_syntax: added tests for tokenization errors | Veetaha | 2020-02-03 | 150 | -49/+427 | |
| | | | ||||||
* | | | ra_syntax: add backticks around tokens specimen | Veetaha | 2020-02-03 | 1 | -12/+23 | |
| | | | ||||||
* | | | ra_syntax: removed unnecessary init statement from reparsing tests | Veetaha | 2020-02-03 | 1 | -3/+0 | |
| | | | ||||||
* | | | ra_syntax: rename first_token() -> lex_first_token() | Veetaha | 2020-02-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | ra_syntax: fixed a typo in doc comment | Veetaha | 2020-02-03 | 1 | -2/+4 | |
| | | | ||||||
* | | | ra_syntax: refactored the lexer design as per @matklad and @kiljacken PR review | Veetaha | 2020-02-03 | 9 | -178/+199 | |
| | | | ||||||
* | | | ra_syntax: remove backticks from TokenizeError message since that is not ↵ | Veetaha | 2020-02-03 | 1 | -9/+9 | |
| | | | | | | | | | | | | Markdown ;( | |||||
* | | | add better docs for tokenize errors | Veetaha | 2020-02-03 | 1 | -2/+2 | |
| | | | ||||||
* | | | ra_syntax: moved ParsedToken derive attribute under the doc comment | Veetaha | 2020-02-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | ra_syntax: fixed doc comment | Veetaha | 2020-02-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Reimplemented lexer with vectors instead of iterators | Veetaha | 2020-02-03 | 10 | -196/+250 | |
| | | | ||||||
* | | | ra_syntax: changed added diagnostics information returned from tokenize() ↵ | Veetaha | 2020-02-03 | 4 | -74/+237 | |
| | | | | | | | | | | | | (implemented with iterators) | |||||
* | | | Use proper import name in the label | Kirill Bulatov | 2020-02-03 | 1 | -10/+6 | |
| | | | ||||||
* | | | Merge #2994 | bors[bot] | 2020-02-03 | 2 | -12/+11 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2994: Small cleanup r=matklad a=SomeoneToIgnore A follow-up to https://github.com/rust-analyzer/rust-analyzer/pull/2990#discussion_r374044482 Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | | Simplify paths searches | Kirill Bulatov | 2020-02-03 | 1 | -4/+3 | |
| | | | | ||||||
| * | | | Fix inlay hints test snippet compilation | Kirill Bulatov | 2020-02-03 | 1 | -8/+8 | |
| | | | | ||||||
* | | | | Merge #2959 | bors[bot] | 2020-02-03 | 14 | -247/+244 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2959: Rework how we send diagnostics to client r=matklad a=kiljacken The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones. The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides. This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure. Co-authored-by: Emil Lauridsen <[email protected]> | |||||
| * | | | Update snapshot tests due to removed SuggestedFix | Emil Lauridsen | 2020-02-03 | 7 | -39/+67 | |
| | | | | ||||||
| * | | | Remove stray todo | Emil Lauridsen | 2020-02-03 | 1 | -1/+0 | |
| | | | | ||||||
| * | | | Rework how we send diagnostics to client. | Emil Lauridsen | 2020-02-03 | 7 | -208/+178 | |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones. The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides. This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure. | |||||
* / | | Use name only when searching for an import candidate | Kirill Bulatov | 2020-02-02 | 1 | -6/+16 | |
|/ / | ||||||
* | | Avoid premature pessimization | Aleksey Kladov | 2020-02-02 | 3 | -33/+34 | |
| | | | | | | | | | | | | The extra allocation for message should not matter here at all, but using a static string is just as ergonomic, if not more, and there's no reason to write deliberately slow code | |||||
* | | Merge #2982 | bors[bot] | 2020-02-02 | 6 | -42/+90 | |
|\ \ | |/ |/| | | | | | | | | | | | 2982: Merge imports when auto importing r=flodiebold a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | Remove obsolete rustdoc | Kirill Bulatov | 2020-02-02 | 1 | -1/+0 | |
| | | ||||||
| * | Code review fixes | Kirill Bulatov | 2020-02-02 | 3 | -22/+19 | |
| | | ||||||
| * | Require ModPath for importing | Kirill Bulatov | 2020-02-02 | 6 | -37/+65 | |
| | | ||||||
| * | Merge imports when auto importing | Kirill Bulatov | 2020-02-02 | 1 | -6/+30 | |
| | | ||||||
* | | Auto import functions | Kirill Bulatov | 2020-02-01 | 2 | -6/+35 | |
|/ | ||||||
* | Prevent child cargo process from messing with our stdin | Aleksey Kladov | 2020-02-01 | 1 | -0/+1 | |
| | | | | | | | | By default, `spawn` inherits stderr/stdout/stderr of the parent process, and so, if child, for example does fcntl(O_NONBLOCK), weird stuff happens to us. Closes https://github.com/rust-analyzer/lsp-server/pull/10 | |||||
* | Merge #2965 | bors[bot] | 2020-02-01 | 1 | -6/+10 | |
|\ | | | | | | | | | | | | | | | 2965: Improve auto import message r=kiljacken a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> |