aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/complete_postfix.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add call postfix completionvain0x2020-05-201-0/+59
| | | | To make it easier to wrap an expression with Ok/Some/Rc::new etc.
* add more specific match postfix for Result and OptionBenjamin Coenen2020-05-121-15/+43
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* add if let and while let postfix for Option and ResultBenjamin Coenen2020-05-101-38/+44
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* add if let and while let postfix for Option and Result #4348Benjamin Coenen2020-05-071-1/+199
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Convert tests to text-sizeAleksey Kladov2020-04-251-64/+64
|
* Convert code to text-sizeAleksey Kladov2020-04-251-3/+3
|
* Make sure that adding a snippet requires corresponding capabilityAleksey Kladov2020-04-241-6/+33
|
* Better names for config structsAleksey Kladov2020-03-311-1/+1
|
* Consider references when applying postfix completionsKirill Bulatov2020-03-231-17/+123
|
* Introduce completion test utilsAleksey Kladov2020-03-111-1/+1
|
* Introduce CompletionOptionsAleksey Kladov2020-03-101-1/+1
|
* Fix range for postfix snippetsFlorian Diebold2020-03-071-2/+63
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-1/+1
| | | | | | | | | | 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.
* Clippy lintskjeremy2019-12-201-1/+1
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+282