Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 clone output window content after build

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
slymz Posted - Apr 26 2021 : 8:43:18 PM
VA Find References Results has this most useful "Clone Results" option: One can make an expensive search with many results, e.g. callsites of a function across the solution and clone it. Then, work on each callsite one at a time, while possibly using smaller scoped Find References locally many times over in the same default pane, without loosing the original search.

Exactly the same workflow is occasionally needed for building a solution: Run a full build, investigate errors one at a time in each file. While investigating and fixing each error, we may want to compile individual files. But that resets the Output Window!


Visual Assist seems to have the technology to fix this problem as an extension: Cloneable Output Window, and build results.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 30 2021 : 12:39:15 PM
I had never realised that the error list moves you to the matching position in the output window! That is rather useful to know, thank you for that bit of information

This would make the feature somewhat more complex, since instead of just cloning the information into a single tool window, we would need linked windows. Still, I have added this to the feature request, to see what our developers make of this idea.
slymz Posted - Apr 30 2021 : 11:03:03 AM
Clonable Error List is also super useful. They go hand in hand actually: selecting an item in the Error List also highlights the corresponding line in Output Window, which contains more context (must for most C++ errors). The feature should rather be cloneable Output/Error List session actually.

Thanks for that workaround. I didn't realize you could paste line locations into VA Open File. Very cool tip! Thanks.

feline Posted - Apr 27 2021 : 06:47:55 AM
This actually makes a lot of sense as an idea. Why pick the output window, rather than the error list window? Is there a reason to prefer one over the other?

Personally I work off the error list window, since it has already picked out the key points from the output window, but this just changes the window we are interested in cloning. I have put in a feature request, to see what our developers make of this idea:

case=144654

As a partial work around, if you copy the error lines from the output window, you get lines like:

2>c:\src\test_general.cpp(21): error C2065: 'sdfhsdfhdsf': undeclared identifier

if you extract the file name and line, so:

test_general.cpp(21)

here, you can paste this directly into VA's Open File dialog, which will then open the file and go directly to this line in one step. This makes it a lot easier to jump to the errors that were listed.

You can do the same thing with the entries in the error list window, but here you have to wrap the line number in brackets, since otherwise VA doesn't know that it is a line number, as opposed to another search filter for a filename containing a number.

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