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
 Bug: VS2019 pick suggestion adds newline in code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

thisisthedave
New Member

USA
2 Posts

Posted - Jul 12 2019 :  5:00:37 PM  Show Profile  Reply with Quote
When I pick an item from the intellisense-style suggestions that pop up, the up/down arrow keystrokes and the tab/enter keystroke to accept a suggestion are passed through to the text editor. Here's an example:

1. I type a few letters of a method, say "pri" for "PrintSomething"
2. Visual Assist pops up a list of suggested method completions, like "PrintCoolMessage, PrintFriendlyGreeting, PrintSomething".
3. I press the down-arrow key twice to navigate to my desired item, "PrintSomething", in the list of suggestions. As I'm pressing the arrow keys, I see that -- in addition to the list item selection changing -- the cursor in my source code editor is moving. In other words, the "|" cursor is no longer positioned after "pri|". It has moved down a couple lines.
4. I press "Enter" to accept the "PrintSomething" suggestion. Visual Assist inserts the accepted suggestion at the correct place, but the "Enter" keystroke is also passed through to the source code editor at whatever location the arrow keystrokes have left the editing cursor. So I now have "PrintSomething()" in my source code, but I also have a random newline inserted a couple lines down that I need to go fix.
5. I open Visual Assist Options by clicking the menu "Extensions | Visual Assist | Visual Assist Options", Select "Suggestions" in the left tab and uncheck "Enable in C++"
6. Default Visual Studio intellisense/suggestion is restored, and the extra keystrokes that were ruining my source code are no longer passed through.

I'm using:
* Visual Studio 2019 Community v16.1.6
* Visual Assist 10.9.2333.0

sean
Whole Tomato Software

USA
2758 Posts

Posted - Jul 12 2019 :  5:12:37 PM  Show Profile  Reply with Quote
Are do you have the VS IncrediBuild extension installed? If so, revert to the previous version. They are aware of the problem and are working on a fix.

Go to Tools -> Extensions.
Find Incredibuild Build Acceleration.
Click revert.
Restart Visual Studio.

(from https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=16657)
Go to Top of Page

thisisthedave
New Member

USA
2 Posts

Posted - Jul 12 2019 :  5:21:56 PM  Show Profile  Reply with Quote
Thanks, sean! That was exactly the issue. For others using VS 2019, the "Revert" menu item is in a different place:
Extensions | Manage Extensions... Then find IncrediBuild Build Acceleration in the list of extensions and click Revert.

I appreciate the super-fast response!
Go to Top of Page

sean
Whole Tomato Software

USA
2758 Posts

Posted - Jul 12 2019 :  5:32:05 PM  Show Profile  Reply with Quote
Good timing!
Go to Top of Page

WolfgangVogl
New Member

Germany
9 Posts

Posted - Jul 15 2019 :  06:46:55 AM  Show Profile  Reply with Quote
Thank you for the solution to this problem - I dont't know what changed (maybe an update) but the issue is gone without any intervention on my side! Like :-)

Yes, we code!
Go to Top of Page

JDE
New Member

Germany
2 Posts

Posted - Nov 19 2019 :  04:50:39 AM  Show Profile  Reply with Quote
FYI: I got the same issue. Just disabled IncrediBuild, that helped. I cannot find a "Revert" menu item. There's been a couple of Updates since July anyways. If the bug was fixed on their side back then, it was reimplemented by now...

VS19 Enterprise, 16.3.9
Incredibuild 1.5.0.10
VA 10.9.2353.0

Edited by - JDE on Nov 19 2019 04:53:21 AM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3250 Posts

Posted - Nov 19 2019 :  7:52:11 PM  Show Profile  Reply with Quote
I don't really understand this, not familiar with Incredibuild, but there is something like Incredibuild version and it has extensions which has different versions?
I think 1.5.0.10 is the version of something different, since Incredibuild itself is on 9.4.4:
https://www.incredibuild.com/incredibuild-version-history.html

So you need to update both Incredibuild and maybe that will update whatever inside (?) incredibuild has the version of 1.5.0.10?
Sorry I'm not of more help but what I know if both is updated, the problem should be gone.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3250 Posts

Posted - Nov 19 2019 :  8:03:28 PM  Show Profile  Reply with Quote
I think incredibuild has a different version than incredibuild extension for Visual Studio. Does upgrading Incredibuild itself to 9.4.4 helps?
Can you update the extension itself in extension manager?

IDE Extensions menu -> Manage Extensions...

Edited by - accord on Nov 19 2019 8:03:56 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3250 Posts

Posted - Nov 19 2019 :  8:06:36 PM  Show Profile  Reply with Quote
More info from a different thread:
quote:
Apparently the issue is only present when I have the "IncrediBuild Build Acceleration" (version 1.5.0.10) extension enabled. (I don't think that's the same version as the one available for download on the VS Marketplace I have mine installed through IncrediBuild's own installer.)


https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=16658&SearchTerms=1.5.0.10

So the extension is installed by Incredibuild's main installer.

Edited by - accord on Nov 19 2019 8:12:02 PM
Go to Top of Page

JDE
New Member

Germany
2 Posts

Posted - Nov 20 2019 :  04:24:52 AM  Show Profile  Reply with Quote
Ah, sorry. Yes you are right. I meant the "IncrediBuild Build Acceleration"-Extension in my last post.

Sorry for the confusion!

Disabling it does the trick for me. (It was installed automatically on my workplace. We are not using it)
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3250 Posts

Posted - Nov 20 2019 :  09:35:16 AM  Show Profile  Reply with Quote
I'm glad it's solved now and will not bother you anymore.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000