aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_new.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-4/+4
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-3/+2
| | | | | Target is used for assists sorting, so we need it before we compute the action.
* Merge assits::test_helpers and testsAleksey Kladov2020-05-061-1/+1
|
* Rename ImplItem to AssocItemEdwin Cheng2020-05-051-2/+2
|
* Switch to TryFromAleksey Kladov2020-04-251-2/+2
|
* Convert code to text-sizeAleksey Kladov2020-04-251-4/+4
|
* Scale token generation backAleksey Kladov2020-04-101-2/+1
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-1/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-2/+3
|
* Start stdxAleksey Kladov2020-03-281-22/+17
| | | | This crate will hold everything to small to be worth publishing
* Cleanup importsAleksey Kladov2020-03-191-1/+2
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-8/+8
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-8/+3
| | | | | | | | | | 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.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Fix add_new assist (kind of)Florian Diebold2020-02-071-5/+10
|
* Clean up RPIT a bitFlorian Diebold2020-02-071-0/+1
|
* Name assist handlersAleksey Kladov2020-02-071-0/+430