Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Open file with line number

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
pwc Posted - Dec 02 2016 : 11:01:40 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 13 2016 : 11:11:30 AM
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.
accord Posted - Dec 03 2016 : 4:05:23 PM
Thank you for the feedback. I have put in a bug report for this:

case=101968

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