Getting the best of NetBeans IDE
-
Upload
leonardo-zanivan -
Category
Technology
-
view
1.270 -
download
0
Transcript of Getting the best of NetBeans IDE
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 121
Getting the best of NetBeans IDE
Leonardo Zanivan
NetBeans Day Brasil
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 122
About me
● Software Architect● OSS Contributor● JCP Member● Java, JavaScript, fun stuff 😉
@leonardopangagithub.com/panga
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 123
▪Editor enhancements▪Debugger & profiler enhancements▪Node.js enhancements▪ECMAScript 6 support▪Awesome plugins▪Docker support
What is new in NetBeans 8.2?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 124
▪Multicarets
Enter multi-caret mode: CTRL+SHIFT+MCLICK
Editor enhancementsLittle things matter
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 125
▪Pinnable watches
Debugger enhancementsLittle things matter
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 126
Profiler enhancementsDiscover loopholes and slowness in SQL queries
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 127
▪Grunt / Gulp tasks from Navigator
Node.js enhancementsJavaScript dominance
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 128
▪Classes (constructor, extends, super, etc.)
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 129
▪Arrow functions
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1210
▪Computed property names
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1211
▪Property initializers
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1212
▪Constants
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1213
▪Block scope declarations
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1214
▪Template literals
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1215
▪String/Number/RegExp literals
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1216
▪Array destructuring assignment
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1217
▪Object destructuring assignment
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1218
▪Support modules
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1219
▪Default parameter values (check type)
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1220
▪Generators
ECMAScript 6 supportJS.next
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1221
▪Dark Look And Feel Theme▪TypeScript Editor http://plugins.netbeans.org/plugin/60605
▪JSHint integration http://plugins.netbeans.org/plugin/58580
Awesome PluginsBe happy
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1222
“TypeScript is a language for application-scale JavaScript. TypeScript adds optional types, classes, modules and
annotations to JavaScript.”
TypeScript EditorSuper JavaScript
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1223
“TypeScript provides autocompletion, type checking and source documentation.”
TypeScript EditorSuper JavaScript
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1224
“JSHint is a popular, community-driven tool to detect errors and potential problems in JavaScript code.”
JSHint integrationJavaScript Quality
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1225
▪Search for .jshintrc configuration file in project paths▪Created by me to fill a gap with other IDEs & Text Editor▪Contributions are welcome https://github.com/panga/netbeans-jshint
JSHint integrationContribute
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1226
"Docker packages your application into a standardized unit for software development."
Docker supportDevOps
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1227
$ sudo vim /etc/default/dockerDOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
$ sudo service docker restart
Docker supportPrepare
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1228
Docker supportConfigure
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1229
▪Pull / push images▪Manage containers (start / stop / remove)▪Attach to container bash▪See container logs▪Create Dockerfile with syntax support▪Build images
Docker supportWhat can I do?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1230
Hint: Fix ugly font rendering in LinuxBefore
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1231
Options:▪Replace Linux fonts / Install extra packages▪Use awt.useSystemAAFontSettings (FaqFontRendering)▪Use TuxJDK https://github.com/tuxjdk/tuxjdk
Hint: Fix ugly font rendering in LinuxSave my eyes
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1232
Hint: Fix ugly font rendering in LinuxAfter
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1233
Wait for Beta coming soon 😔|| download nightly builds right now! 😊http://bits.netbeans.org/dev/nightly/latest/
NetBeans 8.2Give it to me!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1234