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 Atmel Studio-How to change default folder for new projects? (Read 7823 times)
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Atmel Studio-How to change default folder for new projects?
Jan 25th, 2014 at 12:10am
Print Post  
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: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel Studio-How to change default folder for new projects?
Reply #1 - Jan 25th, 2014 at 1:02am
Print Post  
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
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Atmel Studio-How to change default folder for new projects?
Reply #2 - Jan 25th, 2014 at 1:32am
Print Post  
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.
« Last Edit: Jan 25th, 2014 at 1:33am by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel Studio-How to change default folder for new projects?
Reply #3 - Jan 26th, 2014 at 2:34pm
Print Post  
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.
« Last Edit: Jan 26th, 2014 at 2:57pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint