aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assist_ctx.rs
Commit message (Collapse)AuthorAgeFilesLines
* SimplifyAleksey Kladov2020-05-061-13/+9
|
* RenameAleksey Kladov2020-05-061-9/+9
|
* Use SourceChange for assistsAleksey Kladov2020-05-061-11/+19
|
* Fix TODOAleksey Kladov2020-05-061-4/+4
|
* Move target to AssistLabelAleksey Kladov2020-05-061-13/+4
| | | | | Target is used for assists sorting, so we need it before we compute the action.
* Rename AtomTextEdit -> IndelAleksey Kladov2020-05-051-3/+1
|
* Minor cleanupsAleksey Kladov2020-05-051-1/+0
|
* Move group_label where it belongsAleksey Kladov2020-05-051-4/+3
|
* use GroupLabel for type safetyAleksey Kladov2020-05-051-3/+4
|
* Minor renameAleksey Kladov2020-05-051-3/+3
|
* Flip Assist::new argumentsAleksey Kladov2020-05-051-2/+2
|
* Support auto-import in macroEdwin Cheng2020-05-021-5/+25
|
* Convert code to text-sizeAleksey Kladov2020-04-251-4/+4
|
* Add target file information to AssistActionTimo Freiberg2020-04-211-1/+7
|
* Generalise syntax rewriting infrastructure to allow removal of nodesAleksey Kladov2020-03-241-0/+6
|
* Unfold groups with single assists into plain assistsKirill Bulatov2020-03-051-2/+5
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-29/+11
| | | | | | | | | | 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.
* Simplify Assists interfaceAleksey Kladov2020-02-091-45/+38
| | | | | Instead of building a physical tree structure, just "tag" related assists with the same group
* Slightly simpler API for groupsAleksey Kladov2020-02-091-29/+63
|
* Name assist handlersAleksey Kladov2020-02-071-0/+2
|
* CleanupAleksey Kladov2020-02-071-4/+3
|
* SimplifyAleksey Kladov2020-02-071-14/+2
|
* Assists are not genericAleksey Kladov2020-02-061-8/+8
|
* Start switching assists to a root databaseAleksey Kladov2020-02-061-4/+12
|
* Initial auto import action implementationKirill Bulatov2020-01-261-2/+0
|
* Make FromSource privateAleksey Kladov2020-01-161-2/+6
|
* Reduce visibilityKirill Bulatov2020-01-151-1/+1
|
* itertools::Either -> either::EitherKirill Bulatov2020-01-151-1/+1
|
* Apply the api design suggestionsKirill Bulatov2020-01-151-11/+14
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-6/+39
|
* Cleanup assertkjeremy2020-01-141-5/+1
|
* unwrapJeremy Kolb2020-01-141-2/+2
|
* Assert that first letter is capitalizedJeremy Kolb2020-01-141-0/+6
|
* Fill in type params in 'add missing impl members' assistFlorian Diebold2019-12-241-1/+1
|
* Rename Source -> InFileAleksey Kladov2019-11-281-2/+2
|
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-1/+1
|
* Reduce some duplicationAleksey Kladov2019-11-151-2/+8
|
* further simplify assistsAleksey Kladov2019-10-271-20/+16
|
* simplify AssistCtx APIAleksey Kladov2019-10-271-7/+3
| | | | | We never actually use ability to create multiple actions out of a single context
* lightly document assist_ctx moduleAleksey Kladov2019-10-271-1/+1
|
* use more consistent namingAleksey Kladov2019-10-271-1/+1
| | | | | I think this is the first time I use global rename for rust-analyzer itself :-)
* extract assist helper for getting a specific tokenAleksey Kladov2019-10-271-1/+5
|
* add syntax-tree based indentsAleksey Kladov2019-10-121-0/+1
|
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-301-1/+5
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * move field list to ast/edit.rsAleksey Kladov2019-09-301-3/+1
| |
| * migrate add impl items to the new editing APIAleksey Kladov2019-09-281-1/+7
| |
* | Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
|/ | | | #1856
* Document AssistBuilderAleksey Kladov2019-07-291-4/+11
| | | | closes #1603
* streamline APIAleksey Kladov2019-07-211-2/+3
|
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|