View on GitHub

npp-java-plugin

Java Plugin for Notepad++

Build status GitHub release

Introduction

What is NppJavaPlugin?

NppJavaPlugin is a Java Plugin for Notepad++, which allows you to compile and run Java code directly from Notepad++.

npp-java-plugin-screenshot

Why would I want to use NppJavaPlugin?

NppJavaPlugin was created with following use cases in mind:

Whenever preparing for a Coding Interview or a Java Certification, you should create a practice environment that does not provide you with Integrated Development Environment (IDE) features like Code Completion, Syntax Highlight, Code Generation, Early Error Checking. During regular development IDE does a very good job of making developers more productive through those features, however during a Coding Interview or a Java Certification Exam, an environment under which you will take the exam, will not include those features. This is why it is important to practice without those features to make sure that you can write code accurately and fluently without having to rely on mentioned IDE features.

In other cases I recommend using a full IDE like IntelliJ, Eclipse, NetBeans.

What functionalities are provided by NppJavaPlugin?

After installing NppJavaPlugin following options will be available under Plugins -> Java Plugin menu:

On top of it, NppJavaPlugin also includes Java Console which will output compilation issues if those are found. Java Console can be manually shown with usage of “Show/Hide Java Console” option.

Does NppJavaPlugin include any default keyboard shortcuts?

Yes, by default following keyboard shortcuts are configured:

Those can be changed using Settings -> Shortcut Mapper -> Plugin commands option. If you need more information, more precise instructions can be found here: https://npp-user-manual.org/docs/preferences/#shortcut-mapper

Installation

Prerequisites

Automatic

  1. Go to Plugins -> Plugins Admin
  2. Search for “Java Plugin”
  3. Check “Java Plugin”
  4. Click Install

If you need more information, more precise instructions can be found here: https://npp-user-manual.org/docs/plugins/#install-using-plugins-admin

Manual

  1. Download ZIP file from https://github.com/dominikcebula/npp-java-plugin/releases
  2. Unpack ZIP file to your Notepad++ installation folder, for example “C:\Program Files\Notepad++\plugins\NppJavaPlugin”

If you need more information, more precise instructions can be found here: https://npp-user-manual.org/docs/plugins/#install-plugin-manually

Ideas for future versions

Contribution Rules

You are more than welcome to contribute, but please keep in mind few rules:

Author

Dominik Cebula
dominikcebula@gmail.com
https://dominikcebula.com/
https://blog.dominikcebula.com/