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 Problems with tabs - they are not remembered after exit and restart (Read 3039 times)
Deous
Junior Member
**
Offline


Posts: 18
Joined: Mar 22nd, 2018
Problems with tabs - they are not remembered after exit and restart
Mar 26th, 2018 at 1:51pm
Print Post  
This is very annoying bug I think. When I work on some Arduino project I have many documents opened and showed as tabs of course. 
However every time I save solution, exit and then load same solution - all tabs are gone except first one or the .ino one.
Can you fix it please?? I use VS 2017 Professional under Windows 10 Pro
« Last Edit: Mar 26th, 2018 at 1:52pm by Deous »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12144
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with tabs - they are not remembered after exit and restart
Reply #1 - Mar 26th, 2018 at 2:37pm
Print Post  
Hi,

This is a VS feature and I suspect some minor confusion in your workflow.

1) If you open an .ino file the same solution might be opened but that is different to actually opening a specific solution.

2) If you are using the VS file>open>project or file>recent to open .sln then tabs will be remembered.


A common confusion is the "File>Open>Arduino Project". After you have opened an .ino for the first time you should not click to open the .ino in future. Instead click to open .sln.


A quick way to force the solution in the file>recent list if not already there .... Try this.

Open the solution as normal. Then click the solution name in the solution explorer. Then click "File>Save As". Click OK to overwrite?

After you have done that the solution will be on file>recent


  
Back to top
IP Logged
 
Deous
Junior Member
**
Offline


Posts: 18
Joined: Mar 22nd, 2018
Re: Problems with tabs - they are not remembered after exit and restart
Reply #2 - Mar 26th, 2018 at 3:23pm
Print Post  
No - I open from Studio - Open-> Arduino Project -> Browse + open
then Save Project - saves .sln. Then Open Solution .sln - no tabs
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12144
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with tabs - they are not remembered after exit and restart
Reply #3 - Mar 26th, 2018 at 5:25pm
Print Post  
That menu item is really just to allow to open an arduino project for the first time.

Please follow the guide above and use visual studio commands to open projects/solutions.
  
Back to top
IP Logged
 
Deous
Junior Member
**
Offline


Posts: 18
Joined: Mar 22nd, 2018
Re: Problems with tabs - they are not remembered after exit and restart
Reply #4 - Mar 27th, 2018 at 4:01am
Print Post  
I just installed your recent update. Wow - I don't know what you guys did but all works soooo much better.
I noticed I can add multiple Arduino projects to one solution - awesome!
Tabs work!!
Anyway thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12144
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with tabs - they are not remembered after exit and restart
Reply #5 - Mar 27th, 2018 at 11:55am
Print Post  
Actually nothing changed on that front. It's possible your visual studio needed a full restart.

Thanks for the update.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint