--------------------------------------VisualStudio 2005 text editor settings--------------------------------------Tab settings:Indent Size => 4Tab Size => 4Insert Tabs => False (Use space chars when indenting)New Line settings:Place open brace on new line for types => FalsePlace open brace on new line for methods => FalsePlace open brace on new line for anonymous methods => FalsePlace open brace on new line for control blocks => FalseWrapping settings:Leave block on single line => FalseLeave statements and member declarations on the same line => FalseOther spacing or indentation should follow the default settings.Here is a sample:class Sample {private static readonly int[] m = {1, 2, 3, 4,};public int Size {get {return m.Length;}}public void Run(int x) {if (x >= 0 && x < m.Length) {Runner.Run(delegate() {return m[x];});}}}You can use PoderosaVSMacro.vb for overriding the conding-style settings.PoderosaVSMacro.vb can be found at tools/vsmacro on CVS.To set conding-style settings:1. Open Macro IDE2. Add existing macro (PoderosaVSMacro.vb) to MyMacros3. Open Macro Explorer4. Run MyMacros > PoderosaVSMacro > SetEditorProperties
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。