Pascal Hertleif
5516476a86
Fix a typo in completion docs
2020-07-19 18:25:19 +02:00
Aleksey Kladov
c14a3b4a20
Modernize qual path completion tests
2020-07-04 18:53:30 +02:00
Heyward Fann
f1986be8fd
fix: correct pd/ppd/tfn/tmod completion doc
...
a33eefa3b2/crates/ra_ide/src/completion/complete_snippet.rs (L23)
2020-07-02 11:06:00 +08:00
Laurențiu Nicola
dbb940fa7d
Colorize more test fixtures
2020-07-01 19:05:34 +03:00
Mikhail Rakhmanov
16bbf4ab7f
Merge branch 'master' into keyword_completion
...
# Conflicts:
# docs/user/generated_features.adoc
2020-06-13 08:42:15 +02:00
Mikhail Rakhmanov
9f91901f7e
Add more keywords
2020-06-11 14:16:35 +02:00
Aaron Loucks
5837acce53
Add basic hover and completion doc tests for macro generated items
2020-06-03 06:46:07 -04:00
Aleksey Kladov
1c6a2eb14a
Move the rest of the features to generated docs
2020-05-31 11:29:19 +02:00
Aleksey Kladov
c847c079fd
Add AssistConfig
2020-05-19 20:28:27 +02:00
Aleksey Kladov
71f6d58e31
Remove unnecessary condition
...
No tests fail, and quick manual testing shows that there are no
false-positives. In general, each completion contributor should be
independent from the others.
2020-05-04 15:32:23 +02:00
Kirill Bulatov
9f0ed7ed92
Separate macros completion from other
2020-05-02 22:33:23 +03:00
Roberto Vidal
0dab5d5879
Adds attribute completions ( #3941 )
2020-04-24 17:54:52 +02:00
Aleksey Kladov
bd3b239390
Move CompletionConfig to a separate module
2020-04-24 02:01:23 +02:00
Benjamin Coenen
071ef268b5
feat: improve dot completions with scoring
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-17 10:29:32 +02:00
Benjamin Coenen
6ebc8bbeb0
feat: improve dot completions with scoring
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-16 18:30:08 +02:00
Benjamin Coenen
06076f95a7
feat: improve dot completions in a struct literal expression
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-15 22:10:57 +02:00
Benjamin Coenen
0640957429
Improve autocompletion by looking on the type and name, change implementation, include sort in Completions struct
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-04-12 17:58:06 +02:00
Aleksey Kladov
0215560434
Better naming for scope completion
2020-04-07 13:20:41 +02:00
Aleksey Kladov
a5ffe53c9d
Better naming for path completion
2020-04-07 13:19:57 +02:00
Kirill Bulatov
1335608dae
Unite record completion logic into a single module
2020-04-01 13:03:56 +03:00
Kirill Bulatov
d35b943520
Split draft
2020-04-01 12:49:31 +03:00
Aleksey Kladov
569f47e427
Better names for config structs
2020-03-31 16:05:25 +02:00
Aleksey Kladov
fd3ece2b73
Make naming more uniform
2020-03-12 17:38:48 +01:00
Aleksey Kladov
dad8f1e064
Introduce completion test utils
2020-03-11 11:09:57 +01:00
Aleksey Kladov
9b0b59c5d2
Add a test for disabled argument snippets
2020-03-11 10:39:39 +01:00
Aleksey Kladov
2347c03dcd
Introduce CompletionOptions
2020-03-10 18:40:22 +01:00
Aleksey Kladov
c3a4c4429d
Refactor primary IDE API
...
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.
2020-02-26 12:55:50 +01:00
Kevin DeLorey
d85abd77b9
Added a utility function that can be used to determine the missing impl items.
2020-02-09 12:24:59 -06:00
Kevin DeLorey
a957c473fd
Merge branch 'master' into kdelorey/complete-trait-impl
2020-02-09 10:37:43 -06:00
Aleksey Kladov
88267c86c0
cleanup imports
2020-02-06 14:03:45 +01:00
Kevin DeLorey
bc1fc6239d
Renamed the trait completion mod.
2020-01-22 22:38:03 -06:00
Kevin DeLorey
e3cda83f90
Added basic support for completing fn
for trait impl.
2020-01-22 22:34:00 -06:00
Aleksey Kladov
757e593b25
rename ra_ide_api -> ra_ide
2019-11-27 21:35:06 +03:00