NOTE: This page has been translated automatically from Russian to English. Original page.
Syntax highlighting 1C (including query language) in Notepad ++
And define your code syntax Notepad ++ at first it was not so easy - it would seem intuitive in places that could be done (Options -> Settings -> Syntax / Tabs or Tools -> Defining were several other styles).
But it can be opened in the main tolbare, click Custom definition language
A little tough, hammered basic elements of the language in the definition of style and kept in the exported file ... style-1C.xml, which can download , if too lazy to manually define by clicking Import the ... button and select the downloaded setup file.
But, unfortunately, forgot to google on this account - these styles have already been laid out for me, references to them are given in the comments. However, some styles 1C does not suit me, and I shablonchik still left to your own taste.
PS The good Notepad ++ as compared to the configurator 1C:
- Ability to create your own list of API functions (or download it from the download page).
- Regular Expression Search / Replace and check ( http://infostart.ru/public/165085/ )
- Full support for dragging text fragments.
- Dynamic position of Views.
- Automatic detection of file status (notice of change or delete a file by another program - with the ability to reload the file or remove it from the program).
- Zoom in and out (zoom).
- Support for many languages.
- Listing of programs can be printed in color - as you can see on the screen in the editing window.
- Notes on the document.
- Isolation of the brackets when editing text.
- Macro recording and execution.
- Ability to view a mini-map of text (Document Map)
UPD 12.11.2012: Added query language highlighting, corrected highlighting rules.
UPD 11.12.2012: slight adjustment lighting rules.