Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Split function / params to fit certain col width

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
GreenMoose Posted - May 13 2007 : 07:33:21 AM
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? :)

6   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 11 2007 : 06:11:27 AM
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.
GreenMoose Posted - Jun 10 2007 : 06:04:48 AM

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.... ;]
MHaggag Posted - Jun 07 2007 : 6:24:33 PM
Check this thread for a possible solution
feline Posted - May 14 2007 : 6:15:10 PM
If you want to explore IDE macro's you may get some pointers from here:

http://docs.wholetomato.com?W382
GreenMoose Posted - May 14 2007 : 10:45:23 AM
Ok points taken, thanks. (VStudio macros here I come.. sortof.. :))
feline Posted - May 14 2007 : 10:43:01 AM
*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

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