Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Atmel Studio-How to change default folder for new projects? (Read 6208 times)
stevech
Member
***
Offline



Posts: 147
So. Calif. US
Atmel Studio-How to change default folder for new projects?
Jan 25th, 2014 at 12:10am
 
Atmel Studio-How to change default folder for new projects?
So that I can choose the folder for new sketch, rather than the default path set during installation.

I scoured the menus - didn't find how to do this.

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



Posts: 11114
United Kingdom
Re: Atmel Studio-How to change default folder for new projects?
Reply #1 - Jan 25th, 2014 at 1:02am
 
Hi Steve,

There is a location called SketchBook on the "set Ide location" window. Drop down the applications list on the tool bar (ie: Arduino 1.5.x) and then click <Configuration Manager>. There are two locations per application so you can save projects for different types of micro controllers in the same place or different. Few things to keep in mind.

The concept of a sketchbook folder is Arduino's not a Visual Micro thing. When the location is empty in Visual Micro we use the location that can be set in the Arduino Ide.

The sketchbook folder, which defaults to "documents\arduino", is also where custom libraries and custom hardware can be defined (example "sketchbookfolder\libraries\my_rtc_lib")

So when you alter the folder have a think about if you have installed any extra arduino stuff in the existing one.

Once you have opened an .ino and Visual Micro has created a project for a sketch you can also then use the standard Atmel Studio commands to open the sketch such as "File>Open>Project". Doing so will cause the sketch to be added to the "File>Recent" list. If you only use Atmel Studio for Arduino then you could use this route as preference and use Atmel Studios standard tools>options system to set the default location.

Hope this helps and makes sense. It might be that splitting out where we look for custom stuff would be a good feature to add   Smiley
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
stevech
Member
***
Offline



Posts: 147
So. Calif. US
Re: Atmel Studio-How to change default folder for new projects?
Reply #2 - Jan 25th, 2014 at 1:32am
 
Thanks. I'll read/try.
I've worked for so many years with traditional IDEs that the oddball way that Arduino does things with the sources is forever confusing to my wired brain.

The SAVE AS doesn't let me use a different path. Nor does Open Sketch.
Back to top
« Last Edit: Jan 25th, 2014 at 1:33am by stevech »  
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11114
United Kingdom
Re: Atmel Studio-How to change default folder for new projects?
Reply #3 - Jan 26th, 2014 at 2:34pm
 
Open sketch will use the SketchBook folder path for the currently selected Ide. This area has been extended in recent versions. Are you saying the open Sketch is ignoring the sketchbook folder set in Visual Micro?

"Save as" can be achieved a number of ways please be specific about what you are clicking. All the "Save as" settings are core Visual Studio or Atmel Studio commands so they should be controlled in whatever way each Ide allows (see the help doc for each Ide for more info).

However, if trying to rename  a sketch then right click the [sketchname].ino and click "Rename". This option has a special work attached which ensures the Arduino rules are followed by renaming the folder, sketch and project for you.
Back to top
« Last Edit: Jan 26th, 2014 at 2:57pm by Tim@Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print