Skip to content
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

Completion: preselect based on names #9260

Closed
rchande opened this issue Feb 26, 2016 · 3 comments
Closed

Completion: preselect based on names #9260

rchande opened this issue Feb 26, 2016 · 3 comments

Comments

@rchande
Copy link
Contributor

rchande commented Feb 26, 2016

This is a logical extension of target type preselection. y should be preselected below based on the name. In the current implementation x is.

class Program
{
    static void GetPoint(int x, int y) { }

    static void Main()
    {
        int x = 2;
        int y = 3;
        GetPoint(x, $$);
    }
}
@rchande
Copy link
Contributor Author

rchande commented Feb 26, 2016

FYI @CyrusNajmabadi

@Pilchie
Copy link
Member

Pilchie commented Mar 1, 2016

Added to #7056.

@Pilchie Pilchie added this to the Unknown milestone Mar 1, 2016
@CyrusNajmabadi
Copy link
Member

Intellicode offers thsi now:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants