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) Auto complete (Read 2849 times)
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Auto complete
Apr 15th, 2024 at 1:22pm
Print Post  
I still have problems with the autocomplete function.
It works very good on new projects, but using my older projects, 
I need to refresh the autocomplete over and over again.
The attached file is my log file (refresh data).
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #1 - Apr 15th, 2024 at 2:15pm
Print Post  
Thanks for the report.

Do your older problematic projects show (Arduino) after the project name in the solution explorer?

If not they can be converted as shown on the page below:
https://www.visualmicro.com/page/Upgraded-Intellisense-System-in-Visual-Micro.as...
  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #2 - Apr 15th, 2024 at 2:21pm
Print Post  
Yes, (Arduino) is set in the Solution explorer, I did convert the project before (a few month ago).
« Last Edit: Apr 15th, 2024 at 2:22pm by EricDuino »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #3 - Apr 15th, 2024 at 3:01pm
Print Post  
Thanks, can you confirm how you are refreshing the Auto Complete?

Also can you attach the build log with the settings enabled as shown at the top of the page for us to review?
  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #4 - Apr 15th, 2024 at 3:23pm
Print Post  
Thank you, files uploaded...
Picture is how I refresh all the time.
« Last Edit: Apr 15th, 2024 at 3:36pm by EricDuino »  

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


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #5 - Apr 15th, 2024 at 3:24pm
Print Post  
log file:
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #6 - Apr 15th, 2024 at 4:06pm
Print Post  
Thanks for the log.

Just to be clear, are you clicking the Show/Hide Hidden Files button twice to Hide, then show the files again?

Did you intend to add all Libraries as Cloned Shared Projects to the solution, or did this happen by clicking the Show/Hide Hidden Files button the first time around can you recall?
(I believe it is a deliberate decision as Deep Search has been disabled, but wanted to be sure)
« Last Edit: Apr 15th, 2024 at 4:09pm by Simon@Visual Micro »  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #7 - Apr 15th, 2024 at 4:24pm
Print Post  
I always click Show/Hide Hidden Files once , then autocomplete works again.

My project started when I started to use Visual Micro, that time I didn't use
"ADD LIBRARY" because not all the libraries where found that time.

Later on I added some libraries using "Library advanced" settings.
I did not really looked into it and how it works, 
everything worked fine for me as it was, 
but after the new autocomplete function I got problems.

Maybe I need to reorder my project ?

I don't use deep search...
« Last Edit: Apr 15th, 2024 at 4:25pm by EricDuino »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #8 - Apr 16th, 2024 at 3:07pm
Print Post  
Can you try clicking Show/Hide Hidden Files once (which should hide them, the Project/src/_micro-api-readonly files should vanish from the solution explorer tree.

Then close VS completely, and delete the .vs folder from your solution folder.

Then when it re-opens, does the intellisense work correctly again?

Note: The Show/Hide Hidden files button toggles the functionality on and off, so clicking it once each time will either enable or disable it.
  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #9 - Apr 16th, 2024 at 11:25pm
Print Post  
Project/src/_micro-api-readonly files should vanish from the solution explorer tree.
Yes, it did.

I delete the .vs directory, and this message came after restarting VS: [image]
 
After an other restart, again no autocomplete.
« Last Edit: Apr 17th, 2024 at 1:32am by EricDuino »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #10 - Apr 17th, 2024 at 11:04am
Print Post  
Thanks for the update.

We cannot see the image you have tried to attach, can you re-attach it or email it to us with a link to this post?
  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #11 - Apr 17th, 2024 at 12:21pm
Print Post  
Sorry image below.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #12 - Apr 17th, 2024 at 1:25pm
Print Post  
Thanks for the image.

If you click the Show/Hide Hidden files again now, does the intellisense work?

Note: the _vmicro-api shortcuts should be visible after clicking it this time in the solution explorer.

  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #13 - Apr 17th, 2024 at 3:22pm
Print Post  
On Show/Hide Hidden "click" it works again.

But I discovered that after compile I lost autocomplete again,
 
"Click" Show/Hide Hidden and it works again.

I started a new project also, and everything works fine there..

I still works on my older projects, 
so it would be nice not to click a hundred times on that button.

Thanks for the help.
« Last Edit: Apr 17th, 2024 at 3:30pm by EricDuino »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2759
Joined: Feb 13th, 2019
Re: Auto complete
Reply #14 - Apr 17th, 2024 at 4:31pm
Print Post  
Thanks for the update.

On the newer projects I suspect they don't have all of the libraries involved, and possibly they are not all added as Cloned Shared Projects either.

Is it possible to send the whole broken project as a ZIP file?

Alternatively it may be as simple to create a new project and add your INO code and libraries fresh, and then see where the issue comes in.  If you need the libraries to be captured with the project for source control/portability, the special folders detailed on the below page could work better, and more simply:
https://www.visualmicro.com/page/Special-Folders-and-Portability.aspx
  
Back to top
IP Logged
 
EricDuino
Junior Member
**
Offline


Posts: 33
Joined: Jun 13th, 2016
Re: Auto complete
Reply #15 - Apr 18th, 2024 at 7:24pm
Print Post  
I will transfer my old project to a new one,
and see what's happens then.
Thank you for your support Simon...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint