News for hackers. Stuff that matters.
Re:Visual Studio IntelliCode by Dayshine on Tuesday June 04, 2019 @06:05AM (#20093537)
If you're using Intellicode in Visual Studio with C#, I'm afraid I don't really believe you. Intellicode strongly prioritises nearby code elements.

Could you give an example of a situation where it's completely missing the point?

VS Code's default completion is strictly buffer based, so no sure what you mean there either.

Re:Visual Studio IntelliCode by YuukiRey on Tuesday June 04, 2019 @06:39AM (#20093675)
I have a bunch of screenshots I shared in our work slack channel. First of all I am talking about Visual Studio Code rather than Visual Studio. I should have mentioned that, sorry. Intellicode is also available for VSC so I figured it would be relevant here.

The screenshot I posted a while back showed me exporting something at the of the file and I had typed `Det` at which point it suggested some random functions from random APIs. Then I had `Detail` at which point no suggestions were offered. At `Detaile` it finally gave me `DetailedProgress` from the same file about 50 lines higher up.

This is a frequently recurring theme that it takes so long to actually suggest mere names (~ strings).

Re:Visual Studio IntelliCode by Dayshine on Tuesday June 04, 2019 @09:03AM (#20094538)
My understanding is that completion in VS Code for C# is provided by Omnisharp, which yeah, I agree, seems to be slow and inconsistent.

I've written a language server extension for VS Code (not for C#), and the completion lists I provide are better than those I get in C#/F# while writing the server, it's bad :/