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....
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
How to move item templates from Atmel Studio to Visual Studio? (Read 125 times)
KulaGGin
Newbies
*
Offline



Posts: 7
How to move item templates from Atmel Studio to Visual Studio?
Aug 8th, 2019 at 5:03pm
 
When I create new Class in Atmel Studio, it creates a file with this template:
...

I'd like to move this template to Visual Studio, so when I create new class in Visual Studio, it creates files like this one: time, author, comments, class structure. I can't find a way to do this. I understand I can create new item template in Visual Studio and mimic what Atmel Studio does but is there a way to copy the template itself?

Other question I have is how I customize item templates in Atmel Studio. For example, I want to customize class template in Atmel Studio itself, so there's something else in the file besides what already is there. How do I do this?
Back to top
 
 
IP Logged
 
KulaGGin
Newbies
*
Offline



Posts: 7
Re: How to move item templates from Atmel Studio to Visual Studio?
Reply #1 - Aug 8th, 2019 at 5:04pm
 
First time it threw error something like "...Connection couldn't be established", so I pressed back button and tried to create thread again. Apparently, it created threads both time, so you can delete this one I guess.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: How to move item templates from Atmel Studio to Visual Studio?
Reply #2 - Aug 8th, 2019 at 5:13pm
 
I think this is a question for atmel or microsoft but some info that might help but it is important to say what you are clicking to create your code? There are various ways to create a class.

Atmel studio is visual studio 2015. If you read about templates for visual studio you will find that they are just zip files that you can copy of edit. In the zip you have code files, optionally a project file and a template file. All are text files you can edit.

The atmel studio project file is dfferent from visual studio. However you are talking about item templates and not project templates so maybe there isn't much difference.

You might be able to use tools>options to find the location of where each ide stores templates. There are user templates, extension templates and ide templates locations.



Back to top
 
WWW  
IP Logged
 
KulaGGin
Newbies
*
Offline



Posts: 7
Re: How to move item templates from Atmel Studio to Visual Studio?
Reply #3 - Aug 8th, 2019 at 5:21pm
 
Visual Micro wrote on Aug 8th, 2019 at 5:13pm:
I think this is a question for atmel or microsoft but some info that might help but it is important to say what you are clicking to create your code?

I press RMB on a project and then Add > Add New Class:
https://i.imgur.com/jTnxc1C.png

Visual Micro wrote on Aug 8th, 2019 at 5:13pm:
The atmel studio project file is dfferent from visual studio. However you are talking about item templates and not project templates so maybe there isn't much difference.

You might be able to use tools>options to find the location of where each ide stores templates. There are user templates, extension templates and ide templates locations.

Ok, I'll look into these.
Back to top
« Last Edit: Aug 8th, 2019 at 5:29pm by KulaGGin »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10340
United Kingdom
Re: How to move item templates from Atmel Studio to Visual Studio?
Reply #4 - Aug 8th, 2019 at 5:26pm
 
Okay that is the standard visual studio new class template. I am not sure where that is but maybe this will help

https://docs.microsoft.com/en-us/visualstudio/ide/how-to-create-item-templates?v...
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print