All Projects → allebb → Netbeans Psr Formatting

allebb / Netbeans Psr Formatting

Licence: mit
NetBeans configuration settings for PSR 1&2

Labels

Projects that are alternatives of or similar to Netbeans Psr Formatting

lib-preferences
Lib-Preferences is a library for easy storing simple data to a Preferences.properties file in a Java(FX) & Maven desktop application.
Stars: ✭ 12 (-92.11%)
Mutual labels:  netbeans
Flow Netbeans Markdown
Markdown file support for the NetBeans IDE
Stars: ✭ 276 (+81.58%)
Mutual labels:  netbeans
Lib I18n
The library `Lib-I18N` allows a developer to bind a key-value pair of a `.properties` file to a [StringBinding]. This makes it very easy to change the language during runtime in a [JavaFX] application.
Stars: ✭ 40 (-73.68%)
Mutual labels:  netbeans
PECI-Java-MAR-2015
Repositorio del curso de Java de Mar 2015
Stars: ✭ 29 (-80.92%)
Mutual labels:  netbeans
SwingMaterialDesign
A Material Design components for java swing. Trying to make java swing more beautiful and vivid. with shadows and ripples.
Stars: ✭ 21 (-86.18%)
Mutual labels:  netbeans
Samples
JavaFX samples to run with different options and build tools
Stars: ✭ 352 (+131.58%)
Mutual labels:  netbeans
DotNetCore-for-NetBeans
Brings .NET Core with C# support to netbeans (Create projects, open Projects, etc.)
Stars: ✭ 23 (-84.87%)
Mutual labels:  netbeans
Netbeans
Apache NetBeans
Stars: ✭ 1,747 (+1049.34%)
Mutual labels:  netbeans
NBCndUnit
NetBeans C/C++ unit testing plugin – supporting CppUTest, GoogleTest (gtest) / GoogleMock (gmock) and libunittest C++.
Stars: ✭ 13 (-91.45%)
Mutual labels:  netbeans
Netbeans Encoding Plugin
Encoding Support
Stars: ✭ 20 (-86.84%)
Mutual labels:  netbeans
tikione-jacocoverage
NetBeans module that provides JaCoCo code coverage for Ant based Java SE, Java EE and NetBeans Module projects (JDK5,6,7,8 compatible).
Stars: ✭ 25 (-83.55%)
Mutual labels:  netbeans
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (-53.95%)
Mutual labels:  netbeans
Jeddict
Jakarta EE 8 (Java EE) & MicroProfile 3.2 application generator and modeler
Stars: ✭ 358 (+135.53%)
Mutual labels:  netbeans
netbeans-color-codes-preview
Show colors in an editor's sidebar
Stars: ✭ 24 (-84.21%)
Mutual labels:  netbeans
Gcode Sender
Cross platform 3-Axis CNC Machines control software
Stars: ✭ 67 (-55.92%)
Mutual labels:  netbeans
ketabhome-shopping-cart-admin-panel
🛒 📙 📔 ketabhome is an online java book store application with admin panel based on servlet, with database c3p0 connector
Stars: ✭ 19 (-87.5%)
Mutual labels:  netbeans
Netbeans Mmd Plugin
Free mind map and PlantUML editor with plugins for both NetBeans and Intellij
Stars: ✭ 283 (+86.18%)
Mutual labels:  netbeans
Netbeans Website
Apache NetBeans Website
Stars: ✭ 135 (-11.18%)
Mutual labels:  netbeans
Nb Springboot
NetBeans IDE plugin supporting programming with Spring Boot
Stars: ✭ 111 (-26.97%)
Mutual labels:  netbeans
Dontbug
Dontbug is a reverse debugger for PHP
Stars: ✭ 710 (+367.11%)
Mutual labels:  netbeans

PSR auto-formatting for NetBeans

This repository provides source code auto-formatting settings for PHP PSR1 and PSR2 standards.

Although NetBeans does not provide automatic formatting support for all of the PSR1 and PSR2 'rules' (eg. refactoring class and method name case) I have done my best to implement as much as possible.

The result of using this configuration is, once imported you can then use the Source > Format function (ALT+SHIFT+F on Windows and Linux) or (CTRL+SHIFT+F on Mac) in NetBeans the PHP code will automatically be formatted to match PSR1/PSR2 syntax format.

Requirements

  • NetBeans (Tested and developed on v8.2 and v8.1 but should work fine on other versions too!)

License

All things have a license I guess, so keeping it plain and simple, these files are released under the MIT license.

Support

I am happy to provide support via. my personal email address, so if you need a hand or want to give me some feedback please drop me an email at: [email protected].

Installation

  • Download the latest release (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.
  • When the Import window appears click on the Browse button and select the downloaded zip archive that you downloaded in the first step.
  • 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 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].