Class Templates

  • Thread starter Thread starter Mike Labosh
  • Start date Start date
M

Mike Labosh

This really bugs me, and I can't for the life of me seem to be able to find
where the IDE gets this stuff from...

I add a new class to my project and get this:

using System;

namespace Foo
{
/// <summary>
/// Summary description for Bar.
/// </summary>
public class Bar
{
public Bar()
{
//
// TODO: Add constructor logic here
//
}
}
}

I would like to modify the source of a new class so that when I add a new
one, I get this:

using System;

namespace Foo {

public class Bar {

public Bar() {
}
}
}

Where the heck did they hide the templates? or is this some dumb misfeature
where the IDE generates the default text on the fly?
--
Peace & happy computing,

Mike Labosh, MCSD
"Working here is like living inside a Salvador Dali painting." -- Me. Yeah,
ME! [Oh fer cryin out loud]
 
Mike Labosh said:
This really bugs me, and I can't for the life of me seem to be able to
find where the IDE gets this stuff from...

I add a new class to my project and get this:

using System;

namespace Foo
{
/// <summary>
/// Summary description for Bar.
/// </summary>
public class Bar
{
public Bar()
{
//
// TODO: Add constructor logic here
//
}
}
}

I would like to modify the source of a new class so that when I add a new
one, I get this:

using System;

namespace Foo {

public class Bar {

public Bar() {
}
}
}

Where the heck did they hide the templates? or is this some dumb
misfeature where the IDE generates the default text on the fly?
--
Peace & happy computing,

Mike Labosh, MCSD
"Working here is like living inside a Salvador Dali painting." -- Me.
Yeah, ME! [Oh fer cryin out loud]

For a default install:

C:\Program Files\Microsoft Visual Studio .NET
2003\VC#\VC#Wizards\CSharpAddClassWiz\Templates\1033\NewCSharpFile.cs

Watch for wrap :)

Mythran
 
For a default install:
C:\Program Files\Microsoft Visual Studio .NET
2003\VC#\VC#Wizards\CSharpAddClassWiz\Templates\1033\NewCSharpFile.cs

THANK YOU !!

--
Peace & happy computing,

Mike Labosh, MCSD
"Working here is like living inside a Salvador Dali painting." -- Me. Yeah,
ME! [Oh fer cryin out loud]
 
Mike Labosh said:
THANK YOU !!

Yes!

THANK YOU!

Never though that it would be that easy. I hate the default template. Now
mine looks great.

Again thanks
- Michael S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top