Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

Installation

Andre Greeff edited this page Jul 27, 2015 · 3 revisions

Running the Plugin

There are two options for running this plugin; the first is aimed more at developers looking to modify or enhance the existing code, while the second is aimed more at developers who simply want to make use of .editorconfig files in their own projects.

Production Mode

After downloading the release editorconfig-{version}.nbm file:

  1. Open NetBeans, select "Tools" > "Plugins"
  2. Switch to "Downloaded" tab and click "Add Plugins..."
  3. Browse to and select the nbm you downloaded
  4. Click "Install"

Development Mode

After cloning this repository:

  1. Launch NetBeans, select "File" > "Open Project"
  2. Be sure to allow Maven to download project dependencies; this may take some time depending on your connection speed
  3. In the "Projects" panel:
  4. Right-click and run the "Clean and Build" task
  5. Right-click and select the "Install/Reload in Development IDE" option

Verify or Debug Plugin

Confirming Installation

To verify the plugin is installed correctly:

  1. Select "Tools" > "Plugins"
  2. Switch to the "Installed" tab
  3. Look for "EditorConfig Plugin" in the "Editing" category
  4. If the plugin is listed and has a green tick in the "Active" column, you're good to go
  5. If the plugin is listed but has a grey dot in the "Active" column, tick the plugin and click "Activate"
  6. If the plugin is not listed, restart your IDE and try installing it again

IDE Runtime Logs

From either installation process listed above, the following steps will allow you to see exactly what your IDE is doing while running this plugin:

  1. Select "View" > "IDE Log"
  2. Close an open project
  3. Re-open any of your projects
  4. Create a .editorconfig file and set some rules