You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The result of using this configuration is, once imported you can then use the ``
8
8
9
9
## Requirements
10
10
11
-
*[NetBeans](https://netbeans.org/) (Tested and developed on v8.1 but should work fine on other versions too!)
11
+
*[NetBeans](https://netbeans.org/) (Tested and developed on v8.2 RC and v8.1 but should work fine on other versions too!)
12
12
13
13
## License
14
14
@@ -20,14 +20,19 @@ I am happy to provide support via. my personal email address, so if you need a h
20
20
21
21
## Installation
22
22
23
-
* Download the [latest release](https://github.com/bobsta63/netbeans-psr-formatting/releases) (specifically the __ZIP__ version) to your machine.
23
+
* 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).
24
24
* Open up the NetBeans IDE on your computer
25
25
* From the top menu, click on ```Tools``` and then from the menu that appears click ```Options```
26
26
* When the **Options** window appears click on the ```Import``` button at the bottom left.
27
27
* When the **Import** window appears click on the ```Browse``` button and select the downloaded zip archive that you downloaded in the first step.
28
28
* Under the ```Select options to import:```, check the ```All``` check box and then click ```Ok``` and then ```Apply```.
29
29
* You should then be prompted to restart the IDE, restart and enjoy your new auto-formatting skills ;)
30
30
31
+
## Using NetBeans 8.1 (and lower)?
32
+
33
+
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
34
+
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.
35
+
31
36
## Preparing the source code for 'import'
32
37
33
38
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.
0 commit comments