473,467 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VS2005 IDE Question : How do I stop the automatic formatting for base()

I am using VS2005.

When I paste source code into the code window, VS2005 formats like the
following:

public MsgRecipientReader()
: base()
{

}

I don't want :base() on a seperate line. I want it to look like the
following after pasting it into code window:

public MsgRecipientReader() : base()
{

}

I want the adjust indentation on paste feature to continue to work. I
realize I could turn this off, but then I loose all the other formatting,
which I do like.

Thanks

Russell Mangel
Las Vegas, NV
Jun 17 '06 #1
1 1432
You can disable indentation on paste. But, there's nothing to specifically
affect the automatic formatting of the base class constructor.
To disable formatting on paste. Tools/Options, expand Text
Editor/C#/Formatting, and uncheck the Adjust indentation on paste.
--
http://www.peterRitchie.com/
"Russell Mangel" wrote:
I am using VS2005.

When I paste source code into the code window, VS2005 formats like the
following:

public MsgRecipientReader()
: base()
{

}

I don't want :base() on a seperate line. I want it to look like the
following after pasting it into code window:

public MsgRecipientReader() : base()
{

}

I want the adjust indentation on paste feature to continue to work. I
realize I could turn this off, but then I loose all the other formatting,
which I do like.

Thanks

Russell Mangel
Las Vegas, NV

Jun 17 '06 #2

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

Similar topics

7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
0
by: sonic_soul | last post by:
silly, but i thought i disabled auto formatting in Options > Text Editor > HTML/XML > Format > Apply automatic formatting. after creating a huge aspx page maticulously formatted i switch to...
12
by: clintonG | last post by:
VS2005 2.0 Beta 2 noting I've posted (to no avail so far) to the somewhat deadzone at news://microsoft.public.vsnet.ide and am getting ants in my pants for some discussion about this issue. ...
4
by: Deep S. | last post by:
Hi, I'm working on ASP.NET and want to stop VS.NET IDE applying it's intelligence when working in the HTML view of the aspx files. Every time i arrange the HTML code properly, coming back to it,...
2
by: RA | last post by:
Hi I change the code in the html vs editor and from time to time vs adds spaces and I have to go back and fix it. How can I stop it from doing so? Thanks
9
by: Brian Lowe | last post by:
I'm using Visual Studio to build ASP.Net pages and I'm trying to be standards compliant by using XHTML. In my page I create valid XHTML such as: <ul> <li>first list item</li> <li>second list...
3
by: ohnoonho | last post by:
Hello, I posted this in the C# group but thought maybe the better place would be here since it is happening with website projects so please forgive any cross posting. In my website projects I...
10
by: Ivan Vecerina | last post by:
Here's a relatively simple code snippet: #include <memory> class Base { public: Base(); virtual ~Base(); virtual void f(int a, char const* name);
20
by: Aek | last post by:
We recently moved our large codebase over from VS7 to 8 and found that we now get access violations in atexit calls at shutdown when debugging the application in VS2005. This occurs in static...
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.