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
 Split function / params to fit certain col width
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GreenMoose
Senior Member

Sweden
36 Posts

Posted - May 13 2007 :  07:33:21 AM  Show Profile  Reply with Quote
I have "Display indicator o column 80" on.

Suggestion 1) Can't this show on all files like sql etc.?

2) Be able to automatically split up a function and it parameters
to fit within this col limit.

E.g.

void Foo(const int &riParam1, bool bParam2, std::wstring* pParam3) const;

would e.g. be (if the above declaration doesn't fit within the specified limits): (I replaced spaces with _ b/o preview)

void Foo(const_int&__________rParam1,
_______________bool__________Param2,
_______________std::wstring*_pParam3) const;


or if that didn't fit either:


void Foo(
__const_int&__________rParam1,
________bool__________Param2,
________std::wstring*_pParam3) const;



etc.

Nice and neat ey? :)

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 14 2007 :  10:43:01 AM  Show Profile  Reply with Quote
*um*

Point 1, currently we don't try and do anything with SQL code. Adding this to SQL code would be the thin end of the wedge, and would invite people to ask for full blown support for SQL, one feature at a time.

Currently we are not planning on adding support for any more languages.

Point 2, we are discussing some form of code formatting internally, since it is a very common request on the forum. The basic problem with any form of code formatting is all of the options required to control the formatting. Just looking at your example what happens with const references to a const? What about const function pointers? I see the idea, I rather like the idea, I also see how it could be a LOT of work to get right. So don't hold your breath waiting for us to do something about code formatting

zen is the art of being at one with the two'ness
Go to Top of Page

GreenMoose
Senior Member

Sweden
36 Posts

Posted - May 14 2007 :  10:45:23 AM  Show Profile  Reply with Quote
Ok points taken, thanks. (VStudio macros here I come.. sortof.. :))
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 14 2007 :  6:15:10 PM  Show Profile  Reply with Quote
If you want to explore IDE macro's you may get some pointers from here:

http://docs.wholetomato.com?W382

zen is the art of being at one with the two'ness
Go to Top of Page

MHaggag
Junior Member

Egypt
14 Posts

Posted - Jun 07 2007 :  6:24:33 PM  Show Profile  Reply with Quote
Check this thread for a possible solution
Go to Top of Page

GreenMoose
Senior Member

Sweden
36 Posts

Posted - Jun 10 2007 :  06:04:48 AM  Show Profile  Reply with Quote

MHaggag> Haven't had time looked into your formatting thingy yet, but I will :] Thanks!

quote:
Originally posted by GreenMoose
I have "Display indicator o column 80" on.
Suggestion 1) Can't this show on all files like sql etc.?


quote:
Originally posted by feline
Point 1, currently we don't try and do anything with SQL code. Adding this to SQL code would be the thin end of the wedge, and would invite people to ask for full blown support for SQL, one feature at a time.



Well.. VA does seem to support "highlight current line" in SQL-code :o]. Now if I only could get that column indicator.... ;]
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 11 2007 :  06:11:27 AM  Show Profile  Reply with Quote
I was not aware that worked in SQL, but it makes sense. Highlight current line is done via Visual Studio's SDK, so it uses a different approach to syntax highlighting and the column indicator, making it somewhat more portable.

zen is the art of being at one with the two'ness
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