|
1 | 1 | # CSharpRegexTools4Npp
|
2 |
| -Some tools for using C# Regex for Notepad++ (As Notepad++ Plugin) |
| 2 | +Some tools for using C# Regex in Notepad++ (As Notepad++ Plugin) |
| 3 | + |
| 4 | +Need a [Notepad++](https://notepad-plus-plus.org/) x86 or x64 installed on the machine and the right to write in the plugin directory. |
| 5 | +(At least version 7.6.3, older versions can work but need modification of the file [NppPlugin.DllExport.targets](https://github.com/codingseb/CSharpRegexTools4Npp/blob/master/CSharpRegexTools4Npp/PluginInfrastructure/DllExport/NppPlugin.DllExport.targets) see [Notepad++ plugins new directories structures](https://notepad-plus-plus.org/community/topic/16996/new-plugins-home-round-2)) |
| 6 | + |
| 7 | +## Features |
| 8 | +* Syntax Highlight of the C# Regex |
| 9 | +* List all matches (With groups and captures) |
| 10 | +* Select All matches |
| 11 | +* Replace All matches (with replace syntax or C#) |
| 12 | +* Extract All matches in a new Notepad++ tab |
| 13 | +* Work on current Notepad++ tab text, on current selection or in a directory |
| 14 | +* Named groups, lookbehind, lookforward and all features of C# Regex |
| 15 | +* Keep an history of typed regex |
| 16 | +* Save/Reload Regex |
| 17 | + |
| 18 | +## Installation |
| 19 | + |
| 20 | +* Clone this repo |
| 21 | +* Give write access to "%PROGRAMFILES%\Notepad++\plugins\" directory |
| 22 | +* Launch CSharpRegexTools4Npp.sln in Visual Studio |
| 23 | +* Select the target platform x86 or x64 depending on your version of Notepad++ |
| 24 | +* Compile and launch (F5) (It will copy the plugin in the right place and launch Notepad++) |
| 25 | + |
| 26 | +## Usage |
| 27 | + |
| 28 | +To Launch the tools use one of these 3 methods : |
| 29 | +* Click on the toolbar button  |
| 30 | +* Click on Menu "Plugins" -> "C# Regex Tools 4 Npp" -> "C# Regex Tools" |
| 31 | +* Press "Ctrl+Shift+H" on your keyboard |
3 | 32 |
|
4 |
| -Need a [Notepad++](https://notepad-plus-plus.org/) installed on the machine and the right to write in the plugin directory. |
5 |
| -(At least version 7.6.3, older versions can work but need modification of the file [NppPlugin.DllExport.targets](https://github.com/codingseb/CSharpRegexTools4Npp/blob/master/CSharpRegexTools4Npp/PluginInfrastructure/DllExport/NppPlugin.DllExport.targets)) |
6 | 33 |
|
7 | 34 |
|
8 | 35 | ## Credits
|
|
11 | 38 | [AvalonEdit](https://github.com/icsharpcode/AvalonEdit) For Regex edition and syntax Highlighting (under MIT license)
|
12 | 39 | [CS-Script](https://github.com/oleg-shilo/cs-script/) For C# Match replace (under MIT license)
|
13 | 40 | [Newtonsoft.Json](https://www.newtonsoft.com/json) (under MIT license)
|
14 |
| -[Ookii.Dialogs](http://www.ookii.org/software/dialogs/) (For Open and Save dialogs under specific license) |
| 41 | +[Ookii.Dialogs](http://www.ookii.org/software/dialogs/) (For Open and Save dialogs [under specific license](https://github.com/codingseb/CSharpRegexTools4Npp/blob/master/Licenses/Ooki%20license.txt)) |
15 | 42 | [PropertyChanged.Fody](https://github.com/Fody/PropertyChanged) (under MIT license)
|
16 | 43 | [Costura.fody](https://github.com/Fody/Costura) Merge all in one DLL, without it it doesn't work (under MIT license)
|
17 | 44 |
|
|
0 commit comments