Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support Inlay Hint #453

Merged
merged 48 commits into from
Jul 23, 2022
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
84fa4dd
feat(inlayHint): basic support
aspeddro Jun 10, 2022
19d6585
feat(inlayHint): remove log
aspeddro Jun 11, 2022
a4fae36
feat(inlayHint): add pos argument
aspeddro Jun 11, 2022
5e0648c
feat(inlayHint): simplify hint
aspeddro Jun 11, 2022
a75a2b8
feat(inlayHint): remove import extension
aspeddro Jun 11, 2022
b4172dc
feat(inlayHint): add rescript test file
aspeddro Jun 11, 2022
3105227
cleanup
aspeddro Jun 11, 2022
c73fa08
cleanup rm client.ts
aspeddro Jun 11, 2022
49b79df
Merge branch 'master' into feat-inlay-hint
zth Jun 16, 2022
935a8df
add config option for inlay hints
zth Jun 16, 2022
8b41f21
wire up inline hints again
zth Jun 16, 2022
f46998e
honor inline hints configuration
zth Jun 16, 2022
a2562c6
refactor hint analysis
aspeddro Jun 18, 2022
834af28
fix merge
aspeddro Jun 18, 2022
4c2bad3
add docstring to tooltip
aspeddro Jun 19, 2022
a3457d9
fix merge
aspeddro Jul 4, 2022
f43ef11
rewrite inlay hints
aspeddro Jul 8, 2022
f4e9f1d
add more exp
aspeddro Jul 8, 2022
0e38c52
sync with master
aspeddro Jul 14, 2022
29b77d1
refactor
aspeddro Jul 20, 2022
fefee51
add tests
aspeddro Jul 20, 2022
b995ac2
simplify typehint
aspeddro Jul 20, 2022
91ecfe8
Merge branch 'master' into feat-inlay-hint
aspeddro Jul 20, 2022
516f701
fix test
aspeddro Jul 20, 2022
5ee6f66
add cli help
aspeddro Jul 20, 2022
13be958
fix test
aspeddro Jul 20, 2022
7bd68f2
fix test
aspeddro Jul 20, 2022
02f080a
update expected test
aspeddro Jul 20, 2022
a4353ef
trim whitespace
aspeddro Jul 20, 2022
674e8be
format
aspeddro Jul 20, 2022
9a30439
remove autoRunCodeAnalysis
aspeddro Jul 20, 2022
b8d1ece
add maxLength option
aspeddro Jul 21, 2022
bd4cfdd
keep whitespace
aspeddro Jul 21, 2022
bc5494c
fix cli arg
aspeddro Jul 21, 2022
6921165
Update tests.
cristianoc Jul 22, 2022
13b804a
Simple cleanup.
cristianoc Jul 22, 2022
2d03db2
sync with master
aspeddro Jul 22, 2022
58d3d67
fix server.ts
aspeddro Jul 22, 2022
83a7d74
add range params
aspeddro Jul 22, 2022
c185c0a
update Cli
aspeddro Jul 22, 2022
9b4bac9
update readme
aspeddro Jul 22, 2022
fc3e3f9
add test
aspeddro Jul 23, 2022
99bd073
fix test
aspeddro Jul 23, 2022
65fe0ec
fix test
aspeddro Jul 23, 2022
21338b0
update changelog
aspeddro Jul 23, 2022
de032db
update changelog
aspeddro Jul 23, 2022
dfe05f1
fix comment
zth Jul 23, 2022
4df48ae
clarify maxLegth config
aspeddro Jul 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add cli help
  • Loading branch information
aspeddro committed Jul 20, 2022
commit 5ee6f66c679cdf9abe84924e8ad1d5e42690a97c
4 changes: 4 additions & 0 deletions analysis/src/Cli.ml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Options:

./rescript-editor-analysis.exe diagnosticSyntax src/MyFile.res

inlayHint: get all inlay Hint declared in MyFile.res

./rescript-editor-analysis.exe inlayHint src/MyFile.res

test: run tests specified by special comments in file src/MyFile.res

./rescript-editor-analysis.exe test src/src/MyFile.res
Expand Down