aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
Commit message (Collapse)AuthorAgeFilesLines
...
* | Cleanup diagnostics testsAleksey Kladov2020-07-092-237/+131
| |
* | Reduce code duplicationAleksey Kladov2020-07-091-181/+147
| |
* | Re-enable IDE features for incomplete impl blocsAleksey Kladov2020-07-092-1/+18
|/
* expect should be a dev depAleksey Kladov2020-07-091-1/+1
|
* Prettier renderingAleksey Kladov2020-07-091-43/+43
|
* StreamlineAleksey Kladov2020-07-093-50/+36
|
* Reduce APIAleksey Kladov2020-07-092-13/+8
|
* CleanupAleksey Kladov2020-07-091-21/+15
|
* Reduce APIAleksey Kladov2020-07-091-19/+5
|
* RenameAleksey Kladov2020-07-091-22/+12
|
* Refactor hover testsAleksey Kladov2020-07-081-1582/+1615
|
* Simplify testsAleksey Kladov2020-07-081-59/+55
|
* Add Markup typeAleksey Kladov2020-07-083-48/+67
|
* simplifyAleksey Kladov2020-07-081-9/+11
|
* Minimize APIAleksey Kladov2020-07-081-6/+4
|
* Dead codeAleksey Kladov2020-07-081-31/+19
|
* Reduce visibilityAleksey Kladov2020-07-081-9/+7
|
* Modernize unqualified reference completion testsAleksey Kladov2020-07-074-1214/+414
|
* cleanupAleksey Kladov2020-07-071-3/+2
|
* Switch to fully dynamically dispatched salsaAleksey Kladov2020-07-071-9/+6
| | | | This improves compile times quite a bit
* Modernise item completion testsAleksey Kladov2020-07-041-265/+199
|
* Alight details in comkplation listAleksey Kladov2020-07-047-50/+63
|
* Modernize qual path completion testsAleksey Kladov2020-07-043-1105/+475
|
* Modernize snippet completion testsAleksey Kladov2020-07-041-77/+29
|
* Modernize postfix completion testsAleksey Kladov2020-07-041-512/+123
|
* Modernize pattern completion testsAleksey Kladov2020-07-041-88/+37
|
* Fix lookup in testsAleksey Kladov2020-07-043-0/+11
|
* Macro testsAleksey Kladov2020-07-042-119/+70
|
* Modernize testsAleksey Kladov2020-07-041-64/+60
|
* Cleanup dot completiont testsAleksey Kladov2020-07-044-720/+407
|
* CommentsAleksey Kladov2020-07-042-2/+3
|
* Better tests for completion scoringAleksey Kladov2020-07-043-192/+61
|
* Modernize completion presentation testsAleksey Kladov2020-07-041-393/+340
|
* Unify namingAleksey Kladov2020-07-041-8/+8
|
* Cleanup testsAleksey Kladov2020-07-041-172/+62
|
* Cleanup more completion testsAleksey Kladov2020-07-033-331/+177
|
* Cleanup presentation testsAleksey Kladov2020-07-032-146/+59
|
* Fix module renamingAleksey Kladov2020-07-031-6/+53
|
* Compress rename testsAleksey Kladov2020-07-031-101/+142
|
* Use expect for rename testsAleksey Kladov2020-07-031-193/+57
|
* Adhere to code style in rename testsAleksey Kladov2020-07-031-341/+324
|
* Merge #5205bors[bot]2020-07-031-795/+178
|\ | | | | | | | | | | | | | | | | | | | | 5205: Refactor attribut completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Refactor attribut completion testsAleksey Kladov2020-07-031-645/+115
| |
| * Compress attribute completion testsAleksey Kladov2020-07-031-150/+63
| |
* | Merge #5116bors[bot]2020-07-031-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 5116: Categorize assists r=matklad a=kjeremy Categorize assists so that editors can use them. Follows the LSP spec pretty close (and some things may need adjustments) but this populates the Refactor menu in vscode and pushes quickfixes through again. This is a prerequisite to filtering out assists that the client doesn't care about. Fixes #4147 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * Categorize assistsJeremy Kolb2020-07-021-1/+1
| |
* | Add function to test completion editAleksey Kladov2020-07-032-1/+22
| |
* | Refactor keyword completion testsAleksey Kladov2020-07-031-206/+198
| |
* | Cleanup record completion testsAleksey Kladov2020-07-034-374/+227
|/
*-----. Merge #5089 #5161 #5184 #5185 #5186bors[bot]2020-07-024-5/+71
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5089: Disable auto-complete on comments r=matklad a=BGluth Resolves #4907 by disabling any auto-completion on comments. As flodiebold [pointed out](https://github.com/rust-analyzer/rust-analyzer/issues/4907#issuecomment-648439979), in the future we may want to support some form of auto-completion within doc comments, but for now it was suggested to just disable auto-completion on them entirely. The implementation involves adding a new field `is_comment` to `CompletionContext` and checking if the immediate token we auto-completed on is a comment. I couldn't see a case where we need to check any of the ancestors, but let me know if this is not sufficient. I also wasn't sure if it was necessary to add a new field to this struct, but I decided it's probably the best option if we want to potentially do auto-completion on doc comments in the future. Finally, the three tests I added should I think ideally not filter results by `CompletionKind::Keyword`, but if I want to get unfiltered results, I need access to a non-public function [get_all_completion_items](https://github.com/rust-analyzer/rust-analyzer/blob/9a4d02faf9c47f401b8756c3f7fcab2198f5f9cd/crates/ra_ide/src/completion/test_utils.rs#L32-L39) which I don't know if I should make public just for this. 5161: SSR: Add initial support for placeholder constraints r=matklad a=davidlattimore 5184: Always install required nightly extension if current one is not nightly r=matklad a=Veetaha This is weird, but having switched back to stable by uninstalling the extension appears that vscode doesn't destroy the `PersistentState` and thus changing to `nightly` channel doesn't work because the last check for nightly extension was less than 1 hour ago. The simple solution is to skip this check if we know that the current extension version is not nightly. 5185: Force showing extension activation error pop-up notification r=matklad a=Veetaha Fixes https://github.com/rust-analyzer/rust-analyzer/issues/5091 5186: fix: correct pd/ppd/tfn/tmod completion doc r=matklad a=fannheyward https://github.com/rust-analyzer/rust-analyzer/blob/a33eefa3b26000b3018e6bb873f18dbe15ab4ab7/crates/ra_ide/src/completion/complete_snippet.rs#L23-L24 Co-authored-by: BGluth <[email protected]> Co-authored-by: David Lattimore <[email protected]> Co-authored-by: Veetaha <[email protected]> Co-authored-by: Heyward Fann <[email protected]>