I'm liking it so far, but exceptions are an area where it could do better.
Take this simple example.
void Test(object obj)
{
if (obj == null) throw new ArgumentNullException(nameof(obj));
}
I didn't get any Intellicode suggestions as I wrote that. I would like to see it guess that I'm going to use an ArgumentNullException and guess the nameof(obj) argument.
It looks like the suggestions are all done in small units at the moment, but it would be nice if the whole of throw new ArgumentNullException(nameof(obj)); could be offered as a single suggestion after I finished typing the if.
Pushing that even further, it would be nice if it could recognise that guards are common, so that just pressing ctrl+space on the first blank line of the method offered me the whole line as a single suggestion.
I would also like to see it train continuously in the background so that I don't have to think about retraining.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm liking it so far, but exceptions are an area where it could do better.
Take this simple example.
I didn't get any Intellicode suggestions as I wrote that. I would like to see it guess that I'm going to use an
ArgumentNullException
and guess thenameof(obj)
argument.It looks like the suggestions are all done in small units at the moment, but it would be nice if the whole of
throw new ArgumentNullException(nameof(obj));
could be offered as a single suggestion after I finished typing the if.Pushing that even further, it would be nice if it could recognise that guards are common, so that just pressing ctrl+space on the first blank line of the method offered me the whole line as a single suggestion.
I would also like to see it train continuously in the background so that I don't have to think about retraining.