Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SSR: Rename position and lookup_context to resolve_context | David Lattimore | 2020-07-29 | 1 | -2/+2 |
| | |||||
* | SSR: Restrict to current selection if any | David Lattimore | 2020-07-29 | 1 | -2/+6 |
| | | | | | The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later. | ||||
* | SSR: Allow function calls to match method calls | David Lattimore | 2020-07-24 | 1 | -0/+3 |
| | | | | | | | | | | | This differs from how this used to work before I removed it in that: a) It's only one direction. Function calls in the pattern can match method calls in the code, but not the other way around. b) We now check that the function call in the pattern resolves to the same function as the method call in the code. The lack of (b) was the reason I felt the need to remove the feature before. | ||||
* | SSR: Match paths based on what they resolve to | David Lattimore | 2020-07-24 | 1 | -1/+11 |
| | | | | Also render template paths appropriately for their context. | ||||
* | SSR: Pass current file position through to SSR code. | David Lattimore | 2020-07-24 | 1 | -2/+4 |
| | | | | In a subsequent commit, it will be used for resolving paths. | ||||
* | Move iteration over all files into the SSR crate | David Lattimore | 2020-07-24 | 1 | -13/+3 |
| | | | | The methods `edits_for_file` and `find_matches_in_file` are replaced with just `edits` and `matches`. This simplifies the API a bit, but more importantly it makes it possible in a subsequent commit for SSR to decide to not search all files. | ||||
* | SSR: Add initial support for placeholder constraints | David Lattimore | 2020-07-01 | 1 | -0/+12 |
| | |||||
* | Fix some typos | David Lattimore | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 1 | -1/+1 |
| | |||||
* | SSR: Allow matching of whole macro calls | David Lattimore | 2020-06-22 | 1 | -0/+1 |
| | | | | Matching within macro calls is to come later and matching of macro calls within macro calls later still. | ||||
* | Allow SSR to match type references, items, paths and patterns | David Lattimore | 2020-06-22 | 1 | -554/+9 |
| | | | | Part of #3186 | ||||
* | Remove :expr from placeholders | David Lattimore | 2020-06-17 | 1 | -54/+20 |
| | | | | Reasoning discussed at #3186 | ||||
* | Doc more features | Aleksey Kladov | 2020-05-31 | 1 | -2/+22 |
| | |||||
* | Fix some clippy perf warnings | Jeremy Kolb | 2020-05-25 | 1 | -4/+4 |
| | |||||
* | Lift SourceChange to the ra_ide_db | Aleksey Kladov | 2020-05-06 | 1 | -7/+7 |
| | |||||
* | Fixup tests | Aleksey Kladov | 2020-05-05 | 1 | -2/+6 |
| | |||||
* | Use more natural signature for Edit::apply | Aleksey Kladov | 2020-05-05 | 1 | -9/+15 |
| | |||||
* | Adds to SSR match for semantically equivalent call and method call | Mikhail Modin | 2020-04-02 | 1 | -12/+110 |
| | |||||
* | Adds sort for RecordLit comparison in SSR | Mikhail Modin | 2020-04-01 | 1 | -26/+90 |
| | |||||
* | Swtches to rust SSR query check | Mikhail Modin | 2020-03-15 | 1 | -8/+28 |
| | |||||
* | 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 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 1 | -5/+9 |
| | |||||
* | Init implementation of structural search replace | Mikhail Modin | 2020-02-14 | 1 | -0/+324 |