Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update vscode README with a small features list | Lukas Wirth | 2021-03-01 | 1 | -0/+9 |
| | |||||
* | Implement ast::AstNode for NameLike and move it to node_ext | Lukas Wirth | 2021-02-16 | 1 | -35/+16 |
| | |||||
* | Fix a few clippy::perf warnings | kjeremy | 2021-02-16 | 1 | -2/+4 |
| | |||||
* | Don't rename field record patterns directly | Lukas Wirth | 2021-02-13 | 1 | -36/+71 |
| | |||||
* | Fallback to renaming input NameRef node for macros when inside macro | Lukas Wirth | 2021-02-13 | 1 | -16/+53 |
| | |||||
* | Prevent aliases from being renamed for now | Lukas Wirth | 2021-02-13 | 1 | -13/+24 |
| | |||||
* | Use NameLike in FileReference directly as its not exported from ide anymore | Lukas Wirth | 2021-02-12 | 1 | -7/+5 |
| | |||||
* | Refactor reference searching to work with the ast | Lukas Wirth | 2021-02-12 | 1 | -78/+119 |
| | |||||
* | Pin Rust to 1.49.0 on CI | Jonas Schievink | 2021-02-12 | 1 | -3/+3 |
| | |||||
* | Make always-assert crate reusable | Aleksey Kladov | 2021-01-26 | 1 | -3/+3 |
| | |||||
* | Remove obsolete RangeInfo usage in rename | Lukas Wirth | 2021-01-18 | 1 | -166/+148 |
| | |||||
* | Make rename reference search use ide_db::search directly | Lukas Wirth | 2021-01-18 | 1 | -163/+209 |
| | |||||
* | Wrap remaining self/super/crate in Name{Ref} | Lukas Wirth | 2021-01-15 | 1 | -44/+32 |
| | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | Phase out SourceFileEdits in favour of a plain HashMap | Lukas Wirth | 2021-01-14 | 1 | -100/+95 |
| | |||||
* | Group file source edits by FileId | Lukas Wirth | 2021-01-14 | 1 | -81/+57 |
| | |||||
* | Merge #7262 | bors[bot] | 2021-01-13 | 1 | -3/+0 |
|\ | | | | | | | | | | | | | | | | | 7262: Don't show internal server error on rename r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Don't show internal server error on rename | Aleksey Kladov | 2021-01-13 | 1 | -3/+0 |
| | | | | | | | | | | | | | | Doesn't quite work due to https://github.com/microsoft/vscode-languageserver-node/issues/730 Note that this intentionally removes `impl std::Error for RenameError` -- we nether want to blindly bubble the rename error. | ||||
* | | Ensure uniqueness of file ids in reference search via hashmap | Lukas Wirth | 2021-01-12 | 1 | -8/+12 |
| | | |||||
* | | Group references by FileId | Lukas Wirth | 2021-01-12 | 1 | -47/+47 |
|/ | |||||
*-. | Merge #7051 #7219 #7245 #7246 | bors[bot] | 2021-01-11 | 1 | -79/+161 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7051: Check dbg! macro in tidy_test r=matklad a=edwin0cheng Same as `check_todo` but for dbg! macro r? @matklad 7219: Refactor rename name checking r=matklad a=Veykril Improves the user facing error messages a bit and prevents renaming to `_` when the name is referenced as this would change source to not compile anymore since `_` is only a pattern, not a proper identifier. 7245: Encourage gifs r=matklad a=matklad bors r+ 🤖 7246: Unfreeze cargo_metadata r=matklad a=kjeremy It now pulls in a newer version of semver-parser. This does add a dependency on `cargo-platform` in the interest of correctness. Co-authored-by: Edwin Cheng <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| | * | Add some more marks to rename tests | Lukas Wirth | 2021-01-10 | 1 | -17/+58 |
| | | | |||||
| | * | Use local error macros in references/rename | Lukas Wirth | 2021-01-10 | 1 | -39/+30 |
| | | | |||||
| | * | Refactor rename name checking | Lukas Wirth | 2021-01-09 | 1 | -53/+103 |
| |/ | |||||
* / | Fixed typos in code comments | Vincent Esche | 2021-01-09 | 1 | -2/+2 |
|/ | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 1 | -46/+46 |
| | |||||
* | Merge #7030 | bors[bot] | 2020-12-24 | 1 | -0/+25 |
|\ | | | | | | | | | | | | | | | | | | | 7030: Support labels in reference search r=matklad a=Veykril Implements general navigation for labels, goto def, rename and gives labels their own semantic highlighting class. Fixes #6966 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Support labels in reference search | Lukas Wirth | 2020-12-24 | 1 | -0/+25 |
| | | |||||
* | | Implement workspace/willRenameFiles for single-level file moves | Jeremy Kolb | 2020-12-23 | 1 | -1/+18 |
|/ | | | | Renames modules during file rename if they're in the same directory. | ||||
* | Add test_rename_bind_pat | bjorn3 | 2020-12-19 | 1 | -0/+35 |
| | |||||
* | Lifetime reference search | Lukas Wirth | 2020-12-16 | 1 | -6/+98 |
| | |||||
* | Introduce anchored_path | Aleksey Kladov | 2020-12-09 | 1 | -23/+34 |
| | | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way. | ||||
* | Type-safer API for dealing with parameter lists with optional self | Aleksey Kladov | 2020-12-01 | 1 | -1/+1 |
| | |||||
* | Reject more cases of invalid parameter to self renames | Lukas Wirth | 2020-11-29 | 1 | -13/+122 |
| | |||||
* | Fix renaming owned self to parameter emitting ref | Lukas Wirth | 2020-11-29 | 1 | -1/+30 |
| | |||||
* | Minor, import style | Aleksey Kladov | 2020-11-23 | 1 | -6/+5 |
| | |||||
* | Cleanup edit_text_range_for_record_field_expr_or_pat | Lukas Wirth | 2020-11-15 | 1 | -46/+59 |
| | |||||
* | Use shorthand field syntax in destructures | Lukas Wirth | 2020-11-14 | 1 | -17/+60 |
| | |||||
* | Properly handle shorthands in destructure patterns when renaming | Lukas Wirth | 2020-11-14 | 1 | -0/+54 |
| | |||||
* | Use shorthand record syntax when renaming struct initializer field | Lukas Wirth | 2020-11-14 | 1 | -4/+45 |
| | |||||
* | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | More idiomatic classification API | Aleksey Kladov | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | Add fix for incorrect case diagnostic | Igor Aleksanov | 2020-10-12 | 1 | -0/+7 |
| | |||||
* | Show reason for failed rename refactoring | Rüdiger Herrmann | 2020-10-10 | 1 | -46/+129 |
| | | | | | | | | | | | Return an error with a meaningful message for requests to `textDocument/rename` if the operation cannot be performed. Pass errors raised by rename handling code to the LSP runtime. As a consequence, the VS Code client shows and logs the request as if a server-side programming error occured. Resolves https://github.com/rust-analyzer/rust-analyzer/issues/3981 | ||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -4/+4 |
| | |||||
* | Get rid of MockAnalysis | Aleksey Kladov | 2020-10-02 | 1 | -17/+17 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+1010 |