I've used Eclipse in one form or another for a long, long time now. Mostly in it's NDS/NWDS guise it has always had a certain number of "features" that can drive you round the bend. Often, the easy way to fix many issues is by performing a simple re-start of the software itself - my colleagues often have me shouting at them if they come to me with an NWDS issue and haven't restarted it before asking for help :wink:
Anyway, I thought I'd add a few hints and tips that make my life easier with NWDS/Eclipse and could be useful as more and more people turn to it for UI5 development. Really, for me it is all about simplicity when typing code and I've got into a nice workflow with how I use NWDS/Eclipse for editing Java/JavaScript type files. Of course, like with many things YMMV...
If you've spent any time at all looking at the Windows->Preferences options of Eclipse/NWDS you will see there are lots of settings to meddle with. Many are Eclipse centric but also, as you add other software such as SAPUI5, ABAP, HANA, CE, etc plus other random plugins you quickly get a lot of options to make the software work your way. I'd recommend you take a decent chunk of time to work through all of the options and see what they can do. Here's my starter for 10:-
String myStr = new String("Some text");
myOtherObject.setStri
When I then press CTRL-space, it will auto complete with the correct object name - a small thing but a great help when you are writing lots of code:myOtherObject.setString(myStr);
Aside from these couple of Preferences tweaks, given UI5 makes use of ResourceBundles as properties files, I remembered a plugin I used years ago to help out with translations in an SAP CRM ISA WebShop installation I worked on - you can download it from here. It is a simple tool but for me, makes working with ResourceBundles that bit less painful as it gives a much nicer UI to handling the files. Download the zip from Sourceforge, extract and copy the correct folder into the plugins folder within your Eclipse installation. You are then able to right click on your "i18n.properties" file and Open With -> Resource Bundle Editor, which gives you this view:
Whilst I appreciate many will simply not like the complex nature of Eclipse and its many "features" I find with perseverance you can make it work in a really productive manner. Sublime Text is another favourite tool but for me, NWDS supports CE, PO, BPM, BRM, WD, ABAP, etc. hence I'd prefer to put efforts into making it work as I want, instead of using different tools for different jobs.
One final tip - don't forget to use the File->Export->General->Preferences option to save your Eclipse pref's locally and apply them to any installations you use.
Hope some of this is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
50 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 |