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
 Technical Support
 Stale curly braces
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Feb 09 2005 :  04:01:54 AM  Show Profile
VC6 (de), VAX 1293:
I have the "Text Editor/Correction/Insert () and closing })]" option enabled, and quite like it except in one scenario:

I write an implementaiton on one line, e.g.
HRESULT Foo() { return NoImpl(); }

After typing
HRESULT Foo() {
a closing curly brace appears on the next line.

If I type a closing brace immediately, it goes away. However, when I'm finished with the function, it remains there.

Shouldn't the closing brace remain on the same line, if the opening brace is not the first nonspace on the line?


btw. the config dialog has a wording error. it says "and and"

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 09 2005 :  05:19:07 AM  Show Profile
This is a very long-standing bug. It still annoys me though.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Feb 09 2005 :  2:42:34 PM  Show Profile
well then - lets bump it up until it gets heard :)

It *seems* to me that the auto-brace is "forgotten" as soon as you open another curly/round/paranthesis.

Also, do you think the suggestion (closing brace remain on the same line, if there are non-spaces before the opening brace) would be useful?
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Feb 10 2005 :  05:43:14 AM  Show Profile
I disagree with your last suggestion, because
if (foo) {
  stuff;
}
is a very common coding style.

As for bumping it up... frankly, there are a lot of VAX things which annoy me more than this, but it appears that the developers have now given up on fixing even quite serious annoyances. I have a terrible fear that they're spending all their time on VS 2005 before getting VAX 10.0 and 10.1 up to standard. I've given up submitting minor bugs because I know they'll be ignored.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Feb 10 2005 :  05:58:16 AM  Show Profile
I disagree, too!

I'd go even farther:
I never ever place the opening brace on the same line.
Example:
if (bFoo)
{
    DoSomething();
}
else
{
    DoSomethingElse();
}


So right now, I have to manually add a CRLF everytime VAX enters a opening brace.
Please, please do not force me to enter another one at the closing brace!

But maybe a "Coding-Style" select option would be nice (ooooh, I can just imagine Uniwares throwing stones at me for asking for antoher option)...

Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Feb 10 2005 :  07:40:22 AM  Show Profile
You are right, I completely forgot about that.

@WannabeeDeveloper: I am actually qute happy there are so few options. :)

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 14 2005 :  3:18:10 PM  Show Profile
Yes, the port to VS2005 is taking some of our developer resources. We do not hide that fact.

We also realize we have plenty of bugs in the current builds we need to fix. We are getting more help to address the issue.

Thank you for your patience.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000