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.
10 comments:
:) you are a hero
ough dear, for you everything...
is there also a reverse function?
(or better: a tooltip, what the encoded ascii means)
it should also work in .properties files
an an option to disable the hints
There is no reverse function for now.
You can disable hint through Options menu. Tools -> Options -> Editor -> tab Hints.
Select language Java from combo box. Then disable hint in category "General".
Hi:
i'm a happy user of your plugin,
is perfect for me.
But...
In netbeans 6.7 i can't use your plugin.
Arturo, you can download plugin from http://kenai.com/projects/nb-native2ascii/downloads/directory/nbms/6.7
and i want something like this for netbeans 5.5 (the best netbeans ever existed ;-) and .property files
You could participate in the Promotion once as} during the Promotion Period. You is not going to be eligible to obtain any other registration bonuses. 헤븐카지노 Your browser might be in incognito mode or using plugins which might be} blocking a few of our features.
Post a Comment