Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS 2017 - Tab in intellisense list does not auto complete (Read 4987 times)
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
VS 2017 - Tab in intellisense list does not auto complete
Mar 17th, 2017 at 9:32pm
Print Post  
I'm having some difficulty with autocomplete in VS2017.  Entering 'int leftval = ana' brings up an autocomplete list, but selecting from this list and pressing TAB does not properly enter the selected completion onto the line.

Frank
« Last Edit: Mar 17th, 2017 at 9:50pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2017 - Tab in intellisense list does not auto complete
Reply #1 - Mar 17th, 2017 at 9:51pm
Print Post  
Hi,

We just feed visual studio with source code locations then it is entirely responsible for C++ intelliisense.

Its worth asking on the visual studio / ms connect site.

Thanks

  
Back to top
IP Logged
 
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Re: VS 2017 - Tab in intellisense list does not auto complete
Reply #2 - Mar 17th, 2017 at 11:12pm
Print Post  
Tim@Visual Micro wrote on Mar 17th, 2017 at 9:51pm:
Hi,

We just feed visual studio with source code locations then it is entirely responsible for C++ intelliisense.

Its worth asking on the visual studio / ms connect site.

Thanks



Yes, I posted there as well.  It does seem to work correctly for a brand-new Windows Forms (.NET) project, however

Frank
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2017 - Tab in intellisense list does not auto complete
Reply #3 - Mar 17th, 2017 at 11:29pm
Print Post  
A c++ win32 console project might be a closer match but at a guess I suspect that intellisense inside a class works better than not. I have previously noticed that their refactoring doesn't work so well in non-class based code.

If it annoys you could fool it by wrapping code in a dummy class using #if _MSC_VER

_MSC_VER is only defined when editing code in Visual Studio so the Arduino build will ignore any code inside "#if _MSC_VER"

It's a bit of a messy solution, but it's all I can think of.
  
Back to top
IP Logged
 
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Re: VS 2017 - Tab in intellisense list does not auto complete
Reply #4 - Mar 23rd, 2017 at 3:47pm
Print Post  
Tim@Visual Micro wrote on Mar 17th, 2017 at 11:29pm:
A c++ win32 console project might be a closer match but at a guess I suspect that intellisense inside a class works better than not. I have previously noticed that their refactoring doesn't work so well in non-class based code.

If it annoys you could fool it by wrapping code in a dummy class using #if _MSC_VER

_MSC_VER is only defined when editing code in Visual Studio so the Arduino build will ignore any code inside "#if _MSC_VER"

It's a bit of a messy solution, but it's all I can think of.


My solution was just to go back to VS2015CE, where the intellisense processing works fine.   Wink
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2017 - Tab in intellisense list does not auto complete
Reply #5 - Mar 23rd, 2017 at 4:04pm
Print Post  
Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint