.net - How to activate the insertion of ByVal keyword by default in Visual Studio 2015? -


in visual studio 2015, option should enable/disable activate auto-generation of byval keyword vb.net?

i've tried toggle "pretty listing (reformatting) of code" option, not take effect.

maybe there alternative solution via 3rd party extension visual studio?

this behaviour changed in visual studio 2010 service pack 1.

carlos quintero writes in blog:

"i e-mailed program managers changed behavior, in turn introduced me developer, , confirmed there no setting (and no plans) old behavior in vb.net code editor."

so, possible way behaviour seems to install visual studio 2010 , no service packs. might not reasonable solution most...

the main reason byval keyword added automatically in first place seems default way of passing parameters in vb 6 byref. default supposedly had change vb make reasonable transition .net, confuse vb 6 programmers, ide automatically made specific.

nowadays there no longer need make specific avoid confusion vb 6 programmers. if transition vb 6 vb 14 should expect dramatic changes.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

wso2esb - How to concatenate JSON array values in WSO2 ESB? -