473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Visual Studio 2005 IDE formatting

Hello,

I am using Vistual Studio 2005 b now I like to code using tab to align
the = symbols:

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

now every time the IDE applies the formatting it replaces it by

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

I would really like to find the option to turn this of? I have been
looking into the options menu but can't find the specific option that
says use single space behind variables or objects.

-Mark

Nov 17 '05 #1
2 1293
I would just not use autoformatting at all if I were you.

Ma*********@gmail.com wrote:
Hello,

I am using Vistual Studio 2005 b now I like to code using tab to align
the = symbols:

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

now every time the IDE applies the formatting it replaces it by

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

I would really like to find the option to turn this of? I have been
looking into the options menu but can't find the specific option that
says use single space behind variables or objects.

-Mark

Nov 17 '05 #2
I just saw that when looking at the messge direclty on the website
http://www.dotnetnewsgroups.com/ all formatting of my example code has
ben removed aswel :) (I should have know with the nature of HTML)
Anyway I do use Tab intend and all the other formatting, if there has
been a misunderstanding, I hope the below example clearafies it better.
if (condition)
{
[ Tab ]var1[ Tab ][ Tab ][ Tab ]=[ Tab ]"value";
[ Tab ]variable1[ Tab ][ Tab ]=[ Tab ]"values 123";
[ Tab ]thisvariable1[ Tab ]=[ Tab ]"val";
}

becomes

if (condition)
{
[ Tab ]var1[ Space ]=[ Space ]"value";
[ Tab ]variable1[ Space ]=[ Space ]"values 123";
[ Tab ]thisvariable1[ Space ]=[ Space ]"val";
}

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Craig Hunt | last post by:
Am I missing something here? Quite frequently, I'll write an aspx document taking care to format the HTML so that I and others on my team can read it. <sarcasm>We kind of like to know what's...
3
by: michael.lang | last post by:
I am using PostBuild events in a C# project to run some tasks, but only when in release configuration mode. The build events run perfectly as expected when run. The problem comes when I save the...
13
by: sck10 | last post by:
Hello, I am trying to find the option VS2K5 that will automatically change HtmlMeta hm=new HtmlMeta(); or HtmlMeta hm = new HtmlMeta(); to HtmlMeta hm = new HtmlMeta(); What I would...
0
by: Nattydreadlock | last post by:
Hello, I'm having some problems installing Visual Studio 2005. I'll briefly explain what's the history of the problem here. First I installed VS 2005 beta 2. I uninstalled it later via the...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 unexpectedly stopped generating the *.designer.vb files for *.aspx and *.ascx files. After a few days of frustration trying to fix this, I noticed that it had the following...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.