Skip to content

Show fields before other things in hints list #1897

Open
@ihavenonickname

Description

@ihavenonickname

Environment data

dotnet --info output:

.NET Command Line Tools (2.0.0)

Product Information:
Version: 2.0.0
Commit SHA-1 hash: cdcd1928c9

Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.0\

Microsoft .NET Core Shared Framework Host

Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

VS Code version:

Version 1.18.1
Commit 929bacba01ef658b873545e26034d1a8067445e9
Date 2017-11-16T18:32:36.023Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

C# Extension version:
1.13.1

Steps to reproduce

Create an object with object initializer. Press ctrl+space to open up the hints list while filling the fields.

Expected behavior

The list displays relevant things (the fields of the class being initialized) before less relevant things.

Actual behavior

The list is sorted alphabetically. Things like #region are displayed before relevant things. You may look here to see an example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions