• Stars
    star
    186
  • Rank 207,316 (Top 5 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created almost 13 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

EditorConfig plugin for Notepad++

EditorConfig Notepad++ Plugin

This is an EditorConfig plugin for Notepad++.

Buildstatus

Appveyor build status GitHub release

Installation

Install from the Plugin Manager

If you have Notepad++ Plugin Manager installed (usually installed by default in Notepad++), you can install in this way.

Launch Notepad++, click on the Plugins menu, then Plugin Manager -> Show Plugin Manager. In the Available tab, find EditorConfig in the list, check the checkbox and click on the Install button.

Install from the Binary Package

  1. Download the binary package from the SourceForge downloads page.

  2. Extract the compressed archive and copy the corresponding dll into your Notepad++ plugin directory(the unicode dll if your Notepad++ version is unicode or the ansi one if you're using the ansi version Notepad++).

Install from Source

Before installation, you must have Microsoft PowerShell 3 or higher, cmake 3.5.0 or higher and Microsoft Visual Studio (2013, 2015 or 2017) installed.

Prepare code

Clone the EditorConfig plugin for Notepad++ sources or download and extract it.

Download dependencies

To download EditorConfig C core and PRCE2 use the init.ps1 script.

~> ./init.ps1 [-prce 10.32] [-edc 0.12.3]

Arguments:

- pcre Optional, pcre2 version to download.
- edc  Optional, editorconfig core version to download.

Build all

To build all in one step use the -proj all, -init and -install arguments with the build.ps1 script at the same time. You will find the NppEditorConfig.dll in the bin/x64/ folder.

~> ./build.ps1 -proj all -init -install

The -init argument will generate the required cmake build files for Visual Studio. This is required after initial checkout or CMakeLists.txt changes. The -install argument will put the binaries to a location (bin/$(ARCH)/build) that the project can find and link the libraries.

For the other arguments please see below.

~> ./build.ps1 [-proj all | core | pcre2, npp] [-init] [-install] [-vsver 15 | 14 | 12] [-arch x64 | x86] [-config Release | Debug]

Arguments:

-proj Project to build.
-init Optional; (Re)Generate cmake build files, required first time or on `CMakeLists.txt` changes.
-install Optional; Install to `bin/$(ARCH)/build` folder.
-vsver Optional; Visual Studio version (major version number) to use.
-arch Optional; Architecture to build for.
-config Optional; Debug or release build.

Build pcre2 library

~> ./build.ps1 -proj pcre2 -init -install

Build editorconfig core library

~> ./build.ps1 -proj core -init -install

Build editorconfig notepad++ plugin

~> ./build.ps1 -proj npp -init -install

Supported properties

The EditorConfig Notepad++ plugin supports the following EditorConfig properties:

  • indent_style
  • indent_size
  • tab_width
  • end_of_line
  • trim_trailing_whitespace
  • insert_final_newline
  • root (only used by EditorConfig core)

Bugs and Feature Requests

Feel free to submit bugs, feature requests, and other issues to the issue tracker.

More Repositories

1

editorconfig-vim

EditorConfig plugin for Vim
Vim Script
3,101
star
2

editorconfig

EditorConfig universal issue tracker and wiki
3,082
star
3

editorconfig-emacs

EditorConfig plugin for Emacs
Emacs Lisp
724
star
4

editorconfig-visualstudio

EditorConfig Visual Studio Addin
C#
352
star
5

editorconfig-core-c

EditorConfig core library written in C (for use by plugins supporting EditorConfig parsing)
C
292
star
6

editorconfig-jetbrains

A JetBrains IDE plugin supporting the EditorConfig standard
Java
292
star
7

editorconfig-core-js

EditorConfig Core library and command line utility written in JavaScript
TypeScript
266
star
8

editorconfig.github.com

Configuration file format for defining coding styles in shared projects
HTML
265
star
9

editorconfig-core-go

EditorConfig Core written in Go
Go
129
star
10

editorconfig-core-py

Clone of EditorConfig core written in Python
Python
90
star
11

specification

Specification of EditorConfig file format
Python
83
star
12

editorconfig-core-net

EditorConfig Core library and command line utility written in C# for .NET/Mono http://editorconfig.org
C#
70
star
13

editorconfig-core-java

Clone of EditorConfig core written in Java
Java
61
star
14

editorconfig-gedit

EditorConfig plugin for Gedit
Python
54
star
15

editorconfig-geany

EditorConfig plugin for Geany
C
45
star
16

editorconfig-qtcreator

EditorConfig Plugin for QtCreator
C++
40
star
17

editorconfig-core-ruby

Clone of EditorConfig core written in Ruby
Ruby
27
star
18

editorconfig-core-test

Testings for EditorConfig Core
CMake
25
star
19

editorconfig-defaults

24
star
20

editorconfig-jedit

EditorConfig plugin for jEdit
Java
16
star
21

editorconfig-plugin-tests

Tests for EditorConfig plugins
Python
16
star
22

editorconfig-core-lua

EditorConfig Core bindings for Lua
CMake
15
star
23

live-demo

Work in progress: EditorConfig in-browser live demo
JavaScript
13
star
24

editorconfig-textadept

EditorConfig plugin for Textadept
Lua
11
star
25

utilities

Utilities for EditorConfig development
Ruby
11
star
26

editorconfig-codeblocks

EditorConfig plugin for Code::Blocks
C++
11
star
27

editorconfig-core-qt

EditorConfig core written for Qt
C++
10
star
28

docs.editorconfig.org

EditorConfig C Core library documentation
JavaScript
10
star
29

editorconfig-core-java-binding

EditorConfig Core Java Binding
Java
8
star
30

editorconfig-vote

The issue tracker is for voting purpose only. Only @editorconfig/board-member members can comment.
4
star
31

javadocs.editorconfig.org

EditorConfig library Java API documentation
CSS
3
star