Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Extended "Move Implementation to Source File"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Vertexwahn
Senior Member

35 Posts

Posted - Nov 09 2010 :  06:59:53 AM  Show Profile  Reply with Quote
1.) I quite often use the "Move Implementation to Source File" feature. Would it be possible to select more than one method and then click "Move Implementation to Source File" which than moves instead of only one method multiply methods/ctors/dtors to the source file?

2.) For refactoring reasons it would be desirable that there is a reverse "Move Implementation to Source File" feature - so to say a "Move Implementation to Header File" feature

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 09 2010 :  4:01:36 PM  Show Profile  Reply with Quote
We are cosdidering to allow refactoring to work on several items at some point:

case=7787

It would work via VA Outline:
http://www.wholetomato.com/products/features/vaoutline.asp

Move Implementation to Source File is also something that we will consider doing:

case=10239
Go to Top of Page

Vertexwahn
Senior Member

35 Posts

Posted - Oct 26 2012 :  11:28:41 AM  Show Profile  Reply with Quote
I have this class:


class ObjLoader
{


private:
	
	void triangular_face_geometric_vertices_vertex_normals_callback(const obj::index_2_tuple_type& v1_vn1, const obj::index_2_tuple_type& v2_vn2, const obj::index_2_tuple_type& v3_vn3)
	{
			
	}
	
	void quadrilateral_face_geometric_vertices_callback(obj::index_type v1, obj::index_type v2, obj::index_type v3, obj::index_type v4)
	{

	}
	void quadrilateral_face_geometric_vertices_texture_vertices_callback(const obj::index_2_tuple_type& v1_vt1, const obj::index_2_tuple_type& v2_vt2, const obj::index_2_tuple_type& v3_vt3, const obj::index_2_tuple_type& v4_vt4)
	{

	}
	void quadrilateral_face_geometric_vertices_vertex_normals_callback(const obj::index_2_tuple_type& v1_vn1, const obj::index_2_tuple_type& v2_vn2, const obj::index_2_tuple_type& v3_vn3, const obj::index_2_tuple_type& v4_vn4)
	{

	}
	void quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback(const obj::index_3_tuple_type& v1_vt1_vn1, const obj::index_3_tuple_type& v2_vt2_vn2, const obj::index_3_tuple_type& v3_vt3_vn3, const obj::index_3_tuple_type& v4_vt4_vn4)
	{

	}

	void polygonal_face_geometric_vertices_begin_callback(obj::index_type v1, obj::index_type v2, obj::index_type v3)
	{

	}

	void polygonal_face_geometric_vertices_vertex_callback(obj::index_type v)
	{

	}

	void polygonal_face_geometric_vertices_end_callback()
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_begin_callback(const obj::index_2_tuple_type& v1_vt1, const obj::index_2_tuple_type& v2_vt2, const obj::index_2_tuple_type& v3_vt3)
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_vertex_callback(const obj::index_2_tuple_type& v_vt)
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_end_callback()
	{

	}
	void polygonal_face_geometric_vertices_vertex_normals_begin_callback(const obj::index_2_tuple_type& v1_vn1, const obj::index_2_tuple_type& v2_vn2, const obj::index_2_tuple_type& v3_vn3)
	{

	}
	void polygonal_face_geometric_vertices_vertex_normals_vertex_callback(const obj::index_2_tuple_type& v_vn)
	{

	}
	void polygonal_face_geometric_vertices_vertex_normals_end_callback()
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback(const obj::index_3_tuple_type& v1_vt1_vn1, const obj::index_3_tuple_type& v2_vt2_vn2, const obj::index_3_tuple_type& v3_vt3_vn3)
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback(const obj::index_3_tuple_type& v_vt_vn)
	{

	}
	void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback()
	{

	}
	void group_name_callback(const std::string& group_name)
	{

	}
	void smoothing_group_callback(obj::size_type group_number)
	{

	}
	void object_name_callback(const std::string& object_name)
	{

	}
	void material_library_callback(const std::string& filename)
	{

	}
	void material_name_callback(const std::string& material_name)
	{

	}
	void comment_callback(const std::string& comment)
	{

	}
};


It does not make fun to click on each method an then click "Move Implementaion to Source File"
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Oct 26 2012 :  11:56:07 AM  Show Profile  Reply with Quote
wait a few days...
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 29 2012 :  10:45:02 AM  Show Profile  Reply with Quote
Move Implementation to Source for an entire class is case=68102 and is implemented in build 1918
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2016 :  10:52:43 PM  Show Profile  Reply with Quote
case=10239 is implemented in build 2107.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000