Notepad++


1. 소개

프리웨어 텍스트 편집기

Windows 내장된 Notepad에서 모니위키 설정파일인 config.php를 수정/저장할 경우 BOM 문자가 삽입되어 문제를 발생하기에, Notepad++을 적극적으로 활용하고 있다.

2. Tip

2.1. notepad++에서 파이썬 인터프리터 연결하기

2.1.1. 방법 1

방법 1 출처:Installing and Configuring Notepad++(http://users.cse.ucdavis.edu/~chaos/courses/nlp/Software/Windows/npp.html)


notepad++ 메뉴 > 실행 > 실행 > C:\Python25\python.exe "$(FULL_CURRENT_PATH)" 입력 > 실행


이 때 주의해야 할 점은 도스 커맨드창을 계속 유지하기 위한 코드가 없다면 실행하자마자 종료되는 허무함이 맛볼 수 있다. 맨 마지막 라인에 다음과 같은 코드를 입력하면 도스 커맨드창을 유지할 수 있다.
raw_input('press enter to continue...')

2.1.2. 방법 2

방법 2 출처(http://bytes.com/topic/python/answers/698915-python-notepad)


There is a simple way to do it.
In the Run menu, you can see options like "Lunch in firefox" and more.
These options are written in a file called shortcuts.xml, located in the folder where you installed NP++.
Open this file, and inside <UserDefinedCommands> you'll find this row:
Expand|Select|Wrap|Line Numbers
<Command name="launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>

All you need to do is copy this line and change some things. Then you'll have something like this:
Expand|Select|Wrap|Line Numbers
<Command name="Run with Python" Ctrl="no" Alt="no" Shift="yes" Key="112">python &quot;$(FULL_CURRENT_PATH)&quot;</Command>

(I chose Shift+F1, but you can choose any keys you like.)

Reopen NP++, and now it's easy and nice to run any python file strait from the editor.
More information on things like this in NP++: http://notepad-plus.wiki.sourceforge.net/Run

2.2. 파일 내용 비교

notepad++의 유용한 소스코드 비교하기 기능(http://trend21c.tistory.com/m/664)

소스코드를 비교할 때도 유용하지만, 문서 파일의 차이를 확인할 때도 사용할 수 있다.

<!> 플러그인을 다운받을 때, Compare_x_x_x_UNI_dll.zip 와 같이 파일명에 UNI가 포함되어 있는 것을 선택해야 한다.

2.3. 프로젝트 관리

Notepad++으로 프로젝트 일정 관리하기(http://eslife.tistory.com/130) : 회사에서는 아웃룩이라는 편리한 이메일 & 일정 & 할일 관리 프로그램을 주로 사용한다. 하지만 Notepad++을 이용한다면 보다 깔끔하게 업무를 정리할 수 있지 않을까? 위키는 자동저장을 지원하지 않기에 사용이 좀 애매하다.

Retrieved from http://www.memorecycle.com/w/Notepadplusplus
last modified 2016-03-04 23:10:18