dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.82k stars 773 forks source link

[Just for running test] Some auto completion improvement #17252

Open Tangent-90 opened 1 month ago

Tangent-90 commented 1 month ago

Description

图片

图片

Current questions:

  1. Cannot trigger the new completion context in many case
  1. Can only trigger completion when the caret is right after the operator, and there is a space right after the operator

图片

~3. Properties cannot be distinguished from methods~

图片

  1. Completions in ~interface implementation or~ obj expr will not exclude items already overrided

~7. Completions in interface implementation will also give overridable members from obj~

图片

~8. Completions doesnot insert correct type when the parameter list containing generic~

图片

  1. Extension methods from getAllSymbols maybe duplicated

图片

  1. Extension methods from getAllSymbols is not detailed

Extensions from opened namespace: 图片

Extensions from getAllSymbols: 图片

Checklist

github-actions[bot] commented 1 month ago

:heavy_exclamation_mark: Release notes required

@Tangent-90,

[!CAUTION] No release notes found for the changed paths (see table below).

Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format.

The following format is recommended for this repository:

* <Informative description>. ([PR #XXXXX](https://github.com/dotnet/fsharp/pull/XXXXX))

See examples in the files, listed in the table below or in th full documentation at https://fsharp.github.io/fsharp-compiler-docs/release-notes/About.html.

If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request.

You can open this PR in browser to add release notes: open in github.dev

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/8.0.400.md No release notes found or release notes format is not correct
vsintegration/src docs/release-notes/.VisualStudio/17.11.md No release notes found or release notes format is not correct
Tangent-90 commented 1 month ago

I think I need some help to solve these questions.