|
-
Jul 5th, 2006, 08:45 AM
#1
Thread Starter
Fanatic Member
[2.0] Visual Studio 2005 namespaces
We have a project divided into several folders. whenever we add a new file to one of the subfolders, VS 2005 appends the classes' namespace with .[foldername]
It's pretty annoying. Any way to turn the auto-naming off?
-
Jul 5th, 2006, 12:57 PM
#2
Re: [2.0] Visual Studio 2005 namespaces
You want to turn it off just because it's annoying you ?
If you want all your code with the same namespace put all your files in the same folder
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 5th, 2006, 01:21 PM
#3
Thread Starter
Fanatic Member
Re: [2.0] Visual Studio 2005 namespaces
Uhm. Yes. It's annoying me, and I'd like to turn it off.
Right now we are creating them in the current directory and then shoveling them into sub-folders so that our solution stays manageable.
I suppose we could avoid some of this by putting more than one class in a file, but for now, that's how we are doing this.
Strangely, you are not the first person to react like that. I'm still kinda confused by people's reactions.
Why does everyone balk at questions like this? What is so unreasonable about expecting modern IDE's to be customizable?
Isn't that what they are for? to make our lives better and so that we can be more productive?
-
Jul 5th, 2006, 01:26 PM
#4
Re: [2.0] Visual Studio 2005 namespaces
C# extends Java and I believe you don't know much about Java
The concept of namespaces is taken from Java Packages,
In java if the class package (namespace) declaration isn't set correctly to the folder it belongs to just won't compile
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 5th, 2006, 01:57 PM
#5
Thread Starter
Fanatic Member
Re: [2.0] Visual Studio 2005 namespaces
Ah.
Well, I don't like it, but perhaps now I understand where this nuance came from.
My background is primarily VB6.0 and I'm learning to accept some of the ins and outs of C# and it's evolution from C-based languages. I didn't mean to sound like a raving jerkoff, but when one doesn't have experience in the predecessors of a language like this, one can become frustated. (Don't get me started on case-sensitivity )
Thanks for the reply.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|