I'm now using NetBeans as my Java IDE after having used Eclipse 开发者_开发百科for a while. Is there a way to export Eclipse's syntax highlighting settings for use in NetBeans, or otherwise configure NetBeans syntax highlighting to behave like Eclipse?
@nmartins: I guess eclipse color syntax coloring in netbeans would be a manual process...you can try other available color profiles by going to
netbeans->tools->options->Fonts & Colors tab and choose different Profile from drop down and click OK. You may find something closer to eclipse.
However you can get eclipse keyboard shortcuts in netbeans by selecting "eclipse" from drop-down in netbeans->tools->options->Keymap
As promised in my comment on this question I created a simple eclipse-color-scheme for netbeans. This does not claim to be complete at all, partly because some settings are just impossible in netbeans (and vice-versa it seems) and partly because this is sufficient for me at the moment.
I did put the config on github so it is easy to fork and modify if you feel something is missing and want to share your improvement.
https://github.com/Boris-de/eclipsecolors_for_netbeans
You can build the .zip yourself with maven or download a ready-to-use .zip at github.
My advice is : "When in Rome do as the Romans do".
While it maybe perfectly possible to tweak everything to look exactly as in Netbeans, you're still gonna have a hard time setting it up, keeping it running. Also you'll inevitably run against subtle and not so subtle conflicts where some "compromise" needs to be found.
In the end it slows down your learning process of the new environment and you'll spend a lot of time learning things in the UI you probably did not really want to know anyway.
I recommend to give the defaults a try for 1-2 weeks and then tweak a couple of things you really cannot get used too.
精彩评论