Saturday, April 20, 2024
HomeCác vấn đề liên quanCông cụ lập trìnhNotepad++ Công cụ hỗ trợ lập trình đơn giản nhất

Notepad++ Công cụ hỗ trợ lập trình đơn giản nhất

Trong khi bạn đang loay hoay tìm kiếm cho mình một phần mềm soạn thảo ngôn ngữ lập trình đảm bảo được các yếu tố: Nhanh, đơn giản, dễ sử dụng, hỗ trợ nhiều ngôn ngữ lập trình… thì Notepad++ là một công cụ đáng để bạn quan tâm và sử dụng.

Notepad++ là trình chỉnh sửa miễn phí thay thế cho Notepad, hỗ trợ nhiều ngôn ngữ lập trình và chạy trên hệ điều hành Windows. Dựa trên thành phần chỉnh sửa Scintilla mạnh mẽ, Notepad++ được viết bằng C++ và sử dụng thuần túy Win32 API và STL đảm bảo tốc độ thực thi cao hơn và kích thước chương trình nhỏ hơn. Notepad++ có rất nhiều chức năng mạnh mẽ như WYSIWYG, cùng 1 lúc mở và chỉnh sửa nhiều file qua các tab, hỗ trợ tìm kiếm theo biểu thức tiêu chuẩn, phóng to thu nhỏ, tô sáng các cặp ngoặc, …

Chương trình này cũng có nhiều tính năng tương tự như Editplus nhưng có nhiều ưu điểm hay hơn như khả năng gom mã: chương trình sẽ hiển thị dấu trừ (-) trước một khối mã, khi bạn bấm vào dấu trừ này, nó sẽ biến thành dấu cộng (+) và khối mã đó sẽ được thu gọn lại. Ngoài ra, nếu cần gõ tiếng Việt trong source code, bạn chỉ việc vào Menu Fomat -> Encode in Utf-8 là tiếng Việt sẽ hiển thị chính xác 100%. Một điều khá thú vị là Notepad++ là một phần mềm mã nguồn mở, nếu thích và có hứng thú bạn hoàn toàn có thể hiệu chỉnh lại mã nguồn của nó để cá nhân hóa hay dựa trên đó viết ra một chương trình soạn thảo của bạn.

Notepad++ hoàn toàn miễn phí và quá trình cài đặt sử dụng cũng rất dễ dàng, bạn có thể tải về và khám phá thêm tại đây:

[toggle_box title=”Notepad++ Futured” width=”Width of toggle box”]

Notepad++ is a free (free as in “free speech”, but also as in “free beer”) source code editor and Notepad replacement, which supports several programming languages, running under the MS Windows environment.

This project, based on the Scintilla edit component (a very powerful editor component), written in C++ with pure win32 api and STL (that ensures the higher execution speed and smaller size of the program), is under the GPL Licence.

This project is mature. However, as you can see it’s a one-man-project, there are still some bugs and missing features. If you have any question or suggestion about this project, please post them on the forums. As well, if you have any feature requests, you can always make the demand, but there’s no guarantee that I’ll implement it.

Here are the features of Notepad++ :

Syntax Highlighting and Syntax Folding Supported languages:

C C++ Java C# XML HTML PHP CSS makefile ASCII art (.nfo) doxygen ini file batch file Javascript ASP VB/VBS SQL Objective-C RC resource file Pascal Perl Python Lua TeX TCL Assembler Ruby Lisp Scheme Properties Diff Smalltalk Postscript VHDL Ada Caml AutoIt KiXtart Matlab Verilog Haskell InnoSetup CMake

WYSIWYG

If you have a colour printer, print your source code (or whatever you want) in colour.

User Defined Syntax Highlighting

It allows user to define his own language: not only the syntax highlighting keywords, but also the syntax folding keywords, comment keywords and the operators. ( screenshot1, screenshot2, screenshot3, screenshot4 ).

Auto-completion

For most supported languages, user can make his/her own API list (or download the api files from dowload section). Once the api file is ready, type Ctrl+Space to launch this action (see screenshot). For more information about Auto-completion, please see Auto-completion HOWTO.

Multi-Document

You can edit several documents at the same time.

Multi-View

You have two views at same time. That means you can visualize (edit) 2 different documents at the same time (screenshot). You can visualize (edit) in the 2 views one document at 2 different positions as well. The modification of document in one view will carry out in another view (i.e. you modify the SAME document when you are in clone mode, see screenshot). Regular Expression Search/Replace supported You can search and replace one string in the document by using the regular expression.

Full Drag ‘N’ Drop supported

You can open a document by drag & drop. You can also move your document from a position (or even a view) to another by drag & drop.

Dynamic position of Views

The user can set the position of the views dynamically (only in 2 views mode : the splitter can be set in horizontal or in vertical), see screenshot.

File Status Auto-detection

If you modify or delete a file which opened in Notepad++, you will be notified to update your document (reload the file or remove the file).

Zoom in and zoom out

That’s another fantastic function of Scintilla component. Just see screenshot.

Multi-Language environment supported

The Chinese, Japanese, Korean, Arabic and Hebrew Windows environments are supported. See Notepad++ under the Chinese Windows, under the Arabic Windows and under the Hebrew Windows in action screenshot.

Bookmark

User can just click on the bookmark margin (located right side of line number margin) or type Ctrl+F2 to toggle a book mark. To reach the bookmark, type just F2 (Next bookmark) or Shift+F2 (Previous bookmark). To clear all bookmarks, click the Menu Search->Clear All bookmarks. See screenshot.

Brace and Indent guideline Highlighting

When the caret stay beside of one of those symbol { } [ ] ( ) , the symbol beside of caret and its symmetric opposite symbol will be highlighted, as well as the indent guideline (if any) in order to locate the block more easily. See screenshot1, screenshot2.

Macro recording and playback

You can save several macros and edit their keyboard shorcuts for the next use.

[/toggle_box]

[dlf t=”Download Notepad++ 6.1.6 Installer” h=”http://notepad-plus-plus.org/” l1=”http://download.tuxfamily.org/notepadplus/6.1.6/npp.6.1.6.Installer.exe” mf=”http://www.mediafire.com/?3h4gmgx9x9434g5″ mr=”http://www.4shared.com/file/mpRV6YOt/npp616Installer.html?refurl=d1url”  mr1=”https://www.box.com/s/98cuz7iusna3x3nhqobd”]

[cr12]

RELATED ARTICLES

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular