is there way "auto qualify" variable type declaration in visual studio 2013? e.g. if type:
dim someexcel new application is there way ide automatically fill in namespace? this:
dim someexcel new microsoft.office.interop.excel.application the ide seems able infer namespace readily enough; if hover on type name can tell me namespace(s) contain type. 
it useful me able change old project "short names" application qualified names microsoft.office.interop.excel.application without having find each 1 , type out whole namespace.
or, in event of ambiguous name, if give me option pick namespace , fill in. similar how if use undefined class warn , give options either automatically add imports statement or create class stub you.
since automatically, , make suggestions , autocomplete methods/properties interface instance type, surprised if there not quick way have convert "short names" qualified names, if there - can't seem find it! looked through menu commands, , various right-click menus, , looked on msdn couldn't find - i'm not sure i'm using right search terms.
hoping more experience might know how or if functionality doesn't exist.
no, nothing exists in visual studio that.
doing confers no special advantages, vs tell if have ambiguous reference automatically , give possibilities resolve it.
when happens, click icon appears when hover on , select correct namespace. vs qualify namespace.
here's image of icon:

and resulting menu:

granted, c#, vb works same way.
Comments
Post a Comment