The current develop branch for Phpactor now supports automatically importing classes upon completion with OmniComplete.

Would be great to implement this in NCM2 also.
The suggestion format now looks like:
{
"type":"class",
"name":"ProcessUtilsTest",
"short_description":"Symfony\\Component\\Process\\Tests\\ProcessUtilsTest",
"class_import":"Symfony\\Component\\Process\\Tests\\ProcessUtilsTest",
}
Where class_import is non-empty it can call the import_class RPC method.
The current develop branch for Phpactor now supports automatically importing classes upon completion with OmniComplete.
Would be great to implement this in NCM2 also.
The suggestion format now looks like:
Where
class_importis non-empty it can call theimport_classRPC method.