Skip to content

Fix Intellisense on members when first dot is after newline #10870

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

Open
cmeeren opened this issue Jan 14, 2021 · 1 comment
Open

Fix Intellisense on members when first dot is after newline #10870

cmeeren opened this issue Jan 14, 2021 · 1 comment
Labels
Area-LangService-AutoComplete autocomplete/intellisense Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Jan 14, 2021

Consider the following gif:

behavior

If writing the initial dot on the same line as the type, Intellisense works (i.e., Intellisense suggests the Create member).

If entering a newline and indenting before the first dot, Intellisense does not show up.

However, Intellisense works fine for any additional newlines/dots. It's just the first one that is broken.

I would expect the Intellisense to also work for the first newline/dot if it's on the next line.

Please let me know if you need further details.

@cartermp
Copy link
Contributor

Labeling as a bug though this could arguably also be a feature request. FCS itself has no ability to do this, so we'd need to be kind of clever in the VS tools that use FCS to account for the fact that the . may be on a different line.

@cartermp cartermp added this to the Backlog milestone Feb 6, 2021
@KevinRansom KevinRansom added the Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. label Jul 21, 2021
@vzarytovskii vzarytovskii moved this to Not Planned in F# Compiler and Tooling Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-AutoComplete autocomplete/intellisense Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.
Projects
Status: New
Development

No branches or pull requests

4 participants