[Just for running test] Some auto completion improvement
Description
-
Support #16562 for C# style extension methods
-
When caret is after
=or<>, show static field or property of the former expr type. These static things is of same type with the former expr.
- Complete the parameter list of the overrided method and call base method
Current questions:
- Cannot trigger the new completion context in many case
-
When the
=expr not the last expr: -
Inside the
if .. then ..(but it can trigger if there is nothen) -
In arguments list
-
There's some thing after the operator
- 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~
- 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~
- Extension methods from
getAllSymbolsmaybe duplicated
- Extension methods from
getAllSymbolsis not detailed
Extensions from opened namespace:
Extensions from getAllSymbols:
Checklist
- [ ] Test cases added
- [ ] Performance benchmarks added in case of performance changes
- [ ] Release notes entry updated:
: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 |
I think I need some help to solve these questions.