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
Hot Topic (More than 8 Replies) Intellisense 'No additional information available' (Read 10785 times)
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Intellisense 'No additional information available'
Jul 1st, 2018 at 10:05am
Print Post  
I recently did a fresh install of Windows 10, VS2017 and Visual Micro and no matter what I try, intellisense refuses to work. I have practically the same setup on my laptop, except there the programs were upgraded from earlier versions, that is working fine. Same project files used. I've tried every trick I could dig up with no avail. What could this possibly be?
I've attached an example build message. I'm building for Teensy 3.2 and 3.6.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #1 - Jul 1st, 2018 at 12:34pm
Print Post  
VS activity log gives this error when I try using ctrl+j:

Code (HTML)
Select All
  <entry>
    <record>964</record>
    <time>2018/07/01 12:30:51.397</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)&#x000D;&#x000A;   at Microsoft.VisualStudio.CppSvc.Internal.IVCTextEdit.GoToDefinition(String wszFilePath, Int32 iPosStart, Int32 iPosEnd, VCSymbolCommand cmd)&#x000D;&#x000A;   at Microsoft.VisualC.CppNavigableSymbol.Navigate(INavigableRelationship relationship)&#x000D;&#x000A;   at PreprocessMouseUp(MouseButtonEventArgs e)&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at ExceptionInfo(Exception exceptionObject)</description>
  </entry> 

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #2 - Jul 1st, 2018 at 1:08pm
Print Post  
Hi,

Thanks for the info.

Visual Micro doesn't have any control over intellisense. It just feeds the C++ intellisense with "include paths".

Your build looks to be working fine so we know that all visual micro paths are correct.

I think I would run the VS repair via control panels>add or remove programs>vs 2017>change.

The intellisense is provided by the Visual Studio C++ module.

  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #3 - Jul 1st, 2018 at 1:14pm
Print Post  
It's odd because it's only missing from arduino projects. Working fine in regular C++ and Python projects.
  
Back to top
 
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #4 - Jul 1st, 2018 at 1:27pm
Print Post  
Turns out I was running vs2017 version 15.6.6 on my laptop but 15.7.4 on my freshly installed PC. I'm gonna update in my laptop to see if it breaks.

Edit:
Updating to 15.7.4 does not break intellisense. Problem remains a mistery.
« Last Edit: Jul 1st, 2018 at 1:52pm by Einar »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #5 - Jul 1st, 2018 at 2:24pm
Print Post  
I found the problem with the latest vs updates and will report to Microsoft.

I suspect that if you switch the tool bar from Debug to Release your project intellisense will work

The problem is that if a PlatformToolset is not specified for the current configuration Visual Studio fails to read the project properties.

You can fix this yourself by editing your vcxproj file with a text editor. 

Notice in the .vcxproj snippet below the <PlatformToolset> is specified for Release but not for the Debug configuration. Add <PlatformToolset>v141</PlatformToolset> to any configs that do not specify one.

Save the vcxproj and reopen the project in Visual Studio and the issue should be resolved.

Code (C++)
Select All
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup> 

« Last Edit: Jul 1st, 2018 at 3:16pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #6 - Jul 1st, 2018 at 3:13pm
Print Post  
Ok, I've been hacking at this for some time. Once I move the project from the c:/Users/(username)/Documents/Arduino folder to elsewhere, intellisense kicks in, but then the project can't find the libraries in the user folder. I'm gonna try to install earlier version of VS.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #7 - Jul 1st, 2018 at 3:16pm
Print Post  
Hi

I have explained the fix and reported the bug to microsoft.

Did my previous message not make sense? It's an easy fix to edit the vcxproj file.
« Last Edit: Jul 1st, 2018 at 3:17pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #8 - Jul 1st, 2018 at 3:54pm
Print Post  
Sorry for not specifying. I tried the fix and it did not resolve it for me.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #9 - Jul 1st, 2018 at 4:23pm
Print Post  
I suspect my explanation confused.

There is a new release of visual micro in the gallery and better explanation to fix in the release notes

After fixing see if you can right click the name of the project and then click "Properties". If the property pages dialog opens then you have fixed this issue. If intellisense still fails then please email your .vcxproj file to info[at]visualmicro.com along with link to this post

Thanks


  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #10 - Jul 2nd, 2018 at 1:50pm
Print Post  
I followed it to the letter. Unfortunately the problem persist. It's bound to this specific windows installation. Same exact project files act differently between the computers.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #11 - Jul 2nd, 2018 at 3:08pm
Print Post  
Pls send the vcxproj file as requested.

Thanks
  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #12 - Jul 4th, 2018 at 9:12pm
Print Post  
I've sent the vcxproj file. I can also confirm that intellisense works except for files in the users folder in version 15.5.7 but breaks completely in 15.6.7.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #13 - Jul 4th, 2018 at 9:32pm
Print Post  
Thanks. The Test.vcxproj only contains Test.ino.

Does intellisense work in Test.ino?
  
Back to top
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #14 - Jul 4th, 2018 at 11:41pm
Print Post  
No not at all.

However, I caught an error message I missed before because I always had visual micro output in the front. Probably directly related.

I get:
Code
Select All
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E1696	cannot open source file "C:\USERS\EINAR\DOCUMENTS\ARDUINO\TEST\TEST.INO"	Test		0
 

  
Back to top
 
IP Logged
 
Einar
Junior Member
**
Offline


Posts: 10
Joined: Jul 1st, 2018
Re: Intellisense 'No additional information available'
Reply #15 - Jul 5th, 2018 at 12:06am
Print Post  
Hot damn, I found the solution. Microsoft even managed to screw up Linux integration. I was using WSL to handle git and apparently it screws up case sensitivity for the entire folder structure. So the way the fix it was to delete the entire Arduino folder and recreate it, install user libraries again, go back to git bash and voilà, everything is normal. Good news is that it had nothing to do with Visual Micro. I just wish there was a Teensy support in vscode so I could go back to Linux.

The issue report is here https://github.com/Microsoft/WSL/issues/2937
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense 'No additional information available'
Reply #16 - Jul 5th, 2018 at 10:26pm
Print Post  
Me too Smiley Thanks for the update.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint