Commit graph

137 commits

Author SHA1 Message Date
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Richard Feldman
14ba398b5d
Merge pull request #6569 from faldor20/docs
Add docs to completions and hover
2024-03-16 11:22:58 -04:00
Anton-4
ad4fa6a4d7
fix spelling 2024-03-16 14:44:36 +01:00
Anton-4
3fadcf7bcb
style changes 2024-03-16 14:41:08 +01:00
Luke Boswell
8bbbd768ec
add snapshot test for suffixed expr 2024-03-15 14:39:21 +11:00
faldor20
00280f72a8
update name of doc func 2024-03-14 23:33:51 +10:00
faldor20
c4c372de39
Merge branch 'main' into docs 2024-03-14 23:29:35 +10:00
Anton-4
1efd7615f0
stylistic improvements 2024-03-13 20:27:23 +01:00
Eli Dowling
5167d658a7
clippy and formatting 2024-03-12 06:42:40 +10:00
Eli Dowling
bc879c9869
split imports 2024-03-12 06:42:40 +10:00
Eli Dowling
4174bf38d6
cleanup nitpicks and reorganising 2024-03-12 06:42:39 +10:00
Eli Dowling
a7259a2a52
typo 2024-03-12 06:42:38 +10:00
Eli Dowling
cc4453b301
remove alias 2024-03-12 06:42:37 +10:00
Eli Dowling
7a09a31a6a
clippy 2024-03-12 06:42:37 +10:00
Eli Dowling
234d1d7e03
fix the tests that cargo clippy and fmt somehow broke 2024-03-12 06:42:36 +10:00
Eli Dowling
584a21ea7c
typos 2024-03-12 06:42:35 +10:00
Eli Dowling
6c36d5f510
comment cleanup 2024-03-12 06:42:34 +10:00
Eli Dowling
ed3649fe1f
cleanup refactor and clippy 2024-03-12 06:42:33 +10:00
Eli Dowling
02f0aca18c
remove un-used? 2024-03-12 06:42:32 +10:00
Eli Dowling
c7e60e69a0
Nice formatting 2024-03-12 06:42:31 +10:00
Eli Dowling
ebd9eda7aa
Added formatting for module completion 2024-03-12 06:42:31 +10:00
Eli Dowling
edb076e5df
completionitems have correct type 2024-03-12 06:42:30 +10:00
Eli Dowling
4a872a3ccf
cleanup and comment for clarity 2024-03-12 06:42:29 +10:00
Eli Dowling
b98633f1ba
fixed unwinding of async 2024-03-12 06:42:29 +10:00
Eli Dowling
84f4a5692d
removed aliases completion for now 2024-03-12 06:42:28 +10:00
Eli Dowling
b9d5979c1f
run rust fix 2024-03-12 06:42:26 +10:00
Eli Dowling
adca9df695
remove unwraps 2024-03-12 06:42:25 +10:00
Eli Dowling
87bf2bf70b
made tests better 2024-03-12 06:42:25 +10:00
Eli Dowling
d681f743c2
made trace logs trace 2024-03-12 06:42:24 +10:00
Eli Dowling
7e6faa536b
types for external completions 2024-03-12 06:42:23 +10:00
Eli Dowling
ae27682de7
stop builtin crash 2024-03-12 06:42:22 +10:00
Eli Dowling
3027fc2284
working completions 2024-03-12 06:42:22 +10:00
faldor20
be71514435
spelling 2024-03-12 00:26:29 +10:00
faldor20
ee264981b6
cleanup getting docs for symbol 2024-03-12 00:13:57 +10:00
faldor20
98b454d1cf
add tests for docs 2024-03-11 23:36:36 +10:00
faldor20
899dbdd7ec
cleanup tests and whitespace 2024-03-11 16:25:46 +10:00
faldor20
f3f86ff788
put docs data in correct place 2024-03-11 15:30:47 +10:00
faldor20
45237c2aa0
move visitor 2024-03-11 15:17:45 +10:00
faldor20
2ae44574b2
Add todo to language server 2024-03-11 11:10:36 +10:00
faldor20
f6799cae92
support docs in app, platform and packages 2024-03-11 11:10:36 +10:00
faldor20
d95da9dd5b
completions working 2024-03-11 11:10:35 +10:00
faldor20
0c463555f4
module docs 2024-03-11 11:10:35 +10:00
faldor20
cdf218fe7a
first working version of docs hover 2024-03-11 11:10:34 +10:00
faldor20
87af8bd610 clippy and formatting 2024-03-11 10:18:58 +10:00
faldor20
2566d0f983 split imports 2024-03-11 10:18:58 +10:00
faldor20
391b695824 cleanup nitpicks and reorganising 2024-03-11 10:18:58 +10:00
faldor20
72e60ec01b typo 2024-03-11 10:18:58 +10:00
faldor20
6d3fd89f8e remove alias 2024-03-11 10:18:58 +10:00
faldor20
3561d66f62 clippy 2024-03-11 10:18:58 +10:00
Eli Dowling
501748e398 fix the tests that cargo clippy and fmt somehow broke 2024-03-11 10:18:58 +10:00