Program Arduino language in Atmel Studio - How?

First of all...i KNOW there is a plugin for Atmel studio called Visualmicro. But Visualmicro is still a Arduino IDE plugin for Atmel Studio.
I want to program the arduino language in Atmel Studio. No bootloader, only AVRISP mkii. Is that possible?

I use thiese processors in Arduino IDE and if i colud use them in Arduino IDE, i can use them in Atmel studio too with arduinos languge, wiring?

ATtiny 13 ATtiny 44 ATtiny 45, ATtiny 84, ATtiny85, ATtiny 2313, ATmega168, ATmega328, ATmega 1280, Atmega 1284, ATmega2560.

Hi there, I'm trying to upload the program to an Arduino board which is used Atmega328p by Atmel Studio 6. First, I coded on Arduino IDE then upload. The result is good XD, but when I use the button "upload the program to an Arduino board". Although I saw the light of RXD and TXD were blink :fearful:, I didn't see anything after that :disappointed_relieved:.
My code is make a led blink. :blush:
#include <mega328p.h>
#include <delay.h>

void main(void)
{
DDRD = 0xFF; // set PORT B, C, D output
DDRB = 0xFF;
DDRC = 0xFF;

while (1)
{
PORTD = 0xFF; // turn on PORT B, C, D
PORTB = 0xFF;
PORTC = 0xFF;
for(i=0; i<1000; i++) //wait a sec...
{

}
PORTD = 0x00; // turn off PORT B, C, D
PORTB = 0x00;
PORTC = 0x00;

}
}

I use thiese processors in Arduino IDE and if i colud use them in Arduino IDE, i can use them in Atmel studio too with arduinos languge, wiring?

No, not correct. The Arduino "language" is simply a collection of libraries that translate to C/C++ and then uses AVR-GCC to perform the actual compile and AVRDUDE to move the HEX file to the AVR uC. The Arduino GUI is all JAVA and essentially manages the process of passing to the command line the correct arguments, paths, and things like the uC type and communication protocol.

The reason a plugin is needed for AvrStudio is that studio has no conception on the libraries syntax or the compile and linking requirements. The plugin also allows the editor to know about Arduino keywords, etc.

In theory, you could use notepad to write blink.c and type all of the necessary commands from the command line.... Sounds like bunches of fun!

Rasy