Lukas Wirth
|
75689f2ad8
|
internal: Enforce Resolver to always have a module scope
|
2022-03-31 11:12:08 +02:00 |
|
Lukas Wirth
|
7370a6b5b8
|
fix: Fix flyimport showing functions in pattern position
|
2022-03-21 19:41:39 +01:00 |
|
Lukas Wirth
|
02b401b130
|
Simplify completion render functionality
|
2022-03-16 16:27:55 +01:00 |
|
Lukas Wirth
|
2abe19e46a
|
Don't offer qualified path completions for buitlin derives
|
2022-03-10 21:22:13 +01:00 |
|
Lukas Wirth
|
a8b76b632c
|
Expand into pseudo-derive attribute expansions in completions
|
2022-03-10 20:53:50 +01:00 |
|
Lukas Wirth
|
eba90936c1
|
Move ide crates to new hir::Macro
|
2022-03-08 23:52:26 +01:00 |
|
Lukas Wirth
|
ab21cf2f4f
|
internal: Re-arrange ide_db modules
|
2022-03-06 19:04:04 +01:00 |
|
Lukas Wirth
|
6940cca760
|
Move attribute path completions into attribute completion module
|
2022-02-03 15:50:14 +01:00 |
|
Lukas Wirth
|
5c41f5d165
|
feat: Deprioritize completions of private but editable definitions
|
2022-02-02 02:05:49 +01:00 |
|
Lukas Wirth
|
d7a544e69a
|
fix: Complete functions and methods from block level impls
|
2022-02-01 23:29:40 +01:00 |
|
Lukas Wirth
|
143a30aa51
|
Show case-insensitive exact matches instead of fuzzy flyimport for short paths
|
2021-12-11 14:47:11 +01:00 |
|
Lukas Wirth
|
ae0c7268f7
|
internal: completion: split out more PathKinds from ImmediateLocation
|
2021-12-07 22:49:42 +01:00 |
|
Lukas Wirth
|
1f254dd855
|
feat: Enable flyimport completions for attributes
|
2021-12-05 15:57:28 +01:00 |
|
zhoufan
|
5666046ec9
|
fix: flyimport triggers on enum variant declarations
|
2021-11-14 12:16:21 +08:00 |
|
Lukas Wirth
|
439a8194b0
|
Replace more Name::to_string usages with Name::to_smol_str
|
2021-11-04 18:12:05 +01:00 |
|
Lukas Wirth
|
96db0d8bdd
|
Add Semantics::original_ast_node for upmapping nodes out of macro files
|
2021-11-03 21:12:36 +01:00 |
|
Lukas Wirth
|
ebd63ec1cf
|
feat: Make unqualified derive attributes flyimportable
|
2021-10-29 14:51:26 +02:00 |
|
Lukas Wirth
|
722489e3ff
|
Remove filtered completion list usage in completion tests
|
2021-10-27 16:53:39 +02:00 |
|
Lukas Wirth
|
d7d16a7ac9
|
Don't show flyimport completions in use renames
|
2021-09-30 18:15:55 +02:00 |
|
Aleksey Kladov
|
076c972e3b
|
internal: prevent possible bugs when adding magical comments
|
2021-09-13 13:43:13 +03:00 |
|
Lukas Wirth
|
40a2faee65
|
Enable flyimport for ident patterns
|
2021-09-01 16:13:53 +02:00 |
|
Lukas Wirth
|
50d46863ef
|
Look for enum variants and trait assoc functions when looking for lang items
|
2021-08-07 22:30:13 +02:00 |
|
bors[bot]
|
00c8cab20b
|
Merge #9765
9765: internal: Introduce TypeInfo r=Veykril a=Veykril
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2021-08-03 15:32:51 +00:00 |
|
Lukas Wirth
|
b96f1adf5c
|
Give TypeInfo fields and methods more appropriate names
|
2021-08-03 17:28:51 +02:00 |
|
Lukas Wirth
|
25ff7171c4
|
Introduce TypeInfo
|
2021-08-03 16:41:53 +02:00 |
|
Lukas Wirth
|
e138676664
|
Don't use the module as the candidate node in fuzzy path flyimport
|
2021-08-02 19:56:32 +02:00 |
|
Jonas Schievink
|
8764cc955f
|
Make flyimport respect #[doc(hidden)]
|
2021-07-28 19:22:59 +02:00 |
|
mahdi-frms
|
65839f4069
|
add 'use' prefix for any auto-import
|
2021-07-20 18:35:19 +04:30 |
|
mahdi-frms
|
6ac54319ea
|
show 'as' or 'use' before label traits
|
2021-07-05 16:44:44 +04:30 |
|
Lukas Wirth
|
2225db2eb4
|
Refine self , super and crate completion in use paths
|
2021-06-17 13:56:55 +02:00 |
|
Lukas Wirth
|
aa644b5585
|
Move test_utils into tests module
|
2021-06-16 21:51:52 +02:00 |
|
Kirill Bulatov
|
9c0b141dc9
|
Fix some typos in flyimport docs
|
2021-06-12 21:51:09 +03:00 |
|
Lukas Wirth
|
1d74ef1d98
|
Don't complete values in type position
|
2021-06-08 16:50:10 +02:00 |
|
Lukas Wirth
|
4eabcb2c01
|
Move more things into PathCompletionContext
|
2021-06-07 14:08:05 +02:00 |
|
Lukas Wirth
|
9271941a95
|
Add MethodCall and FieldAccess variants to ImmediateLocation
|
2021-06-02 15:21:18 +02:00 |
|
Lukas Wirth
|
f41c983424
|
Don't complete non-macro item paths in impls and modules
|
2021-05-27 12:23:36 +02:00 |
|
Lukas Wirth
|
30948e1ecb
|
simplify
|
2021-05-27 03:47:20 +02:00 |
|
Lukas Wirth
|
7de925b8ab
|
Collapse more CompletionContext booleans into enums
|
2021-05-27 02:54:49 +02:00 |
|
Lukas Wirth
|
b290cd5782
|
Add cov_marks to insert_use tests
|
2021-04-20 19:34:43 +02:00 |
|
Kirill Bulatov
|
739edfd5cf
|
Exclude inherent traits from flyimports
|
2021-04-16 11:13:17 +03:00 |
|
Kirill Bulatov
|
1c75d64c70
|
Do not show flyimports in trait or impl declarations
|
2021-04-15 11:51:43 +03:00 |
|
memoryruins
|
e1e6e3b925
|
Fix typo
|
2021-04-06 19:38:59 -04:00 |
|
memoryruins
|
c201cce527
|
Do not import on the fly during fields of record literal syntax
|
2021-04-06 18:40:06 -04:00 |
|
Kirill Bulatov
|
ec731e19df
|
Use smart case in flyimport items lookup
|
2021-03-21 11:45:37 +02:00 |
|
Kirill Bulatov
|
56a7d246d5
|
Disable unqualified assoc items completion for now
|
2021-03-20 23:08:44 +02:00 |
|
Kirill Bulatov
|
81961dc035
|
Do not propose assoc items without qualifiers
|
2021-03-20 22:18:43 +02:00 |
|
Josh Mcguigan
|
53bb46fa85
|
show function params in completion detail
|
2021-03-12 13:36:13 -08:00 |
|
Kirill Bulatov
|
dccbb38d2e
|
Less lifetines: derive SemanticsScope in place
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
84c575a212
|
Restrict fuzzy qualifiers for now
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
6ca6f101c1
|
Test for fuzzy unresolved path maatch
|
2021-03-08 23:59:20 +02:00 |
|