CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 3/14/2006 10:13:59 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
mckelt
Asp.Net User
Keep tab indents in VS 20053/14/2006 10:13:59 AM

0/0

Hi and apologies if this is the wrong forum for such a post. I have a quick question regarding C# code formatting in Visual Studio 2005...

I kind of like most of the smart text editor features in VS2005 (for example, the way code is re-indented when the C# closing brace is pressed).

However, what I don't like is the way that this smart re-formatting trashes all my vertical column alignments like this...

I like to write code like this...

private CheckBox _notifyCheckBox;
private TextBox _subjectTextBox;
private TextBox _bodyTextBox;
private ValidationSummary _validationSummary;

VS2005 reformats the above code like this...

private CheckBox _notifyCheckBox;
private TextBox _subjectTextBox;
private TextBox _bodyTextBox;
private ValidationSummary _validationSummary;

Is it possible to keep the smart text editor features, without the above happening?
Chris McKelt


McKelt Solutions
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro .NET 2.0 Code and Design Standards in C# Authors: Mark Horner, Pages: 329, Published: 2005
Practical Guidelines and Best Practices for Microsoft Visual Basic and Visual C# Developers Authors: Francesco Balena, Giuseppe Dimauro, Pages: 608, Published: 2005
Beginning C# 2005 Databases: From Novice to Professional Authors: James Huddleston, Ranga Raghuram, Syed Fahad Gilani, Jacob Hammer Pedersen, Jon Reid, Pages: 500, Published: 2006
Beginning VB 2005 Databases: From Novice to Professional Authors: James Huddleston, Syed Fahad Gilani, Ranga Raghuram, Jacob Hammer Pedersen, Jon Reid, Pages: 492, Published: 2007
No Stress Tech Guide to Crystal Reports for Visual Studio 2005 for Beginners Authors: Indera Murphy, Pages: 416, Published: 2008
Pro WPF: Windows Presentation Foundation in .NET 3.0 Authors: Matthew MacDonald, Pages: 980, Published: 2007
Pro WPF in C# 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1040, Published: 2008
Pro WPF with VB 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1000, Published: 2008
QuarkXPress to InDesign: Face to Face Authors: Galen Gruman, Pages: 432, Published: 2005

Web:
What's Up with us! - Keep Tabs in Visual Studio 2005 Feb 21, 2007 ... Post, Keep Tabs in Visual Studio 2005 ... I just hate it when I have hit tab to indent some line of code and then when I try to go back and ...
codeblog » detecting space-vs-tab indentation type in vim Mar 9, 2007 ... unless (as your later configuration handles it too) you keep it tabs-only. ... I personally use tabs (one character = one indentation, seems pretty logical to me really) ... Kees Cook, 2005-2007; Creative Commons License ...
Can you set Visual Studio's "smart indent" to not remove tabs in ... When Visual Studio (2005) has Options -> Text Editor -> C/C++ -> Tabs -> Indenting set to Smart it will automatically indent code blocks and line up ...
Code indentation problem when converting VS2003 to VS2005 - ASP ... My \Tools\Options\Text Editor\Basic\Tabs indent is set to the standard ... Now if I create a new project in VS2005 the code indents just fine. ... If you want to indent the entire page to what it should be quickly (if you want to keep ...
Visual Studio Tips: Auto-Indent Current Selection in Visual Studio (8) Visual Studio Tips: How to Define Tab as Insert Spaces Rather Than Keep tabs (9) ... Visual Studio Tips: Bookmarking Lines of Text in Visual Studio 2005 (5) ...
Bug Babble : Tabs vs Spaces tabs are alot easyer IMHO to keep consistant. Monday, October 31, 2005 1:20 AM by Paule ... re: Tabs vs Spaces. Both! Tabs for block indentation, ...
How to: Specify Indenting in the Editor To specify that tab characters be used in tab and indent operations, select Keep tabs. — or —. To specify that space characters be used, select Insert spaces. ... Visual Studio 2005 · Visual Studio · Integrated Development Environment for Visual Studio · Editing Code and Resource Files · Customizing the Editor ...
vsnet ide VS2005 Reformats HTML Source For example I will manually enter tabs or use the Indent Tool on a ul ... source code and will not allow me to remove the indentation to keep the .... I saved, closed and restarted VS2005 and settings appear to be saved. ...
Sara Ford's WebLog : Did you know... How to keep tabs or to insert ... Dec 7, 2007 ... It would just drive me crazy trying to keep up with when should a tab get inserted, ... Visual Studio 2005 Tip of the Week · Visual Studio 2008 Astuces · Visual Studio 2008 Tip of the Day ... We were better off with "Keep tabs" and let the VS UI handle the rendering of the tab indentation. ...
Scott White's Distillery: Visual Studio 2005 Settings Below are my Visual Studio 2005 Advanced Programmers settings. TV: Treeview. Within Visual Studio 2005 open ... Change indenting to use Tabs. TV: Text Editor -> All Languages -> Tabs -> click Keep tabs. Turn off paranoid autocomplete ...




Search This Site:










dnn 3.x web.config file explained?

protecting exposed directory

how to prevent using <identity impersonate="false" />

web deployment using 'web setup project'

compiler taking forever!

web developer survey (?)

creating new word document - com exception error

dnn3 and yetanotherforum

change iframe content when clicking on an <asp:menu> item

dnn 3.1.0: strange errors with search engine

'administrators guide to dotnetnuke'

membership and roles help me

problems with navigation / hosting / interface

data provider - help please

dnn 3.1.1 on server with .net framework 2 beta

asp.net development server not automatically starting

1.0 to vs 2005?

dwp files

system.security.securityexception when creating an eventsource

create a new portal

pathtoolongexception with some modules

javascript injection attacks

menu - current item and parent item selected?

profile.isanonymous=true with logged-in user !!!

style rendered twice

login timeout problem

the stored procedure 'dbo.adddesktopmodule' doesn't exist. please help!!!!

how to update a file on a server other then the iis server hosting your site?

changepassword control prompts for user selection

limit to one webpart type per page?

 
All Times Are GMT