Showing posts with label netbeans. Show all posts
Showing posts with label netbeans. Show all posts

Wednesday, March 07, 2012

Tuesday, August 11, 2009

Native2Ascii plugin for netbeans 6.7

You can download version for netbeans 6.7 from kenai page.

Friday, May 15, 2009

v1.9.4 serialVersionUID generator for netbeans 6.7 released

Changelog:
  • project moved to Kenai
  • changes to work with Netbeans 6.7
  • fixes in svuid generator
  • new SuppressWarning("serial") hint
Download from plugin site.

Saturday, February 21, 2009

Native2Ascii plugin for netbeans 6.5

After some time of finding myself I am back... 2 days ago my friend and colleague ask me if I know about netbeans feature to convert native characters to ASCII. Same as native2ascii command line but integrated in netbeans editor. Quick answer in my mind: There has to be some plugin, so UTFG... After googling by myself I found only this one. It looks well, but there is no integration with netbeans editor.
So what I did? I wrote plug-in according to my vision. I know it's not good approach to use native characters in java source at all. Better idea is using properties bundles. But sometimes it's OK, when you want to write some small piece of code which is used only by yourself.
Some screenshots:

1. You can use java editor hint:
2. Or just press CTRL+SHIFT+A or right mouse click on selected text:

3. and result is:

You can download this plugin here. Sources can be found in project site.

Tuesday, December 30, 2008

New RemoteFS project site

Because I receive some comments on my blog about remotefs plug-in, I decided to create google project where you can create issues about this plug-in. So when you find some bug or feature request, please create issue on project site.

Link for project is:
http://code.google.com/p/nb-remotefs

Issues list:
http://code.google.com/p/nb-remotefs/issues/list

Thursday, October 30, 2008

serialVersionUID generator for netbeans 6.5 released

Changelog:
  • API changes to work with Netbeans 6.5
  • works with JFrame and JPanel in Matisse since issue #140653 fixed
Download from plugin site.

Monday, September 08, 2008

I am a netbeans fan, so what...

Time ago I read some blogs about ftp support for php projects in netbeans. I was thinking... Why ftp only? Where's support for SFTP and other protocols? It should be great to have an abstract API for remote file systems and lot of implementations for other protocols. So I started to look into netbeans sources. I found remotefs project in contrib repository. I was thinking: "it's great to see this. Netbeans for PHP must use this". So I started implementation of SFTP protocol. When I was in half of my work I looked into sources of netbeans php modules.
And what I discover? It uses own implementation of FTP protocol. Hmmm, so what now???

Because my primary targer was php module, I didn't know why should I continue write this plug-in. So I decided to rewrite remotefs API and it's implementation to more abstract level because it looks like it's tightly coupled with FTP protocol implementation.

Now I am releasing first alpha quality release. Maybe this is good starting point for integration of this plug-in into existing netbeans features...

You can download it here.
If you are interested in sources are available via mercurial repository.

PS: These modules uses same namespace (package) as mentioned project remotefs in main/contrib. So don't install this modules when you already have it installed.

Screenshots:


Sunday, July 13, 2008

serialVersionUID generator for netbeans v1.5 released

Changelog:
  • hint configuration was moved to "general" group
  • refactoring in Descriptor class
  • support for SuppressWarrning("serial") annotation
  • abstract classes are excluded from generator and hint
Download from plugin site.

Wednesday, May 28, 2008

SerialVersionUID generator v1.9 for Netbeans 6.5 nightly builds

As I mentioned generator v1.3 is not compatible with api changes in 6.5 dev builds. So I created serialVersionUID generator v1.9 that supports 6.5 nightly builds... You can download nbm here.

Tuesday, May 27, 2008

SerialVersionUID generator v1.3 for Netbeans 6.1

Today I updated new version of generator for serialVersionUID field. It generates default value (1L) or generated value from source code. You can use it as java editor hint or code generator.



Iteresting is that it generates uid in correct way only for some cases. Correct way I mean sun's javac. Algorithm uses uses this directions to calculate value. Maybe there is problem with descriptors of fields, methods and constructors. I'll investigate it to create patch. But if you want to participate sources are in this mercurial repository.

Download plugin.

This version doesn't work with 6.5 nightly builds. See this post.

Monday, March 31, 2008

Generating of serialVersionUID in Netbeans 6.0+

Hello,

some time ago I wrote question about generator of serialVersionUID in netbeans. After that I saw issue in bugzilla describing this problem. I decided to write this plug-in because I can't see any progress on this issue. For now it generates only default serialVersionUID = 1L. I am working on hash method that generates serialVersionUID from fields and methods. You can find plug-in on netbeans plug-in site.

Thanks to geertjan's posts Fixable hint and Java Hint Generator development was really easy.

Note: Third picture shows code generator which works only in netbeans 6.1-dev. You can download plug-in for 6.1-dev from this location.

Fixable editor hint


Generated serialVersionUID


Code generator from context menu works only in netbeans 6.1-dev