aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/complete_trait_impl.rs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce completion test utilsAleksey Kladov2020-03-111-1/+1
|
* Switch to explicit offsets for impl_defSteffen Lyngbaek2020-03-091-26/+11
| | | | Blacklists are prone to more errors
* Clean up completion matching.Steffen Lyngbaek2020-03-091-24/+53
| | | | - Add test to ensure nested completions don't happen
* Don't allow nested completionsSteffen Lyngbaek2020-03-081-13/+18
|
* Next steps in assoc item completion #3183Steffen Lyngbaek2020-03-071-6/+99
| | | | | | | | Allow trait autocompletions for unimplemented associated fn's, types, and consts without using explicit keywords before hand (fn, type, const). The sequel to #3108.
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-28/+22
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-15/+18
| | | | | | | | | | 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.
* More manual clippy fixesKirill Bulatov2020-02-181-4/+4
|
* Added module doc comment to explain the purpose of the completion.Kevin DeLorey2020-02-151-1/+32
|
* Fixed bug that allowed for completion in a nested method.Kevin DeLorey2020-02-151-7/+36
|
* Reordered the `use` items.Kevin DeLorey2020-02-151-9/+8
|
* Adjusted the completion lookups to filter by just the name.Kevin DeLorey2020-02-141-29/+44
|
* Completion now replaces whole fn/const/type def with snippet.Kevin DeLorey2020-02-131-16/+31
|
* Cheese const tests as they requre an ident before becoming a CONST_DEF.Kevin DeLorey2020-02-131-28/+21
|
* Started to refactor the trigger of the trait_impl completion.Kevin DeLorey2020-02-131-33/+77
|
* Formatting.Kevin DeLorey2020-02-111-1/+3
|
* Fixing minor suggestions and added module level documentation.Kevin DeLorey2020-02-111-9/+6
|
* Removed doc comments entirely from the changes.Kevin DeLorey2020-02-111-39/+0
|
* Formatted changes.Kevin DeLorey2020-02-111-22/+16
|
* Removed docs from private method.Kevin DeLorey2020-02-111-8/+0
|
* Added tests to test associated types and consts.Kevin DeLorey2020-02-111-0/+78
|
* Added some documentation to the `complete_trait_impl` completion.Kevin DeLorey2020-02-111-1/+48
|
* Added associated const magic completion.Kevin DeLorey2020-02-101-11/+53
|
* Added a utility function that can be used to determine the missing impl items.Kevin DeLorey2020-02-091-114/+18
|
* Merge branch 'master' into kdelorey/complete-trait-implKevin DeLorey2020-02-091-1/+1
|
* Added associated type completion.Kevin DeLorey2020-02-081-3/+15
|
* Cleaning up unessicary code that the Magic completion takes care of.Kevin DeLorey2020-02-081-39/+8
|
* Got the magic completion working.Kevin DeLorey2020-02-081-41/+7
|
* Update completion kind to Magic in the unit tests.Kevin DeLorey2020-02-081-2/+2
|
* Add detection for a user already starting a fn impl and still providing ↵Kevin DeLorey2020-02-051-5/+157
| | | | completion.
* Already implemented fn will no longer be suggested for trait implementations.Kevin DeLorey2020-01-291-15/+129
|
* Renamed the trait completion mod.Kevin DeLorey2020-01-231-0/+80