Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #3285 | bors[bot] | 2020-02-27 | 1 | -26/+115 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3285: Handle trivia in Structural Search and Replace r=matklad a=adamrk Addresses the second point of https://github.com/rust-analyzer/rust-analyzer/issues/3186. Structural search and replace will now match code that has varies from the pattern in whitespace or comments. One issue is that it's not clear where comments in the matched code should go in the replacement. With this change they're just tacked on at the end, which can cause some unexpected moving of comments (see the last test example). Co-authored-by: adamrk <[email protected]> | ||||
| * | get matches from code.descendants | adamrk | 2020-02-25 | 1 | -7/+9 |
| | | |||||
| * | save comments as ra_syntax::ast::Comment | adamrk | 2020-02-25 | 1 | -10/+6 |
| | | |||||
| * | Handle trivia in strucural search and replace | adamrk | 2020-02-23 | 1 | -27/+118 |
| | | |||||
* | | Merge #3338 | bors[bot] | 2020-02-27 | 2 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3338: Renam module r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Renam module | Aleksey Kladov | 2020-02-27 | 2 | -2/+2 |
|/ / | |||||
* | | Merge #3335 | bors[bot] | 2020-02-27 | 12 | -305/+478 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 3335: Refactor highlighting a bit r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Color constants | Aleksey Kladov | 2020-02-27 | 3 | -2/+13 |
| | | | |||||
| * | | Move html highlightig to a separate module | Aleksey Kladov | 2020-02-27 | 2 | -97/+107 |
| | | | |||||
| * | | Fix html tests | Aleksey Kladov | 2020-02-27 | 3 | -39/+39 |
| | | | |||||
| * | | Better highlightign API | Aleksey Kladov | 2020-02-27 | 9 | -180/+332 |
| | | | |||||
* | | | Merge #3337 | bors[bot] | 2020-02-27 | 9 | -44/+0 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3337: Remove unused dependencies r=matklad a=sinkuu Co-authored-by: Shotaro Yamada <[email protected]> | ||||
| * | | | Remove unused dependencies | Shotaro Yamada | 2020-02-27 | 9 | -44/+0 |
|/ / / | |||||
* | | | Merge #3336 | bors[bot] | 2020-02-27 | 4 | -19/+6 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 3336: Use text_range::extend_to r=edwin0cheng a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Use text_range::extend_to | Edwin Cheng | 2020-02-27 | 4 | -19/+6 |
|/ / | |||||
* | | Merge #3334 | bors[bot] | 2020-02-26 | 3 | -4/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 3334: Update lsp-types r=matklad a=kjeremy Uses the correct type for the currently unused `SemanticTokensEditsRequest::Return` Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Update lsp-types | kjeremy | 2020-02-26 | 3 | -4/+4 |
|/ / | |||||
* | | Merge #3332 | bors[bot] | 2020-02-26 | 2 | -1/+15 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3332: Fix r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Fix | Aleksey Kladov | 2020-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | wip | Aleksey Kladov | 2020-02-26 | 1 | -0/+14 |
|/ / | |||||
* | | Merge pull request #3330 from Veetaha/feature/cargo-audit | Aleksey Kladov | 2020-02-26 | 1 | -0/+10 |
|\ \ | | | | | | | cicd: add cargo audit | ||||
| * | | cicd: add cargo audit | Veetaha | 2020-02-26 | 1 | -0/+10 |
| | | | |||||
* | | | Merge pull request #3329 from Veetaha/feature/vscode-add-npm-audit | Aleksey Kladov | 2020-02-26 | 1 | -1/+6 |
|\ \ \ | | | | | | | | | vscode: added audit at ci | ||||
| * | | | vscode: added audit at ci | Veetaha | 2020-02-26 | 1 | -1/+6 |
| | | | | |||||
* | | | | Merge #3331 | bors[bot] | 2020-02-26 | 1 | -6/+6 |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 3331: Update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | | Update | kjeremy | 2020-02-26 | 1 | -6/+6 |
|/ / / | |||||
* | | | Merge pull request #3327 from matklad/bitsetoops | Aleksey Kladov | 2020-02-26 | 1 | -2/+3 |
|\ \ \ | | | | | | | | | Fix bitset ops | ||||
| * | | | Fix bitset ops | Aleksey Kladov | 2020-02-26 | 1 | -2/+3 |
| | | | | |||||
* | | | | Merge pull request #3325 from edwin0cheng/skip-trival-token | Aleksey Kladov | 2020-02-26 | 4 | -23/+54 |
|\ \ \ \ | |/ / / |/| | | | Skip trival token in original_range | ||||
| * | | | Skip trival token in original_range | Edwin Cheng | 2020-02-26 | 4 | -23/+54 |
| | | | | |||||
* | | | | Merge pull request #3324 from matklad/highlight-tag | Aleksey Kladov | 2020-02-26 | 6 | -93/+111 |
|\ \ \ \ | | | | | | | | | | | More type safety for highlighting | ||||
| * | | | | More type safety for highlighting | Aleksey Kladov | 2020-02-26 | 6 | -93/+111 |
|/ / / / | |||||
* | | | | Merge pull request #3322 from matklad/semantic-tokens-config | Aleksey Kladov | 2020-02-26 | 4 | -3/+15 |
|\ \ \ \ | | | | | | | | | | | Config to switch to semantic tokens | ||||
| * | | | | Config to switch to semantic tokens | Aleksey Kladov | 2020-02-26 | 4 | -3/+15 |
|/ / / / | |||||
* | | | | Merge pull request #3321 from kjeremy/semantic-client | Aleksey Kladov | 2020-02-26 | 2 | -0/+4 |
|\ \ \ \ | |/ / / |/| | | | Enable SemanticTokens on the client | ||||
| * | | | Enable SemanticTokens on the client | Jeremy Kolb | 2020-02-26 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | This will crash the extension on stable and insiders without the "--enable-proposed-api matklad.rust-analyzer" command line switch. | ||||
* | | | | Merge pull request #3314 from edwin0cheng/original-range-recursive | Aleksey Kladov | 2020-02-26 | 2 | -14/+57 |
|\ \ \ \ | | | | | | | | | | | Add recursive macro support in `original_range` | ||||
| * | | | | Remove duplicate comment | Edwin Cheng | 2020-02-26 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Add recursive support in original_range | Edwin Cheng | 2020-02-26 | 2 | -14/+58 |
| |/ / / | |||||
* | | | | Merge pull request #3320 from matklad/no-dep | Aleksey Kladov | 2020-02-26 | 3 | -26/+8 |
|\ \ \ \ | |/ / / |/| | | | Remove unnecessary dep | ||||
| * | | | Remove unnecessary dep | Aleksey Kladov | 2020-02-26 | 3 | -26/+8 |
|/ / / | |||||
* | | | Merge pull request #3318 from matklad/cleanup | Aleksey Kladov | 2020-02-26 | 5 | -101/+90 |
|\ \ \ | | | | | | | | | Reduce visibility | ||||
| * | | | Remove dead code | Aleksey Kladov | 2020-02-26 | 2 | -25/+9 |
| | | | | |||||
| * | | | Reduce visibility | Aleksey Kladov | 2020-02-26 | 3 | -76/+81 |
| | | | | |||||
* | | | | Merge pull request #3222 from matklad/identity | Aleksey Kladov | 2020-02-26 | 49 | -979/+1027 |
|\| | | | | | | | | | | | Introduce Semantics API | ||||
| * | | | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 49 | -979/+1027 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | | | Merge pull request #3317 from matklad/no-unicase | Aleksey Kladov | 2020-02-26 | 3 | -19/+0 |
|\ \ \ | | | | | | | | | Actually drop unicase dependency | ||||
| * | | | Actually drop unicase dependency | Aleksey Kladov | 2020-02-26 | 3 | -19/+0 |
| | | | | |||||
* | | | | Merge pull request #3316 from matklad/dedup | Aleksey Kladov | 2020-02-26 | 3 | -101/+74 |
|\ \ \ \ | |/ / / |/| | | | Remove code duplication in tests | ||||
| * | | | Remove code duplication in tests | Aleksey Kladov | 2020-02-26 | 3 | -101/+74 |
|/ / / |