Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 9cbce64

Browse files
committed
dont distribute the demo anymore
1 parent 6ac5516 commit 9cbce64

File tree

2 files changed

+15
-26
lines changed

2 files changed

+15
-26
lines changed

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# NppPlugin .NET package for VS2015 and beyond...
22

3+
What is this? Its a simple template for very fast and easy building plugins for Notepad++ in C#/.Net
4+
35
This is a fork of UFO's plugin package updated for VS2015
46

57
[![Build status](https://ci.appveyor.com/api/projects/status/5f0ui9y2ujugh6wt/branch/master?svg=true)](https://ci.appveyor.com/project/kbilsted/notepadpluspluspluginpack-net/branch/master)
@@ -9,8 +11,8 @@ This is a fork of UFO's plugin package updated for VS2015
911

1012

1113
## Getting started
12-
1. Download a [release](https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/releases/) and unzip it
13-
2. Place the visual studio project template (the `Visual Studio Project Template C#\NppPlugin.zip`) in the visual studio path (typically `"My Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\"` but see [instructions](https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/blob/master/Visual%20Studio%20Project%20Template%20C%23/HOW-TO-INSTALL-ME.txt) inside the release)
14+
1. Download a [release](https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/releases/)
15+
2. Place the visual studio project template (the `NppPlugin.zip`) in the visual studio path (typically `"My Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\"`)
1416
3. Ensure you have installed **Visual C++** from the visual studio installer otherwise your project wont build
1517
4. Create a new project inside Visual studio using `file -> new -> project -> visual C# -> Notepad++ project`
1618
5. Build (building will copy the dll to the `Notepad++/plugins` folder)
@@ -23,12 +25,18 @@ This is a fork of UFO's plugin package updated for VS2015
2325
* Upgrading plugings using the plugin pack.
2426
* Delete the folder `PluginInfrastructure` and copy over that folder from a newer version of `NppPlugin.zip`
2527

26-
## Plugins using the pluginpack
28+
29+
## Plugins using this pluginpack
2730

2831
* https://github.com/kbilsted/NppPluginGuidHelper
2932

3033

31-
## Overall plugin architecture
34+
## How to start coding plugins
35+
36+
First read the the demo-plugin code. It is actively being maintaned - see https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/tree/master/Demo%20Plugin it is a spin-off of Don Ho's
37+
http://download.tuxfamily.org/nppplugins/NppPluginDemo/NppPluginDemo.zip
38+
39+
#### Overall plugin architecture
3240

3341
Plugins can interact with Notepad++ or the underlying Scintilla engine. The plugin pack provides two classes to make this interaction easier. This is `NotepadPlusPlusGateway` and `ScintillaGateWay` which are thin layers making interaction more pleasant (and testable!).
3442

@@ -55,19 +63,6 @@ The architecture of the plugin is.
5563
| Plugin |
5664
+-----------+
5765

58-
## Content information
59-
This package contains two folders:
60-
61-
1. Templates:
62-
Simple templates for very fast and even easier building of .NET plugins for Notepad++.
63-
Setting up a plugin for N++ has never ever been as easy as with this package.
64-
Please see the containing txt files for further installation information.
65-
66-
2. Demo:
67-
An example .NET plugin for Notepad++, build upon the template above.
68-
It demonstrates the same functionality as the original demo plugin by Don Ho:
69-
http://download.tuxfamily.org/nppplugins/NppPluginDemo/NppPluginDemo.zip
70-
7166
## Versioning
7267
Until we reach v1.0 expect a bit of chaos and breaking changes.
7368

makerelease.ps1

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,9 @@ $vsTemplatepath = [Environment]::GetFolderPath("MyDocuments")+'\Visual Studio 20
3030
write-host "# Copy projectTemplate to VS: '$vsTemplatepath'" -foreground green
3131
del "$($vsTemplatepath)\nppplugin*.zip"
3232
copy $filename $($vsTemplatepath)
33+
copy $filename c:\temp\
3334

35+
write-host "# remove temp files" -foreground green
36+
rm $filename
3437

35-
write-host "# Zip template and all source files" -foreground green
3638
cd ..
37-
replaceVersionInfo($version)
38-
$releaseFilename = "c:\temp\nppDemoAndProjectTemplate$($version).zip"
39-
rm '$($releaseFilename)*'
40-
& 'C:\Program Files\7-Zip\7z.exe' a -tzip $releaseFilename * -xr!bin -xr!obj -xr'!.git'
41-
42-
43-
write-host "# remove temp files" -foreground green
44-
rm 'Visual Studio Project Template C#\NppPlugin*.zip'

0 commit comments

Comments
 (0)