Text editor with code highlighting. Inspection of six text editors with code highlighting

Antipyretics for children are prescribed by a pediatrician. But there are emergency situations for fever when the child needs to be given medicine immediately. Then the parents take responsibility and use antipyretic drugs. What is allowed to give to infants? How can you bring down the temperature in older children? What medicines are the safest?

Introduction


Probably every Windows user knows what Notepad is. Or Notepad - to whom it is more familiar. The piece is comfortable. A small lightweight application where you can type the text of a letter or copy some information from the Internet. Minimum options, simple control. The created files are small in size, and even compressed by archivers perfectly. It would seem that everything is fine. But only for the time being, until we need something more (and able to work normally with large files). Yes, the convenience and simplicity of Notepad is extremely important for novice computer scientists. But it is worth expanding the scope, trying to use Notepad in conjunction with other "flat" files, not only *.txt, as this simple tool is no longer enough. Even though they can still view the scripts of various programming languages, program logs, batch files, settings files, and many, many others, working with all this is no longer convenient and productive. Fortunately, programmers did not put up with this state of affairs, and began to release improved versions of notebooks, each supplemented with their own add-ons. Differing in functional extensions, these products in some way began to be divided into classes of tasks to be solved. About one of these classes, simple editors for programmers and webmasters, and there is our today's review.

What is the priority for such programs? Of course, syntax highlighting of the language in which the user writes! It is desirable to support plugins and additional language and functional packages, as well as the ability to edit already connected ones. Search with replacement and using regular expressions. Character table, simple hex editor, ability to work with a large number of formats and encodings. And, of course, ease of use. A requirement that is fair, in principle, for any program, but the most relevant for such products, because the programming process itself takes a lot of time, and no one wants to sit behind an uncomfortable shell for a long time. Based on this, we will consider the selected programs, namely: PSPad 4.5.0, Golden Pen 1.5, PolyEdit 5.0 RC, Edit Ex 2006r1, Crimson Editor 3.70, Uniqway Poetic 0.2b.


PSPad is a fairly well-known and widespread editor for programmers. And its popularity is well deserved. After all, this is a program, probably, thousands of functions. And what will be especially pleasant for programmers, it's not just text editor with additional features, this is a set of special tools just for their needs. Here, for example, why does the text writer need a built-in FTP client? It is unlikely that it will be in demand, and the webmaster will probably, having written some script or page, want to immediately see the result in action, throwing it on remote server. We connect with the specified settings. They are much broader than specifying the address, login and password.


FTP client connection settings

Another option that might be interesting is that we can execute a command and "tunnel" it into the micro editor via pipes. For example, we can run the following command. With this, instead of displaying the output of the command on the screen, send it to the micro editor and we'll save it to a file.

On the Internet and in the publisher's information, you have the information that everything is there. I especially like that lines of text that don't fit the width of the screen continue below. With this software, you can edit the pages of your file besides the content. However software can cost up to 136 euros.


What about the project tree? With it, you can further expand the functions of the editor and create real projects. And although it is not at all necessary that these will be software projects, this opportunity is interesting for precisely these needs.


Parameters of the created project


To work with long codes, displaying the file structure will be indispensable. In this field, PSPad shows the functions and macros found by patterns in the viewed file according to the selected syntax.




Editing a pas file in the editor window

Media editor

It is known for its powerful features and intuitive GUI user. The atom text editor has the following characteristics. It also has a customizable regex engine that makes downloading and indexing files much faster. The two most powerful features that make media different from other web code editors.

It also contains tags for sorting dozens of documents, night mode, and other achievement limits related to estimated reading time for a particular text. It can be given over detailed overview his oriented demonstration. Ideal for developing complex projects, but can also be used for simple texts.


In the latest versions of PSPad, the user can actively work with scripts, not only manually correct them, but also recompile them later. True, this will require an installed MS Windows Scripting host. The latter supports a fairly large number of languages, and not just Visual Basic and Java scripts.

Good HTML editing capabilities. Of course, our editor will yield to specialized packages in terms of the number of functions, but we don’t require the capabilities of a powerful compiler from a lightweight, convenient tool, right? Otherwise, PSPad will be useful for both beginners and experienced webmasters. There is also a converter between different formats, and a viewer with the ability to change the resolution, and checking the HTML code, and extensive formatting options.

Freshly installed, PSPad "knows" about thirty different programming languages. While there are quite ordinary C, Object Pascal, Java, Java Script, HTML, PHP, Visual Basic, etc., the presence of some, such as COBOL, Inno Setup Script, KiXtart, Tcl / Tk, TeX , Unix Shell Script piqued my genuine interest. Any of the languages, by the way, the user can reconfigure, edit and create their own syntax. Or specify a compiler for it.

In general, the widest possibilities for customizing everything and everything is another distinguishing feature of the editor in question. Starting with the process of installing the program, and ending with the fine-tuning of the tools themselves. I don’t know about you, but I have always been pleased with such powers, because by granting them, the author thereby makes it clear that he is aiming the product at a qualified audience, whose representatives will be able not only to understand all this, but also to improve, optimize, bring. Of course, there is nothing to worry about, if you don’t need anything like that - leave it as it is, the program will not get any worse from this.




Program installation






General program settings




Some other settings menu


Above were listed only some of the features of PSPad, most related to its stuffing for programming. In addition, there is a sea of ​​​​everything interesting and useful. For example, a hex editor and clipboard manager.

If you use a typing program, a spell check will undoubtedly come in handy. In addition, there are all kinds of editing options, search and replace, formatting. It just abounds with "bells and whistles" of the tool menu. There is a macro manager, file parser, ASCII table, several types of palette. If the latter will not be enough - here you are, pipette! A variant of a well-known tool for determining color in a particular area in many image editors. The eyedropper from PSPad will allow you to pick up the color at any point and under the window of the program itself. In addition, there is a hash generator (functions MD4, MD5, SHA1, RIPEMD160 are used), command line, a number converter between different calculus systems and even Roman characters, a simple but powerful version of the calculator (called an expression analyzer), and others.

The help system (namely, the system) is complete and varied. In addition to the comprehensive program guide itself, you can get information about programming languages, and if you have an Internet connection, then access to programming sites and remote online utilities.

Program website: http://www.pspad.com



Probably many people know Golden Pen. The program is not new, perhaps some have already forgotten it. Not surprising, latest version was released already in 2001, the author does not even indicate support for Windows XP. On the other hand, simplicity and convenience - the main trump cards of this small editor, are combined with sufficient functionality for the average level. That is why Vitaly Nevzorov's Golden Pen can be successfully used to this day.




VB code in the Golden Pen window

Finally, a simple editor that has a live preview that responds in real time to the changes made. Produces a professional look without the author having to worry about most of the details. It automatically performs repetitive tasks such as numbering mathematical formulas, tables and figures, creating indexes for terms and materials, and creating cross-references to these elements. It works on almost all platforms and operating systems. It's free and free.

  • It easily implements the composition of mathematical formulas.
  • This greatly facilitates the structuring of content.
You can also find several examples that highlight the most important characteristics.


Golden Pen is also good because it is a universal "two-sided" editor. It is equally convenient to use both for typing plain text and for editing source codes. The options provided are about the same. For text, these are printing, export to RTF and HTML, alignment, display, search and transition options. For scripts - syntax highlighting of fifteen current (for 2000) languages ​​up to Fortran, work with bookmarks, hex-file browsing mode. In addition, there are additional tools, clipboard, macro recording, calculator, ASCII code table. The Golden Pen calculator is capable of calculating some statistical functions, and, in addition, when typing, the context calculator is active - this is when you type an expression, and after the "=" sign, the program automatically displays its value.




Hex editor mode
When working with the program, I noticed two small bugs - when the calculator is called from the toolbar, the calendar is persistently shown, and the panel itself disappears when the program is closed, but it is not always restored automatically at the next start.

Program website: http://www.geocities.com/midweststudio/



Calling PolyEdit a notepad for programmers somehow doesn’t even turn the language. However, it was included in our review because it also includes such features. And many, many more, which will require a separate article to describe.

Yes, indeed, PolyEdit is a program with the widest possibilities, although at the first acquaintance it made me feel ... probably similar to the feelings of the heroes from Nikolai Nosov's "Dunno on the Moon" when they got to spend the night at the Economic Hotel. If the owners declared the cheapest rooms there, but in reality a separate payment was required for the use of water, TV, bedding, etc., then the creators of PolyEdit (Polysoft Solutions), not failing to note the small size of the program distribution kit, did not include some of the specified functions in it . Therefore, having decided to first check the syntax highlighting of languages, I was somewhat disappointed and sent to the program's website to download the necessary components. Fortunately, this ZIP package occupies only 9 KB. It is surprising why it was not possible to immediately include it in the distribution. In addition to the specified file, several more add-ons and 10 dictionaries ranging in size from 500 KB to 6 MB are available in the Downloads section. However, You can’t judge developers too harshly. It’s somewhat naive to expect to get a full-fledged Word-level word processor in a size of less than one and a half megabytes. The decision to separate the placement of additional packages that are needed only by a specific user is quite reasonable for a program freely distributed via the Internet.

As for the program itself, this text was typed just in the editor window, and no conveniences were experienced. The only thing was that I needed to download an additional Russian language pack to check spelling. To implement it, press F7 or select a command from the menu item. There is no automatic check. Yes, maybe for the better? Thus, there will be no unnecessary slowdowns and pauses when typing on slow computers.

Among the features of PolyEdit, we note the following. Data encryption using BlowFish transformations and SHA-1 hash function. Full support for OLE-objects (pictures, clips, diagrams, etc.). Export/import of multiple formats including Word, Excel, Html. Plugin support. Built-in e-mail client. Drag-and-Drop and Drag-and-Dock functions. Support for a large number of encodings. Autosave. Search and replace using regular expressions, file search. Syntax highlighting. Show non-printable characters.




Some menu items

It's always a must for a programmer to find the best tools for development purposes, be it text editors, a task management library, a framework for building your next project, and so on. these tools simplify the work environment and increase productivity at the same time.

Among all the tools, choosing a text editor is the most difficult. Not to mention, there is a divided community for every popular text editor. It's like protecting what you wear and being proud of your choice at the same time. After all, everyone prefers and loves to protect him. Text editors play a leading role in any developer's workspace. The project code is written, debugged, and executed using a text editor. It's like a garage for building tools and products for the world.


The "advanced" style interface is very similar to the default interface of MS Word. All the basic features for working with text are the same. Only the drawing panel is missing. However, additional items are available. I really liked the Drag-and-Dock technology for multi-document windows.




Multiple document interface


PolyEdit supports themes. All kinds of parameters can be configured in the program options.




Setting up PolyEdit


Testing the editor when working with raws revealed some shortcomings. Thus, commenting with curly braces does not work correctly in a Delphi pas file, commenting with ordinary brackets with asterisks does not work at all. Similar problems were observed for html and cpp files. The highlighting of the t-sql script can be seen in the accompanying illustration. For clarity, the view in PolyEdit and the view in the MS SQL Query Analyzer window of the eighth version are given. It is clear that these programs use different specifications, but nevertheless ...

Undoing the last actions does not always work correctly.




SQL script in the PolyEdit window (left) and SQL Query Analyzer

Choosing the best text editor for your work can be a daunting task. It requires skillful experimentation, personal preference and the final decision. This is proprietary software with special attention to features. With tons of features to tinker with, you'll feel the power in your hands. However, like any tool, nothing is perfect.

The functionality can be improved with ease and customization is just a matter of installing a plugin. Provides a command palette for easy access to snippets, settings, and more. provides multi-line editing and selection. Given that equally affordable text editors are available on the market, anyone can opt for free alternatives. If you don't like popups, you can buy a publisher for $70.

  • Updates don't happen as often as they used to.
  • Load times are longer compared to Notepad.
  • The quality of the plugins is questionable.
First, it supports full keyboard operations without the need for a mouse.


Your copy of PolyEdit can be registered. Whether it makes sense is up to you. Among the most important advantages of the paid version are priority technical support by e-mail, free software upgrades, discounts when purchasing other products from PolySoft Solution. As you can see, even the advantages presented do not seem significant, but there is nothing to say about the others, it is hardly possible to display your company name in the program information window for $ 30 per license. However, wholesale buyers - discounts ...

Program website: http://www.polyedit.com/



The latest version 2006r1 of this editor was released a little over a month ago, and we will take it for consideration. The main trump card, indicated by the author of the program Artem Fursenko, is "highlighting everything-everything-everything." Indeed, EditEx "knows" more than fifty different syntaxes. And this is an absolute record among today's contestants. It doesn't even make sense to list everything, you are unlikely to find the one you need. No, well, of course, if you wish, you can, but for the vast majority of programmers, this will be enough.

Despite the fact that the development is domestic, the program interface is completely in English. The developer's site is similar. Although the site is stingy with instructions and useful information. No, by the way, help and in the program itself. It's good that it's not really necessary - the editor looks quite traditional and not complicated. In its left part there is a conductor, on top - toolbars, and the rest of the space is reserved for the document editing area.




EditEx 2006 editor interface


The program contains all the necessary tools for formatting text, searching, changing the encoding. Additionally, there is a spell checker package for English and Russian words and an on-the-fly translator. Unfortunately, both last utilities work just awfully. And although they function, it is almost impossible to use them. The translator performs a contextual search in the dictionary and displays absolutely all the results encountered. Enter, for example, the word "go" and you will get hundreds of options from "the agony" to "the pangolin". Although, in fact, the verb "go" will be somewhere in the middle of the sample. The dictionary spell check also surprised me with its originality, it was proposed to replace “parts” with “chabots”, “available” with “ivan-tea”, “launch” with “redden”, etc. in the same vein literally through the word. Only slightly better is the situation with English language, where words tend to be less inflected.


Spell check surprises with its approach

Most modern programming features need to be implemented using plugins. However, once it is discovered, it will give you power that no other text editor can give you.

  • The learning curve is steep.
  • This takes time.
  • This is not easy to learn and takes time for the domain.
However, he also has his own problems. Other features include autocomplete capabilities, a file system browser, multiple panels, and more. Suitable for the kernel due to the modular design used by the text editor. Can be easily used by a beginner. If you are planning to work on large projects, it is advisable to ignore it, it is available for all three major operating systems and is fully portable.
  • Tons of packages to use and therefore highly customizable.
  • Extension support needs to be improved.
Notepad is another open source text editor on the market.


Now for the nice extras. A simple FTP client, the ability to work in full screen mode, seeing clean code without sometimes annoying buttons and panels, an additional panel for automatically setting HTML tags, previewing HTML pages and launching the program with an external compiler.


FTP server connection options



Program website: http://www.flywheel.nm.ru/editex.html



Turning to the Crimson Editor after EditEx, it seemed to me that the latter was made from it. Still, in terms of the set of functions, both editors are like brothers. Even outwardly it is not surprising to confuse. The same set of functions standard for the class of programs under consideration, the same advanced search, the same highlighting of paired brackets, line numbering (and printing with its preservation), text formatting, a transcoder with a minimum number of sets. There is a built-in FTP client, optional explorer, HTML file preview, spell checking, detailed statistics, the ability to record and run macros. There is also a context calculator.




Editor window without explorer enabled

It resembles Notepad. This language is supported by many programming languages. Notepad's biggest advantage over any other text editor so far is that it can manage large files without major lags or crashes. In addition, its functionality can be extended using hundreds of plugins available.

The text editor could benefit from the addition of new language support.

  • The user interface is not the best.
  • Improvement required to meet current industry standards.
  • Too easy.
It's clean, fast, and a great way to do something new!


Highlighting languages, of which there are only 16 in the standard installation (including Basic, C / C ++, CSS, HTML, Java, Matlab, Pascal, Perl, PHP, Python, etc.) is performed correctly, with automatic type detection. Language specifications can be reconfigured by the user. In addition, a large number of various language files are available for download on the official website of the program. Probably, this allowed the creator (Ingyu Kang) to declare support for more than 100 computer languages.

When working with the editor, an unpleasant bug was found - when opening files, the program analyzes its contents, apparently to determine the highlighted syntax. The mechanisms are not reported by its author, but as a result of this procedure, some workable scripts lead to a memory access error and the program crashes.




Error while parsing file being opened



Program website: http://www.crimsoneditor.com/



Well, in conclusion - consider another program. This editor is quite fresh, even raw, but I liked it and it seems very promising. Its first version 0.1a was released only about a month ago, and now the second version 0.2b is already available. If the authors (Pavel Sushkov and others) continue with the same zeal, then we have the right to expect a complete convenient program with good functionality already in the spring. Although you can use Uniqway Poetic right now.

So what's interesting here. In general - a pleasant multi-document interface, extensive use of hotkeys, easy navigation, import / export of UTF-8 and UTF-16 formats, printing, preview and setting page parameters. Displaying non-printable characters, adjusting the font size for ease of use, of course, search and replace, and using regular expressions. There are also file statistics on the number of words and certain characters.




Uniqway Poetic

The last text editor we'll discuss in detail is brackets. Open source brackets can be used by anyone. Brackets is not a generic text editor, but a text editor that focuses on front-end development. Interface language support is extensive, so you should only consider parentheses for web design purposes.

A text editor is an indispensable tool in any developer's arsenal. With the clarification of these text editors, we hope you can now make your choice. If you think we should have quoted the text editor in the article, don't forget to comment below so we can know.


Work with text. I liked the options for adjusting the indentation, removing leading and trailing spaces. There is the possibility of changing the case of typed text and setting the type of line break (Unix, Mac or Win). Can be converted between the following types: Windows 1251, KOI8-R, ISO-8859-2, ISO-8859-5, ISO-8859-6, DOS 866, Mac Central European, Mac Cyrillic, Mac Greek. A small character table is available with codes for quick typing on the keyboard, as well as a function to sort strings in alphabetical order. The history of changes made is not limited.


transcoder


Working with code. The phrase from the official page of the program about highlighting "any type of syntax" looks interesting. I did not understand what exactly the creators had in mind, but in practice the program supports the following types: PHP, CSS, HTML, Delphi, XML, INI and Perl. Optionally, in addition to the coordinates of the cursor position in the status line, there is a numbering of code lines.




Program settings

Share with your friends on social networks! This is because the program is visual, with a simple interface and extremely practical. The program window offers three different areas: a toolbar, a dedicated character box, and an editing screen. There are no secrets in the development process: just select the resources you need in the toolbar and organize them on the page. Each time the tool is used, a settings window is displayed so that you can adjust its settings, if applicable. Much easier than typing tags into a simple text editor, right?


The parameters of the program can be changed, adapting it to your own needs. Unfortunately, you can't add buttons to any of the taskbars, including the custom one, but I'm sure that such a feature will appear in the next releases.

By the way, what else can appear in the next versions? First of all, increasing the number of supported languages, enabling the FTP client and hex mode, expanding the program settings. Or maybe the Uniqway team will please us with something original, different from other editors in the future?

Program website: http://www.uniqway.com/poetic/



In general, all the programs discussed above, one way or another, I liked. And everything can be applied to your own "taste and color".

PSPad stands out among others for its feature set and convenience. A very efficient editor, surpasses even some paid counterparts. I recommend it to absolutely everyone who, on duty or at the behest of the heart, has to engage in program writing.

golden pen is a good replacement for the standard Windows notepad with a number of additional tools, both general and intended for programmers.

PolyEdit- a fairly strong program, but is not a specialized product for programmers. Potentially, it can be an alternative to MS Word, as it includes a wide range of possibilities for working with text.

AT EditEx interesting, first of all, support for a large number of different syntaxes. At the same time, the author's attempt to stuff the program with a significant number of additional functions should be recognized as unsuccessful. Perhaps the point is the simple use of ready-made software components found on the network. Moreover, some of them are not finalized on their own. The banner with the offer to buy raw programs for 40 dollars gets bored pretty quickly. Throw that away, don't use half-baked features, and you'll end up with a perfectly usable editor.

Crimson Editor in general, it is more pleasant than the previous program, there is no annoying banner. The features are about the same, but EditEx supports more languages. The Crimson Editor, on the other hand, seems to be better developed.

Well Uniqway Poetic- a young program with the prospect of becoming a good help to a programmer...

Hello, dear readers of the blog site. Today we are going to take a look at one of the best text editors, Notepad++, which has a lot of useful features and is one of my most used text editors. html editing, css and php code. And in general, this editor is popular among many programmers and developers.

In the article, I mentioned that you can even create web pages using the built-in Notepad in Windows. But creating html and css files in notepad is almost the same as digging a hole with a digging stick. In notepad, apart from the ability to create and view text files, there is nothing.

  • Insert images.
  • Tables.
  • Buttons.
  • Bookmarks.
It's simple, but it helps make the code more visible. The visual mode is very easy to use, it's simple - like everything else in the program - and it's pretty clear. The code editor is very simplified, with syntax highlighting that leaves a lot to be desired. Although it is low on resources, it still exhibits some execution failures, but nothing major.

On the other hand, it reflects the meager consumption of system resources. Highlight: for those who want to create simple pages. The program helps developers by providing everything you can expect from a versatile text editor such as syntax highlighting for over 100 different languages, code folding, color schemes, file monitoring, multiple selection and more.

By starting to use Notepad to correct files with html, css, php and other codes, you will save yourself a lot of time and nerves. At first, of course, using this editor may seem a little complicated to you. But if you learn how to use at least the basic features of Notepad ++, then it will be difficult for you to do without it.

In it, you can search for text using the power of regular expressions. You can organize documents side by side. You can also use real-time syntax highlighting to find the closest identifiers. Now use the following command to install the program.

By choosing this type of installation, you will not receive any of the programs. Open a terminal; Step. Uninstall the program with the following commands. It has some sidebars that can be positioned on the right or left, as per preference, giving us some icons to switch between panels.

Notepad has significant advantages not only over the standard Windows notepad, but also over other more complex programs for writing and editing various codes. For example, if you compare Notepad ++ with the popular Dreamweaver website layout program, then it has many advantages. First, Notepad++ is completely free. And secondly, much easier and faster. In general, it can be run without installation in the Windows operating system, if you use portable version of Notepad++, which will allow you to put the program on a USB flash drive and always carry it with you.

Right click context menu. This opens a terminal directly at the root of the project, saving us time. Clicking on the icon opens more terminal windows, which we can move around using the drop-down menu. This is a very useful feature, especially if we use compilers when programming.

The changes we make to files are highlighted in different places to see what's going on. No need to set it up, just use it from the moment you open the editor for the first time.


When you click on the edit icon next to a setting, it is copied to the user file to change it. Save and see the changes automatically.

Let's talk about everything in more detail now.

Installing the Notepad++ editor, its features and settings

We create a site on the Yii 2.0 framework

Download text editor Notepad++ perfect is free You can from the official site at this link. The downloaded package includes several languages, including Russian.

This is a powerful standalone completion with a syntax highlighting wizard and is a bit different from what this feature does. Passing the mouse over the properties shows that your documentation and color values ​​are displayed prefixed with small selectors that appear on the screen. Code hints as you type are very strong.

Let's take a look at the examples and look at changing the interface accordingly. Apart from the standard themes, there is also a gigantic market of other examples available, as well as extensions of all kinds. It goes without saying that there are many, many more features available.

Installing the program in operating system Windows happens in a completely standard way:

  • double-click on the downloaded file with the left mouse button, the installation will start;
  • in the window that opens, select the language you need;
  • then click next several times, accepting the license agreement, selecting the installation folder and the components to be installed;
  • then click install, wait a few seconds and Notepad++ is installed.

If necessary, you can download Notepad ++ Portable, which is a portable version of this text editor that does not require installation.

Now let's go through the capabilities of this text editor:

1. The first thing that catches your eye is that Notepad++ is text editor with syntax highlighting dozens of the most popular programming languages ​​including HTML, CSS, JavaScript and PHP. Look full list languages ​​for which notepad can highlight syntax and you can select the desired language in the top menu of the program in the "Syntax" tab:


For example, if you set backlight html code , it will look something like this:


In the figure, you can see that the tags are highlighted in blue, the attributes are in red, and the regular text is in black. This is very handy when editing code and finding errors in it. If necessary, you can set the syntax highlighting in the menu "Options" - "Defining Styles". A window will open in which you can configure the font and syntax highlighting for the language you need:


If the desired language is not available, then you can configure the highlighting of your own in the same menu "Syntax" there is an item "Set your language":

In the window that appears, set the lists of language keywords and customize their display styles. I have always had enough of those languages ​​that are on the list, so I did not understand this function in detail.

In addition to the highlight itself for all these languages, the code is divided into blocks that can be collapsed and expanded using the minus and plus buttons, respectively. Also, the relationship between the elements is highlighted with a dotted line. And if, for example, you place the cursor on the opening html tag, then not only it will be highlighted in blue, but also the closing tag associated with it:


Notepad++ can also chain open and close parentheses and isolate functions in separate blocks. All this helps to navigate the code very well and greatly simplifies the search for non-closed brackets and tags in the program text.

2. It often happens that when typing some code, we can forget how one or another HTML tag or PHP operator is written. To solve this problem, the Notepad++ text editor implements the function tooltips and automatic completion typed word. A hint is called up by pressing the key combination "Ctrl + Space" and it remains only to select the desired option from the proposed list:

You can enable automatic display of tooltips without using hotkeys. To do this, click the menu "Options" - "Settings", in the window that opens, go to the "Autocomplete" tab and check the box next to "Turn on every time you type":


In the same window, you can enable automatic insertion of closing html tags, brackets and quotes.

3. Notepad++ makes it very easy change encoding file. For example, if you need to set the currently popular UTF-8 encoding without BOM, then for this it is enough to go to the “Encodings” tab in the main menu and click on the item “Convert to UTF-8 without BOM” and save the file:


4. Notepad++ allows you to open and edit multiple files at the same time, unlike the standard notepad. For this he uses bookmarks like modern web browsers. So each open file has its own bookmark, in which the file name is indicated and the floppy disk image is placed:

The floppy disk can be blue or red. The color of the floppy indicates whether changes to the file have been saved or not:

  • blue diskette - the file is saved;
  • red - changes not saved.

Tabs with open files can be closed, dragged and arranged in any order. Using the settings, you can make the tabs appear vertically, or hide them altogether, disable dragging, and configure the closing of the tab by double-clicking. All these settings can be found in the "Options" tab, "Settings" button:

A settings window will open, where in the "General" section, in the "Tab Bar" settings group, you can check or uncheck the necessary checkboxes:


In addition, this editor has the ability open two copies of the same document at once. To do this, just right-click on the tab with the desired file and select "Duplicate in another area":

After that, a second tab will open with this document:


Each bookmark has the ability to put notes or notes. They speed up file navigation and finding important code snippets in files with a large number of lines. To create a mark opposite the desired line in the left field, click to set a marker in the form of a blue dot:


Now by pressing the "F2" key the cursor will move between notes - blue markers.

5. I consider it necessary to note that the Notepad ++ editor is very convenient text search how in open file, and in several files located in a specific folder. It is possible to use regular expressions when searching, which can be a powerful tool in the right hands. You can also search and replace. Together, search-and-replace and regular expressions can greatly speed up editing text documents.

Function text search can be called using the top menu "Search", in which the type of search is selected, or by the combination of hot keys "Ctrl + F", which opens the corresponding window with search settings:


In the window that opens, select the tab with the desired action ("Find", "Replace", "Search in files" or "Notes") and set the parameters.

6. Often when working with an html file, it becomes necessary to see how it will look in the browser. To do this, Notepad++ has the ability to view html pages in browsers Internet Explorer, Firefox, Chrome and Safari. To perform this action, just click the "Run" button in the top menu and select the code to run in the desired browser:


Also, in the editor in question, you can select any fragment of php code and click "Start" - "Get php help", after which Notepad ++ will redirect you to the page of the site http://php.net with a description of this code.

In the same tab of the "Run" menu, it is possible to search for selected fragments of text in the "google" search engine and in the "wikipedia" online encyclopedia. To do this, select a piece of text and press the "Google Search" or "Wikipedia Search" button and you will automatically be redirected to the Google or Wikipedia website page with search results. True, for all these actions you need an Internet connection.

7. When editing files, Notepad++ remembers all the changes you make. Therefore, at any time you can cancel the performed action ( take a step back). Moreover, you can rollback as many steps back or forward as you like, so you can make any changes to the code without the risk of irreversible consequences.

You can rollback and forward using the "Undo" and "Redo" items in the "Edit" tab in the top menu, or using the buttons in the form of curved arrows on the toolbar (if there have been changes, the arrows turn green):


You can also undo actions using hotkeys:

  • CTRL + Z - step back, analogue of the "Cancel" item;
  • CTRL + Y - step forward, analogue of the "Repeat" item;

The important point is that Notepad++ constantly monitors the state of the files opened in it, and if they are changed by another program or deleted, the editor will show you a warning that the file has been changed by another program and prompt you to update it:


8. You can expand the capabilities of the Notepad++ test editor using various plugins. Some are installed by default, and the rest can be installed using the built-in plug-in manager, which is called from the top menu tab "Plugins" - "Plugin Manager" - "Show Plugin Manager":

The "Plugin Manager" window will open, in which the first tab will contain a list of available plugins. To install the desired plugin, check the box next to it and click the "Install" button.

With the help of plugins, you can compare files, check grammar, embed FTP, and in general, you can turn a regular text editor into a powerful tool for creating websites.

I will try to describe in detail the features of the plugins in one of the following articles, so do not forget to subscribe to blog updates. See you soon!



Support the project - share the link, thanks!
Read also
cockfight game rules cockfight game rules Mod for minecraft 1.7 10 watch recipes.  Recipes for crafting items in Minecraft.  Weapons in Minecraft Mod for minecraft 1.7 10 watch recipes. Recipes for crafting items in Minecraft. Weapons in Minecraft Shilling and sterling - the origin of words Shilling and sterling - the origin of words