From 1bedd10456e2370b5b691d1ee40b468618b751ad Mon Sep 17 00:00:00 2001 From: Bobby Allen Date: Wed, 21 Sep 2016 10:41:46 +0100 Subject: [PATCH] Updating README file in prep for v1.0.2 release (supporting Netbeans 8.2) --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13e6f9c..370bcc6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The result of using this configuration is, once imported you can then use the `` ## Requirements -* [NetBeans](https://netbeans.org/) (Tested and developed on v8.1 but should work fine on other versions too!) +* [NetBeans](https://netbeans.org/) (Tested and developed on v8.2 RC and v8.1 but should work fine on other versions too!) ## License @@ -20,7 +20,7 @@ I am happy to provide support via. my personal email address, so if you need a h ## Installation -* Download the [latest release](https://github.com/bobsta63/netbeans-psr-formatting/releases) (specifically the __ZIP__ version) to your machine. +* Download the [latest release](https://github.com/bobsta63/netbeans-psr-formatting/releases) (specifically the __ZIP__ version) to your machine (If you're using Netbeans 8.1 or below see the notes below about a bug and a provided workaround version). * Open up the NetBeans IDE on your computer * From the top menu, click on ```Tools``` and then from the menu that appears click ```Options``` * When the **Options** window appears click on the ```Import``` button at the bottom left. @@ -28,6 +28,11 @@ I am happy to provide support via. my personal email address, so if you need a h * Under the ```Select options to import:```, check the ```All``` check box and then click ```Ok``` and then ```Apply```. * You should then be prompted to restart the IDE, restart and enjoy your new auto-formatting skills ;) +## Using NetBeans 8.1 (and lower)? + +There is an issue in Netbeans versions 8.1 (and lower) in which the ``namespace`` new-line configuration does not work (a bug) of which has since been +fixed in Netbeans 8.2. As a workaround however, [release v1.0.1](https://github.com/bobsta63/netbeans-psr-formatting/releases/tag/v1.0.1) uses a single blank line to split the ``namespace`` from the first line of which is recommended to use. + ## Preparing the source code for 'import' In order to import the settings into NetBeans, compress the root directory of the ```src``` directory into a **zip file** of which can then be used to import into NetBeans as shown below in the installation guide.