Nick Sieger: Tag netbeans tag:blog.nicksieger.com,2005:Typo Typo 2010-11-22T18:19:57+00:00 Nick Sieger urn:uuid:ef52ee82-3d63-4899-9170-5f26293291fc 2008-02-08T15:13:16+00:00 2010-11-22T18:19:57+00:00 Screencast: RSpec and NetBeans <p>A <a href="http://www.netbeans.tv/screencasts/Nick-Sieger-Uses-RSpec-with-the-NetBeans-Ruby-Support-305/">new screen cast is up</a> with yours truly showing off <a href="http://wiki.netbeans.org/RubyTesting">NetBeans&#8217; RSpec support</a>&#46; Additionally, I tried to make it interesting to a wider audience by really showcasing RSpec&#8217;s strengths, and trying to capture some of the <a href="http://en.wikipedia.org/wiki/Test-driven_development" title="Test-driven development - Wikipedia, the free encyclopedia">red&#45;green&#45;refactor</a> rhythm&#46; NetBeans does work really well for this, but in my mind, the star of the show is <a href="http://rspec.info/" title="RSpec-1.1.3: Overview">RSpec</a>&#46;</p> <p>I&#8217;m pleased with how it turned out considering I hadn&#8217;t done this sort of thing before&#46; Special thanks to Cindy Church for putting it all together, including all the production: setup, recording, editing, even the music!</p> <p>A <a href="http://mediacast.sun.com/users/cindo/media/NickSiegerRSpec.mov">QuickTime movie</a> version is available as well&#46; Check it out and let me know what you think&#46;</p> Nick Sieger urn:uuid:b9b68f1b-b58c-4cf5-9976-459e559664c3 2007-01-25T04:23:00+00:00 2010-11-22T18:46:15+00:00 JRuby Serial Interview 4: NetBeans <p><em>This is part 4 in our <a href="/articles/tag/jrubyserialinterview">ongoing conversation</a> tracking the development of JRuby&#46;</em></p> <p><em>This episode we&#8217;re pleased to have <a href="http://blogs.sun.com/tor/">Tor Norbye</a> and Martin Krauskopf from Sun with us to discuss <a href="http://netbeans.org/">NetBeans</a>&#46;</em></p> <p><em>If you&#8217;re a Rubyist, why should you care about NetBeans? Isn&#8217;t that one of those big honkin&#8217; Java IDEs? Well, due to the hard work of Tor and Martin, NetBeans will soon be a world&#45;class Ruby and Rails editor and development environment&#46; All made possible by JRuby underneath the hood&#46; Don&#8217;t believe me? Then read on&#46;&#46;&#46;</em></p> <p><strong>So, what are you hoping to accomplish with NetBeans Ruby support? Any lofty goals? Is your target audience Ruby hackers, or Java programmers looking to try something new?</strong></p> <p><em>Tor Norbye:</em> Anybody writing code using Ruby&#46; That would include both experienced Ruby developers as well as newbies trying out the language&#46;</p> <p>The lofty goal is to provide First Class Support for Ruby such that where possible, the Ruby support is as good as the Java support&#46; There are obviously areas where Ruby&#8217;s dynamic nature makes it hard to provide the same features as those available for Java, such as the various refactoring operations and quickfix features that rely on static typing&#46; But that doesn&#8217;t mean we won&#8217;t try&#46; I think a Rename refactoring operation that has some limitations is still better than just Search/Replace&#46;</p> <p>That&#8217;s the area I&#8217;m most excited about getting into&#46; Until now I&#8217;ve been working on getting all the basic IDE infrastructure in place such that the vital parts are there and we can start building more smarts on top&#46;</p> <p><em>Martin Krauskopf:</em> Simply the target is the full debugging support in NetBeans like it is in <a href="http://rubyeclipse.sourceforge.net/">RDT</a>&#46; I contacted <a href="http://cwilliams.textdriven.com/">Chris (Williams)</a>, Markus (Barchfeld) and <a href="http://jroller.com/page/murphee">murphee (Werner Schuster)</a> from RDT regarding cooperation on the backends&#46; Realize that actually backends are currently their effort on which they&#8217;ve spent a lot of time&#46; I&#8217;ve started with some mini&#45;fixes and would like to continue on the cooperation more and more so they will also get something back&#46; But the cooperation is <em>very</em> young so I&#8217;ll have more to say later, I think&#46; So however there are still a lot of work on NetBeans frontend I want to get as much as possible also in the backends works&#46;</p> <p><em>Thomas Enebo:</em> Martin just sent an <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=31511654&amp;forum_id=9198">interesting email to the RDT list</a> on a debugging specification and a cross IDE debugger project on Rubyforge&#46;&#46;&#46;&#46;Fun times&#46;</p> <p><a href="http://flickr.com/photo_zoom.gne?id=368608547&amp;size=o" target="_blank" title="Photo Sharing"><img src="http://farm1.static.flickr.com/120/368608551_ed57f9c8be_o.jpg" width="520" height="410" alt="netbeans-class-compl-snapshot" /></a><br/> <em>NetBeans Ruby support (click through the image for a full&#45;screen shot)&#46; There is <code>test/unit</code> output, and you can see completion of class names with an RDoc popup&#46;</em></p> <p><strong>When will we see a public release of NetBeans Ruby support? What are some of the features we can expect to see? Will there be Rails support?</strong></p> <p><em>Tor Norbye:</em> I wish I could answer <em>when</em> it&#8217;s going to be released, but that&#8217;s not in my hands&#46; I started the work in closed source, as part of the Project Semplice work&#46; And when code doesn&#8217;t start in open source in the first place, there&#8217;s a Sun process to be followed to release it, such as a legal review, etc&#46; etc&#46; It&#8217;s going through that process now &#45; and has been for quite a while, so I&#8217;m hoping it will be released soon, very soon&#46; Without promising anything obviously, think weeks&#46;</p> <p>As I said earlier, the goal for the feature list is to offer the same features that are available for Java: good editing, projects support, debugging, web application support, etc&#46; Yes, there will be Rails support&#46;</p> <p>The current feature set, which is what you&#8217;d see if I got the green light to commit into NetBeans CVS today, is heavy on editing support&#46; There is semantic highlighting, code completion, various other editing features such as pair&#45;matching, smart indent, etc&#46; There is also some basic projects support and Rails support&#46; My coworker Martin Krauskopf is working on a debugger and that work is coming along nicely&#46;</p> <p><a href="http://flickr.com/photo_zoom.gne?id=368608554&amp;size=o" target="_blank" title="Photo Sharing"><img src="http://farm1.static.flickr.com/106/368608555_a000b91d52_o.jpg" width="520" height="426" alt="netbeans-rails-support" /></a><br/> <em>NetBeans Rails support (click through the image for a full&#45;screen shot)&#46; RHTML editing, project tree and generator access are shown&#46;</em></p> <p><strong>I&#8217;ve got this killer feature idea for a Ruby editor&#46; How can I get it into NetBeans?</strong></p> <p><em>Tor Norbye:</em> Well, it will all be open source, so the easiest way to do it would be to <a href="http://www.netbeans.org/community/contribute/">join the NetBeans open source project</a> and enhance the Ruby editor directly&#46; NetBeans itself obviously has lots of extensibility APIs, and the Ruby editor may offer its own to register additional quickfixes etc&#46; At this point that has not been my focus&#46;</p> <p><em>Thanks to Tor and Martin for joining us! For up&#45;to&#45;date progress on Ruby support in NetBeans, follow along on <a href="http://blogs.sun.com/tor/">Tor&#8217;s blog</a>&#46; And if you have further questions, please leave a comment&#46; What would you like to see in NetBeans Ruby support?</em></p> Nick Sieger urn:uuid:e57a84b2-4955-4eeb-83bd-dadd74554ba1 2008-07-08T18:10:01+00:00 2010-11-22T23:39:47+00:00 Version Control + Bug Tracking Survey + NBPython <p>At Sun, I work in the Developer Tools and Services group, home of NetBeans, Sun Studio, and a bunch of other developer&#45;focused tools&#46; The <a href="http://code.network.com/invite/">project I&#8217;m working on</a> is a developer collaboration site where source code version control and bug tracking are essential components&#46;</p> <p>Of course, we can&#8217;t call ourselves programmers if we&#8217;ve never gotten into a <a href="http://www.freebsd.org/doc/en/articles/mailing-list-faq/bikeshed.html">bikeshed</a> argument about which VC or bug tracking system is best, so we&#8217;ve <a href="http://www.surveymonkey.com/s.aspx?sm=xU6w8ry3_2f3IGfQZEn7s1hg_3d_3d">set up a survey for you to vent your opinions on the topic</a>&#46; Check it out, just two simple questions, it will take you all of 10 seconds to respond&#46; I&#8217;ll publish or point to results in a week or two after the number of responses has grown above level of statistical significance&#46; Thanks in advance for your votes!</p> <p>In loosely&#45;related news, <a href="http://www.sauria.com/blog/" title="Ted Leung on the Air">Ted Leung</a> and <a href="http://fwierzbicki.blogspot.com/" title="Frank Wierzbicki's Weblog">Frank Wierzbicki</a> announced at <a href="http://www.europython.org/">EuroPython</a> today that Python (and Jython) will be fully supported in a future version of NetBeans, targeting the end of the year for end&#45;user functionality&#46; See <a href="http://koberoi.com/2008/07/08/print-netbeans-python-nbpython-project/">Kuldip Oberoi&#8217;s</a> announcement for more details&#46;</p> <div class="thumbnail"><a href="http://skitch.com/nicksieger/xm5e/nbpyscreen.png-png-image-1152x720-pixels-scaled-97"><img src="http://img.skitch.com/20080708-p2x4h3u6f2mthu9cq4ntytumsx.preview.jpg" alt="nbpyScreen.png (PNG Image, 1152x720 pixels) - Scaled (97%)" /></a></div> <p>What&#8217;s great about this is that the NetBeans team has decided to embrace an <a href="https://nbpython.dev.java.net/">existing community effort</a> started by <a href="http://codesnakes.blogspot.com/">Allan Davis</a>, and they&#8217;re looking for contributors, so if you dabble in Java but would rather be writing Python, maybe you can <a href="https://nbpython.dev.java.net/servlets/ProjectMailingListList">step up and help them out</a>!</p>