Editplus 의 사용자 툴을 등록하고 사용하므로써 편하게 컴파일과 실행을 할 수 있다.
아래 두 툴 설정을 추가하면 된다.
Menu Text: C# Compile
Command: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
Argument: $(FileName)
Initial Directory: $(FileDir)
Menu Text: C# Run
Command: cmd
Argument: /c $(FileNameNoExt)
Initial Directory: $(FileDir)
위와 같이 설정하면 다른 설정이 없을 경우 Ctrl + 1과 Ctrl + 2로 할당된다.
설정을 마치고 C# 파일을 생성하고 아래와 같은 코드를 입력하였다.
using System;
class MyCSharpApp
{
public static void Main()
{
Console.WriteLine("Hello! C# World");
}
}
코드를 작성하고 Ctrl + 1로 컴파일하고 Ctrl + 2로 실행을하면 간단한 C# 프로그램을 테스트할 수 있다.
<
Original Post : http://neodreamer-dev.tistory.com/553
No comments :
Post a Comment