SynWrite是一个开源编辑器项目,可帮助您编辑HTML、C、C++、Java等源代码。它是您(Java)记事本(Notepad)的一个很好的替代品。它更像是我们大多数人都熟悉alternative for Notepad++Notepad++相比,它也有很多功能。
SynWrite Editor 源代码编辑器(SynWrite Editor Source Code Editor)的特点
该应用程序非常易于使用,并具有许多功能。这是此编辑器支持的功能的完整列表。
- (Syntax)许多语言的语法突出显示
- 完全可定制的突出显示
- 代码折叠
- 源码树形结构视图
- 支持几乎所有编码
- 自动完成
- 代码模板
- 剪贴板历史面板
- 搜索(Search),用正则表达式替换
- 在多个文件中搜索、替换
- 外部工具支持
- 文档小地图功能
- 字符串提取功能
- 可自定义的热键
- 书签
- 键盘宏
- 拼写检查
- Zen 编码支持
- HTML 整洁支持
打开应用程序后,您会看到面板分为两部分,一是Tree Structure,二是Editor。然后,您打开的每个项目都将在单独的选项卡中打开。您可以从工具栏菜单更改视图。
当您点击New时,您可以选择您需要的项目。它是按字母顺序排列的,当您指向它时,您可以选择您想要选择的项目类型。其余的菜单项几乎是不言自明的。SynWrite还支持多插入符号,此功能允许使用以下方法之一添加许多插入符号:
- (Click)按住 Ctrl(Ctrl)键单击任何位置。
- 单击任何位置(“开始”),然后在按下(Click)Ctrl+Shift键的同时单击另一行(“结束”):这将添加多个在列中对齐的插入符号。
- 进行多行选择(流或列),然后使用命令“编辑-多插入符号-(Edit — Multi-carets — Carets)选择的插入符号...”。
- 通过放置搜索标记进行搜索,然后使用命令“编辑-多插入符号-(Edit — Multi-carets — Carets)搜索标记中的插入符号...”。
SynWrite中也有与(SynWrite)Notepad++类似的列模式,但与Notepad++相比,功能的构建方式不同。在Notepad++中,您必须选择列块,然后开始输入。在SynWrite 中(SynWrite),您有两个选择Edit – Edit column 和Edit & Fill block。
SynWrite也支持命令行。可执行文件“Syn.exe”支持以下命令行参数:
- 辛
- 同步(Syn)文件名1 [文件名2 ...] [可选]
- 同步“/two=filename1|filename2|line1|line2|column1|column2|delta”
- 同步/注册
还有一个广泛的教程可以帮助您创建用于SynWrite的词法分析器——“WSH 脚本”词法分析器。简而言之,通过专门的论坛,在开发人员的大量帮助和支持下,有很多选择。
Notepad++相比缺乏插件开发,可能是因为这个应用程序不像其他应用程序那样受欢迎。但它是一个优秀的程序,为程序员和高级用户提供了许多有用的功能。如果你是其中之一,我建议你试试这个工具。
您可以从这里(here.)(here.)下载该工具。我希望你发现这个工具很有用。让我们知道您的反馈。
SynWrite Editor: Free Text & Source Code Editor for Windows 10
SynWrite is an open-source editor project that helps you edit the source codes like HTML, C, C++, Java, etc. It’s a very good replacement for your Notepad. It’s more like an alternative for Notepad++ which most of us are familiar with. It has a lot of features as compared to Notepad++ offers as well.
Features of SynWrite Editor Source Code Editor
The application is pretty easy to use and comes with a lot of features. Here is a full list of features that this editor supports.
- Syntax highlighting for lots of languages
- Fully customizable highlighting
- Code folding
- Tree structure view of source code
- Support for almost all encodings
- Auto-completion
- Code templates
- Clipboard history panel
- Search, replace with regular expressions
- Search, replace in multiple files
- External tools support
- Document mini-map feature
- Strings extraction feature
- Customizable hotkeys
- Bookmarks
- Keyboard macros
- Spell checking
- Zen Coding support
- HTML Tidy support
Once you open the application, you will see that the panel is divided into two one is the Tree Structure and the second one is the Editor. Then each project that you open will open in a separate tab. You can change the view from the toolbar menu.
When you click on New, you have the option to choose the project you need. It’s alphabetized, and when you point to it, you can select the type of project that you want to choose. The rest of the menu items are pretty much self-explanatory. SynWrite also supports Multi-carets, this feature allows to add many carets using one of the methods:
- Click on any position with Ctrl key pressed.
- Click on any position (“beginning”), then click on another line (“ending”) with Ctrl+Shift keys pressed: this will add multiple carets aligned in a column.
- Make a several line selection (stream or column), then use the commands “Edit — Multi-carets — Carets from selection…”.
- Make a search by placing search marks, then use the commands “Edit — Multi-carets — Carets from search marks…”.
There is also a column mode in SynWrite like in Notepad++, but the functionality is built differently as compared to Notepad++. In Notepad++ you have to select the column block, and then start typing. In SynWrite you have two choices Edit – Edit column, and Edit & Fill block.
SynWrite also supports the command line as well. The executable file “Syn.exe” supports the following command line parameters:
- Syn
- Syn filename1 [ filename2 … ] [ optional ]
- Syn “/two=filename1|filename2|line1|line2|column1|column2|delta”
- Syn /reg
There is also an extensive tutorial available that will help you through the creation of lexer for SynWrite – the “WSH script” lexer. In short, there are tons of options with a lot of help and support from the developers by a dedicated forum.
The only downside I see is the lack of plugin development compared to Notepad++, maybe because this application is not as popular as the others. But it’s an excellent program with a lot of useful features for programmers and advanced users. If you are one of those, I would recommend that you give this tool a go.
You can download the tool from here. I hope you find this tool useful. Let us know your feedback.