Skip to content

Commit adf85f1

Browse files
author
Sébastien Geiser
committed
2 parents 34f555c + ddfd8dc commit adf85f1

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

README.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
11
# 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 ![ToolbarIcon](https://raw.githubusercontent.com/codingseb/CSharpRegexTools4Npp/master/CSharpRegexTools4Npp/img/icon.png)
30+
* Click on Menu "Plugins" -> "C# Regex Tools 4 Npp" -> "C# Regex Tools"
31+
* Press "Ctrl+Shift+H" on your keyboard
332

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))
633

734

835
## Credits
@@ -11,7 +38,7 @@ use :
1138
[AvalonEdit](https://github.com/icsharpcode/AvalonEdit) For Regex edition and syntax Highlighting (under MIT license)
1239
[CS-Script](https://github.com/oleg-shilo/cs-script/) For C# Match replace (under MIT license)
1340
[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))
1542
[PropertyChanged.Fody](https://github.com/Fody/PropertyChanged) (under MIT license)
1643
[Costura.fody](https://github.com/Fody/Costura) Merge all in one DLL, without it it doesn't work (under MIT license)
1744

0 commit comments

Comments
 (0)