====== NetBeans IDE ====== [[https://netbeans.org/|NetBeans IDE]] ===== Autor einstellen ===== - Tools -> Templates -> Settings - ''%%user=Andreas Giemza %%'' **Quelle:** [[http://stackoverflow.com/a/15922593/2246865|Netbeans: how to change @author]] ===== PSR-1/PSR-2 Coding Style einstellen ===== {{:software_handreichungen:netbeans_ide_-_psr-1_psr-2_coding_style_einstellen.png|}} **Quelle:** [[https://blog.bobbyallen.me/2013/03/24/configuring-netbeans-for-psr-1-and-psr-2-coding-guidelines/|Configuring NetBeans for PSR-1 and PSR-2 coding guidelines.]] ===== PHP mit XAMPP debuggen ===== - Am Ende der ''php.ini'' diese Änderungen machen: - Widnows: [XDebug] zend_extension = "c:/xampp/php/ext/php_xdebug.dll" xdebug.idekey = netbeans-xdebug xdebug.profiler_append = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "c:/xampp/tmp/xdebug" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_autostart = 0 xdebug.remote_connect_back = 0 xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9000 xdebug.remote_handler = "dbgp" xdebug.remote_mode = req xdebug.remote_log = "c:/xampp/tmp/xdebug/xdebug_remot.log" xdebug.show_local_vars = 9 xdebug.trace_output_dir = "c:/xampp/tmp" - Linux: zend_extension="/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" xdebug.idekey = netbeans-xdebug xdebug.remote_enable = 1 - Apache neu starten. - Tools -> Options -> PHP -> Debugging \\ {{:software_handreichungen:netbeans_ide_-_php_debugging.png?direct|}} **Quelle:** [[http://articlebin.michaelmilette.com/making-xdebug-work-with-netbeans-on-windows/|Making XDEBUG work with NetBeans on Windows]] ===== Wordpress PHP, JavaScript und CSS Formatierung ===== https://github.com/zogot/NetBeans-WordPress-Coding-Standards Hier als Backup, nicht das es in Zukunft verschwindet: {{ :software_handreichungen:netbeans-wordpress-coding-standards.zip |}} ==== Installation ==== Download the NetBeans-WordPress-Coding-Standards.zip file, go to Netbeans > Preferences, choose Import and choose the newly downloaded zip file. ===== Unter Ubuntu GNOME ===== ==== Während der Installation ==== ''NetBeans IDE 8.2 Installation'' -> ''JDK™ for the NetBeans IDE:'' -> ''/usr/lib/jvm/java-8-oracle'' auswählen, den Java geht unter ''/usr'' nicht. ==== Abgeschnittenen Text reparieren ==== ''Optimierungswerkzeug (gnome-tweak-tool)'' -> ''Schriften'' -> Cantarell Bold/Regular mit Ubuntu Bold/Regular ersetzen. Quelle: http://stackoverflow.com/a/37186301