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

InlayHints: LSP 3.17 & TextEdits #943

Merged
merged 29 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ef7b067
Add functions to extract different cursors from text
Booksbaum May 8, 2022
a10620b
Add LSP InlayHint types
Booksbaum May 8, 2022
8506255
Make `InlayHint` generic
Booksbaum May 11, 2022
ed2dd4d
Add SyntaxTraversal from FCS
Booksbaum May 11, 2022
623190f
Add `textDocument/inlayHint` & `inlayHint/resolve`
Booksbaum May 12, 2022
417e99e
Fix: type hint isn't truncated
Booksbaum May 12, 2022
fd76700
Add some location tests
Booksbaum May 12, 2022
ef4a73c
Handle func values
Booksbaum May 13, 2022
e1d54c5
Rename `AddExplicitTypeToParameter` to `AddExplicitTypeAnnotation`
Booksbaum May 13, 2022
33df930
~~Uglify~~ Format Code
Booksbaum May 13, 2022
6745b43
Fix: Test for no CodeFix gets CodeFix
Booksbaum May 13, 2022
e28fb4a
Change InlayHint.Data to JToken
Booksbaum May 14, 2022
6060279
Add test functions to test LSP Inlay Hints
Booksbaum May 15, 2022
ab9b5a9
Add test for type nested in another generic type
Booksbaum May 16, 2022
d2f3f29
Add Tooltip with full name when truncated
Booksbaum May 27, 2022
2310440
Disable Resolve for InlayHint (for now)
Booksbaum May 27, 2022
2024435
Add ref to corresponding issue
Booksbaum May 28, 2022
08bfc89
`ServiceParseTreeWalk` is now required solely for `SynMatchClause`s
Booksbaum Jun 15, 2022
e6040a1
Add tests to check Inlay Type Hint and Add Explicit Type together
Booksbaum Jun 21, 2022
d9c9e1c
Remove `inlayHint/resolve` -> not handled (yet)
Booksbaum Jun 21, 2022
e9937a3
Cleanup
Booksbaum Jun 21, 2022
5565421
Adjust file name to match `AddExplicitTypeAnnotation` CodeFix
Booksbaum Jun 22, 2022
e66e0ae
Fix: Difference in required/optional parens in `let` and `match` case
Booksbaum Jun 22, 2022
c8cdd53
Add `Cursor.afterEdits` to calc cursor pos after all edits
Booksbaum Jun 24, 2022
cbaff16
Update tests to use `Cursor.afterEdits`
Booksbaum Jun 24, 2022
b71125a
Remove `textDocument/inlayHint` because added to `Ionide.LSP`
Booksbaum Jun 24, 2022
cf59edd
Add test for fun variable
Booksbaum Jun 26, 2022
d27a3b3
Format code
Booksbaum Jun 26, 2022
8c8d04c
Remove unused InlayHintData
Booksbaum Jun 26, 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
1 change: 1 addition & 0 deletions src/FsAutoComplete.Core/FsAutoComplete.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<TrimmerRootAssembly Include="FsAutoComplete.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Workaround/ServiceParseTreeWalk.fs" />
<Compile Include="Debug.fs" />
<Compile Include="Utils.fs" />
<Compile Include="TestAdapter.fs" />
Expand Down
Loading