Skip to content

VS completion bugs with symbols in unopened namespaces #14375

@ijklam

Description

@ijklam
  1. Auto open namespace/module in wrong place. Currently it will insert open statements to the outest namespace/module, but maybe the statement should be inserted to the closest places to the function
    error1

  2. Treat static class as F# module, and try to open the class.
    error2

Expected behavior

  1. open statement should be inserted to the closest places to the function
    图片
  2. Treat static class as a F# module with [<RequireQualifiedAccess>] like insert Array or Seq

Related information

Provide any related information (optional):

Microsoft Visual Studio Community 2022
Version 17.4.1

Visual F# Tools 17.4.0-beta.22512.4+525d5109e389341bb90b144c24e2ad1ceec91e7b

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VS-EditorVS editor support for F# code, not covered elsewhereBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions