Code completion support for static imports in NRefactory

112 Views Asked by At

Does NRefactory's code completion support static imports? I'm using the latest version of NRefactory and I've not been able to get it to recognize static imports.

e.g:

using System.Console;
Console.WriteLine(); //autocomplete for this
WriteLine(); //no autocomplete for this
1

There are 1 best solutions below

0
On

No, NRefactory 5.0 does not support features from C# 6. NRefactory 6.0 is only a wrapper around/an extension based on the open-sourced Roslyn library.

[Source: I am part of the NRefactory team.]