How to make Intellisense in Visual Studio 2012 not to substitute text right to the cursor? -


while programming realize need add before typed code. example type name of variable:

input[0] 

and realize array of type string , need convert it. so, move beginning of word (with ctrl-left arrow) , start typing

convert.to|input[0] 

with pipe used show position of cursor. suggestions intellisense, including toint32() method looking for. long confirm suggestion tab or space, following:

convert.toint32(|)[0] 

so, text cursor position end of word substituted suggestion, , not want.

this problem not specific vs 2012 , might due extensions have installed, attempt pursue origin did not yield anything. have following extensions installed: resharper, powercommands, productivity power tools.

if entering unrelated expression before identifier, add space before start typing new expression. prevent completion replacing existing identifier.

for example, if | marks caret, following scenario avoid problem facing.

convert.to| input 

this code completion feature designed prevent insertion of incorrect identifiers. if visual studio behaved other ides know of, using code completion feature in original example result in insertion of toint32input, never valid.

if interested in additional thoughts regarding feature in general, have described extend (default visual studio) , no-extend (default netbeans, eclipse, , others) modes in blog article code completion filtering, selection, , replacement algorithms.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -