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 |
|
Kirill Bulatov
|
24a5d3b19d
|
Fix the completion labels and tests
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
33c83e72b9
|
Work towards better import labels
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
821e8369d9
|
Update the docs
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
e214c3a6bd
|
Simplify
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
e74c55bb4a
|
Refactor the import location
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
89d410cef5
|
Do not propose already imported imports
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
9482353fa8
|
Properly handle turbofishes in qualifiers
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
d386481fac
|
Fix some tests
|
2021-03-08 23:59:20 +02:00 |
|
Kirill Bulatov
|
582cee2cdf
|
Return more data about located imports
|
2021-03-08 23:59:18 +02:00 |
|
Kirill Bulatov
|
309421c117
|
Draft the qualifier import resolution
|
2021-03-08 23:58:48 +02:00 |
|
Kirill Bulatov
|
005bc49d74
|
Test and initial refactoring
|
2021-03-08 23:58:32 +02:00 |
|
Laurențiu Nicola
|
fc9eed4836
|
Use upstream cov-mark
|
2021-03-08 22:19:44 +02:00 |
|
Kirill Bulatov
|
4fe5786c0c
|
Consider import prefix config settings during flyimports
|
2021-02-20 13:53:50 +02:00 |
|
Aleksey Kladov
|
3db64a400c
|
rename completion -> ide_completion
We don't have completion-related PRs in flight, so lets do it
|
2021-02-17 17:53:31 +03:00 |
|