|
|
|
date: Sat, 20 Sep 2008 12:29:20 -0500,
group: microsoft.public.vstudio.general
back
Visual Studio 2008 Project Management
Is there any simple and reasonable way of having proper directory
management inside a project in Visual Studio 2008 for a C++ project?
Here's what I mean. I'm used to using Eclipse under linux and when I
create a project, I tend to create certain directory structures to put my
source files in.
Example:
project/core
project/data
project/ui
project/ui/widgets
project/ui/dialogs
project/ui/models
That's part of the directory tree on one of my projects. Anything that
uses the data access layer goes into /data, all widgets go into /ui/
widgets, dialogs into /ui/dialogs, etc. That way, when I need to work on
a file I can easily and quickly find it without having to wade through
one huge list.
Then if I want to add a class to a certain location, I just right click
the location, pick add class. Done.
Well, Visual studio apparently doesn't seem to agree with me on this
philosophy. When I go to create a subdirectory in the project tree, all I
can create is a "Filter" which isn't an actual directory. And when I go
to create a class, it wants to put them all into the root directory. I
have to manually override the location by typing it in for BOTH the
header and cpp file.
This is utterly ridiculous. How does Microsoft expect someone to use
their tools when I can't even easily properly structure my project? Do
they seriously expect me to have a few hounded source files all in the
root directory of my project?
Please someone tell me there is something I'm just simply missing and not
seeing...
Thanks,
--
Stephan
1986 Pontiac Fiero GT
åã®äºæãåºãæ¥ãªãã¦ãªãã®ã¯
åã®äºå¿ããã¨ãããªããã
date: Sat, 20 Sep 2008 12:29:20 -0500
author: Stephan Rose
Re: Visual Studio 2008 Project Management
Stephan Rose a écrit :
> Is there any simple and reasonable way of having proper directory
> management inside a project in Visual Studio 2008 for a C++ project?
hmmm, NO.
> Well, Visual studio apparently doesn't seem to agree with me on this
> philosophy. When I go to create a subdirectory in the project tree, all I
> can create is a "Filter" which isn't an actual directory.
filters are a stupid response for a long time & still missing feature.
previous studio env. also lets you create these no-sense-aliases but
each name can be used only once, after 10 years (95-05) you can use
the same name more than once, drag & drop of files or folders from
the explorer is also supported (thanks to 10 years of hard works)
but of course all dragged files are all inserted in the filter-drop
target without any respect of the source tree, any w/o creating the
necessary new filters ... so point 1.
> And when I go to create a class, it wants to put them all into the
> root directory. I have to manually override the location by typing
> it in for BOTH the header and cpp file.
this wizard was fully redesigned to be as stupid as the older.
you can indeed type-in the full path twice or browse it twice,
you can also type-in a inexistent path and of course get an
insult-alert (not have the path built for you) ... so point 1.
> This is utterly ridiculous. How does Microsoft expect someone to use
> their tools when I can't even easily properly structure my project?
they simply say: it's the way you MUST work, and apparently they
success; I never figure out if they are that convincing or if most
of developers are that ... not imaginative (I can't say stupid).
for 10 years I'm screaming in my side ... and loop to point 1.
> Please someone tell me there is something I'm just simply missing
> and not seeing...
don't miss to forward, in case.
Sylvain.
date: Sun, 21 Sep 2008 01:22:31 +0200
author: Sylvain SF
Re: Visual Studio 2008 Project Management
On Sun, 21 Sep 2008 01:22:31 +0200, Sylvain SF wrote:
> Stephan Rose a écrit :
>> Is there any simple and reasonable way of having proper directory
>> management inside a project in Visual Studio 2008 for a C++ project?
>
> hmmm, NO.
>
>> Well, Visual studio apparently doesn't seem to agree with me on this
>> philosophy. When I go to create a subdirectory in the project tree, all
>> I can create is a "Filter" which isn't an actual directory.
>
> filters are a stupid response for a long time & still missing feature.
> previous studio env. also lets you create these no-sense-aliases but
> each name can be used only once, after 10 years (95-05) you can use the
> same name more than once, drag & drop of files or folders from the
> explorer is also supported (thanks to 10 years of hard works) but of
> course all dragged files are all inserted in the filter-drop target
> without any respect of the source tree, any w/o creating the necessary
> new filters ... so point 1.
>
>> And when I go to create a class, it wants to put them all into the root
>> directory. I have to manually override the location by typing
>> it in for BOTH the header and cpp file.
>
> this wizard was fully redesigned to be as stupid as the older. you can
> indeed type-in the full path twice or browse it twice, you can also
> type-in a inexistent path and of course get an insult-alert (not have
> the path built for you) ... so point 1.
>
>> This is utterly ridiculous. How does Microsoft expect someone to use
>> their tools when I can't even easily properly structure my project?
>
> they simply say: it's the way you MUST work, and apparently they
> success; I never figure out if they are that convincing or if most of
> developers are that ... not imaginative (I can't say stupid). for 10
> years I'm screaming in my side ... and loop to point 1.
>
>> Please someone tell me there is something I'm just simply missing and
>> not seeing...
>
> don't miss to forward, in case.
>
Well there seems to be one minor thing one can do. When you look at the
project tree, at the top there is a small icon that enables a "Show all
files" option.
Click that and the "Create Filter" at least changes to "Create Folder"
and you actually get to directly see the directory structure in the
project.
However, when adding a new class it's still stupid and puts the class in
the project's root directory. However, you can then at least afterward
drag it to the correct location and it'll be physically moved there.
Annoying, but I can live with it.
However, there are still dozens of other features missing in VS that
Eclipse has that I've been so taking for granted I'm going nuts them not
being there.
I think it's time for me to write an e-mail to the CDT developers and beg
them that they get a working version of CDT with full support for the MS
Compilers / Debuggers so that I can switch to Eclipse for windows
development. While I have no problems with GCC, MingW's gcc version is
always so outdated it's ridiculous and I don't know how much faith I
place in MingW's windows libraries. At least for a commercial project I
don't even wanna go there.
--
Stephan
1986 Pontiac Fiero GT
1992 Suzuki Kan-o-tuna ('till I can get my R1)
åã®äºæãåºãæ¥ãªãã¦ãªãã®ã¯
åã®äºå¿ããã¨ãããªããã
date: Sat, 20 Sep 2008 23:41:37 -0500
author: Stephan Rose
Re: Visual Studio 2008 Project Management
Stephan Rose wrote:
> Well there seems to be one minor thing one can do. When you look at the
> project tree, at the top there is a small icon that enables a "Show all
> files" option.
>
> Click that and the "Create Filter" at least changes to "Create Folder"
> and you actually get to directly see the directory structure in the
> project.
>
> However, when adding a new class it's still stupid and puts the class in
> the project's root directory. However, you can then at least afterward
> drag it to the correct location and it'll be physically moved there.
> Annoying, but I can live with it.
>
> However, there are still dozens of other features missing in VS that
> Eclipse has that I've been so taking for granted I'm going nuts them not
> being there.
>
> I think it's time for me to write an e-mail to the CDT developers and beg
> them that they get a working version of CDT with full support for the MS
> Compilers / Debuggers so that I can switch to Eclipse for windows
> development. While I have no problems with GCC, MingW's gcc version is
> always so outdated it's ridiculous and I don't know how much faith I
> place in MingW's windows libraries. At least for a commercial project I
> don't even wanna go there.
Stephan:
You know, I didn't know about this "Show all files" option. I don't think this
was available in VC6 (which is where I first learned Visual Studio). I too have
been frustrated by this feature of always adding new items to the project
folder, and this "Folder view" does make things somewhat better. But I would
have to say that when you right-click a sub-folder and Add some item, the fact
that it gets added to the project folder by default is a bug rather than a feature.
On the other hand, when I looked briefly at Eclipse I found the "file-centric"
view of the IDE even more irritating. What I wanted to do was just test compile
my exiting code under GCC on Linux, and the fact that it seemed that I had to
make a copy in order to import it was very alien to me. [It would have been less
irritating if I had the code under Subversion source control, but I didn't.]
--
David Wilkinson
Visual C++ MVP
date: Sun, 21 Sep 2008 09:38:21 -0400
author: David Wilkinson
Re: Visual Studio 2008 Project Management
On Sun, 21 Sep 2008 09:38:21 -0400, David Wilkinson wrote:
> Stephan Rose wrote:
>> Well there seems to be one minor thing one can do. When you look at the
>> project tree, at the top there is a small icon that enables a "Show all
>> files" option.
>>
>> Click that and the "Create Filter" at least changes to "Create Folder"
>> and you actually get to directly see the directory structure in the
>> project.
>>
>> However, when adding a new class it's still stupid and puts the class
>> in the project's root directory. However, you can then at least
>> afterward drag it to the correct location and it'll be physically moved
>> there. Annoying, but I can live with it.
>>
>> However, there are still dozens of other features missing in VS that
>> Eclipse has that I've been so taking for granted I'm going nuts them
>> not being there.
>>
>> I think it's time for me to write an e-mail to the CDT developers and
>> beg them that they get a working version of CDT with full support for
>> the MS Compilers / Debuggers so that I can switch to Eclipse for
>> windows development. While I have no problems with GCC, MingW's gcc
>> version is always so outdated it's ridiculous and I don't know how much
>> faith I place in MingW's windows libraries. At least for a commercial
>> project I don't even wanna go there.
>
> Stephan:
>
> You know, I didn't know about this "Show all files" option. I don't
> think this was available in VC6 (which is where I first learned Visual
> Studio). I too have been frustrated by this feature of always adding new
> items to the project folder, and this "Folder view" does make things
> somewhat better. But I would have to say that when you right-click a
> sub-folder and Add some item, the fact that it gets added to the project
> folder by default is a bug rather than a feature.
Thinking back, I think it started to become available in 2003. The bug
has been present since then. In my opinion, inexcusable.
>
> On the other hand, when I looked briefly at Eclipse I found the
> "file-centric" view of the IDE even more irritating. What I wanted to do
> was just test compile my exiting code under GCC on Linux, and the fact
> that it seemed that I had to make a copy in order to import it was very
> alien to me. [It would have been less irritating if I had the code under
> Subversion source control, but I didn't.]
I suppose I'm used to it and think nothing of it.
I'm currently testing various add-ins for visual studio to see if I can
make it behave in a better way. Visual Assist seems to help out with a
lot of the shortcomings but it's syntax highlighting is still sub-par
compared to that of Eclipse. At least though it does introduce working
intellisense, though a bit too intrusive in my opinion. Eclipse shuts up
until I ask it for intellisense whereas this plugin automatically pops
things up all the time. A little annoying but I suppose I can get used to
it.
Of course, the $250 price tag for the add-in just to get most of the
functionality that Eclipse offers for free is really a pain.
--
Stephan
1986 Pontiac Fiero GT
1992 Suzuki Kan-o-tuna ('till I can get my R1)
åã®äºæãåºãæ¥ãªãã¦ãªãã®ã¯
åã®äºå¿ããã¨ãããªããã
date: Sun, 21 Sep 2008 17:06:23 -0500
author: Stephan Rose
Re: Visual Studio 2008 Project Management
Stephan Rose wrote:
> On Sun, 21 Sep 2008 09:38:21 -0400, David Wilkinson wrote:
>
>> Stephan Rose wrote:
>>> Well there seems to be one minor thing one can do. When you look at the
>>> project tree, at the top there is a small icon that enables a "Show all
>>> files" option.
>>>
>>> Click that and the "Create Filter" at least changes to "Create Folder"
>>> and you actually get to directly see the directory structure in the
>>> project.
>>>
>>> However, when adding a new class it's still stupid and puts the class
>>> in the project's root directory. However, you can then at least
>>> afterward drag it to the correct location and it'll be physically moved
>>> there. Annoying, but I can live with it.
>>>
>>> However, there are still dozens of other features missing in VS that
>>> Eclipse has that I've been so taking for granted I'm going nuts them
>>> not being there.
>>>
>>> I think it's time for me to write an e-mail to the CDT developers and
>>> beg them that they get a working version of CDT with full support for
>>> the MS Compilers / Debuggers so that I can switch to Eclipse for
>>> windows development. While I have no problems with GCC, MingW's gcc
>>> version is always so outdated it's ridiculous and I don't know how much
>>> faith I place in MingW's windows libraries. At least for a commercial
>>> project I don't even wanna go there.
>> Stephan:
>>
>> You know, I didn't know about this "Show all files" option. I don't
>> think this was available in VC6 (which is where I first learned Visual
>> Studio). I too have been frustrated by this feature of always adding new
>> items to the project folder, and this "Folder view" does make things
>> somewhat better. But I would have to say that when you right-click a
>> sub-folder and Add some item, the fact that it gets added to the project
>> folder by default is a bug rather than a feature.
>
> Thinking back, I think it started to become available in 2003. The bug
> has been present since then. In my opinion, inexcusable.
>
>> On the other hand, when I looked briefly at Eclipse I found the
>> "file-centric" view of the IDE even more irritating. What I wanted to do
>> was just test compile my exiting code under GCC on Linux, and the fact
>> that it seemed that I had to make a copy in order to import it was very
>> alien to me. [It would have been less irritating if I had the code under
>> Subversion source control, but I didn't.]
>
> I suppose I'm used to it and think nothing of it.
>
> I'm currently testing various add-ins for visual studio to see if I can
> make it behave in a better way. Visual Assist seems to help out with a
> lot of the shortcomings but it's syntax highlighting is still sub-par
> compared to that of Eclipse. At least though it does introduce working
> intellisense, though a bit too intrusive in my opinion. Eclipse shuts up
> until I ask it for intellisense whereas this plugin automatically pops
> things up all the time. A little annoying but I suppose I can get used to
> it.
>
> Of course, the $250 price tag for the add-in just to get most of the
> functionality that Eclipse offers for free is really a pain.
>
When you create a new (whatever) right click the folder into which you
want the item created. It will then create the new object in that folder.
LS
date: Mon, 22 Sep 2008 10:08:04 -0400
author: Lloyd Sheen a@b.c
|
|