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
 Open file with line number
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwc
Tomato Guru

138 Posts

Posted - Dec 02 2016 :  11:01:40 AM  Show Profile  Reply with Quote
I see you guys recently added support for supplying a line number in the 'open file in solution' dialog - that's great. Can you tweak it a bit to tolerate whitespace between the file name and left parenthesis? E.g.:

\source\projects\projectitem_i.h (130)

doesn't work but

\source\projects\projectitem_i.h(130)

does work.

The output of one of our static analysis tools inserts the space in its output log.

Thanks,
Paul

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 03 2016 :  4:05:23 PM  Show Profile  Reply with Quote
Thank you for the feedback. I have put in a bug report for this:

case=101968
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Dec 13 2016 :  11:11:30 AM  Show Profile  Reply with Quote
As a temporary work around, are you able to run the output log through a regular expression search and replace before opening it, and looking up the results? The regular expression find:

(\.h|\.cpp)[ \t]+(\([0-9]+\))

with the regular expression replace:

\1\2

should remove all of these problem white space characters, leaving you with the format that VA currently expects and processes.

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