Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Move class to its own file

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
lance Posted - Feb 20 2009 : 11:42:58 AM
Would be handy to be able to pick class, move to own file.

Would create the file in the current project - with default of the <name of the class>.h or .cs

Perhaps set up custom prefix.

I'm fairly sure I've had this before, and have definitely seen microsofties do it in tutorials with a couple of button presses.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 27 2009 : 12:54:00 PM
Most users who post file paths split header files from cpp files, placing them into different directories.

I do not know how common this is, this is not a "good" survey, but it is fairly common.

I am not against the idea, I just want to have a good idea of how it should work in standard cases, so it works well most of the time.
lance Posted - Feb 23 2009 : 04:04:05 AM
I would as a starting point create them in the same place as the current file.
With C++ and msdev we now just rely on the project level 'filters' that look like files to separate headers from source.

Consider adding a couple of configuration options that will expand environment and VS variables.
feline Posted - Feb 20 2009 : 12:36:44 PM
This has come up before.

The main problem is where do you put the new files? Where in the file system do you put them? Which project and folder in the IDE do you put the files into?

It is common in C++ to put the cpp and header files in different directories, which complicates matters further.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000