Monday, 10 February 2014

9 Tips On Making The Best Use Of The Eclipse IDE!

Eclipse is one of the most popular tools used by web designers all over the world. 

It is surprising how many well trained and experienced developers use Eclipse in an inefficient manner. Many don't know how useful the IDE can actually be. Here are 10 tricks that will help you manage Eclipse and boost your productivity.
type, Eclipse IDE, Java, best eclipse tips, eclipse tutorials, best use of eclipse.
1. Text File Encoding: Under the default setting eclipse uses the encoding that suits your operating system. But if you’re looking to build a platform independent application then you will have to use the UTF-8 encoding. This takes care of problems with issues with special characters when running on a different OS. You can do this from the Preferences Menu -> General -> Workspace from your project specific settings.

2. Save automatically: Before starting on a build, choose the save automatically feature. This makes it easier to work on your project. This you can do from Preferences -> General -> Workspace.

3. Type Filters: This one is especially useful for RCP and SWT developers. Type filters can be used in order to remove suggestions for specific types like classes, interfaces etc. from the ‘Open Type’ dialog. These can be set from Preferences -> Java -> Appearances -> Type Filters.

4. “Step Filtering” not Debugging: This can be used in order to remove the types that you don’t want to see during debugging. Many developers like to do this as it helps them focus on the actual code without being distracted by other tasks. It is available under Preferences -> Java -> Debug -> Step Filtering.

5. Launch the previously launched application: This is important because it makes sure that the last configuration that you used is used in your new project as well. Without this, Eclipse’s default setting is to try to determine what the most appropriate configuration for the current projectis. You can set this using Preferences -> Run/Debugg-> Launching.

6. Store your Launch Configuration in a Project: The launch configuration is often something that developers spend a lot of time on. This can be saved into a file that can be further used in your various projects or builds. This comes from Menu -> Run -> Run Configurations -> Launch Configuration Tab -> Common.

7. Make a Launch Configuration always appear in the Menu: You can choose your favourite launch configuration and make them your permanent launch or debug menu. For this go to, Menu: Run -> Run Configurations -> Launch Configuration.

8. Organise imports on save: Removing and changing codes can lead to imported files becoming obsolete. In order to fix this and organise your import you will need to use Shift+Ctrl+o for Windows and Shift+CMD+o on Mac. This can be done from Preferences -> Java ->Editor -> Save Actions or in project specific settings.

9. Format edited lines on save: No matter who rode it, the Eclipse IDE makes sure that the code look uniform irrespective of who is writing the code. In this though, it is advisable to format only the edited lines of a code rather than formatting the entire body.

10.The code formatter in Eclipse is a very useful thing. It ensures that the code looks consistent in your projects — no matter who wrote it — and can be easily read and understood by anyone else. But, formatting the whole file can seriously mess up a diff between two versions of the file. So ‘format only edited lines on save’ might be the right choice if you want the have your code formatted and still be able to see what was changed in your code later on. This is available from Preferences > Java > Editor > Save Actions. 


Enjoy Eclipse
Shivam Kotwalia, CodeKill

No comments:

Post a Comment

Blog Archive

Labels

Tutorial (129) Tech News (83) E-Books (55) Pdf (47) Hacking (46) Linux (32) Android (23) Programming (22) Tools (22) Video (21) Ethical Hacking (16) Electronics (12) Google (10) Hacked (9) Python (9) Facebook (8) Java (8) Software (8) PHP (7) Android App (6) C (6) Free Online Coureses (6) OpenSource (6) Ubuntu (6) Unix (6) Windows (6) C++ (5) Game Programming (5) Java Programming (5) Kali Linux (5) CodeKill (4) Cryptography (4) Firefox (4) JavaScript (4) Linux System Administrator (4) Mac (4) Penetration testing (4) Python Programming (4) Security (4) Top Distros (4) WhatsApp (4) CSS (3) Circuit (3) Cloud Computing (3) Game Devlopment (3) Hacking Tools (3) Malware (3) MicroController (3) Microsoft (3) Networking Tool (3) Perl (3) Source Code (3) WebSite (3) Windows 8.1 (3) C Programming (2) C Series (2) C# (2) CheetSheet (2) Computer (2) Computer Networking (2) Data Storage (2) Dual Boot (2) Eclipse (2) Edward Snowden (2) Exploit (2) Facts (2) Games On Linux (2) Google Chrome (2) HTML5 (2) Hacking Challenges (2) IDE's (2) Information Security (2) Lenovo (2) Linux Kernel (2) Malicious (2) Mobile (2) Motorola (2) Mozilla (2) MySQL (2) NoSQL (2) Raspberry Pi (2) Ruby (2) Security Tools (2) Syrian Electronic Army (2) Tricks and Tips (2) Valentine Day (2) Web Design (2) iOS (2) iPhone (2) jQwery (2) *nix (1) 2014 (1) 3D Modeling (1) Algorithm (1) Android Hacking (1) Android Pattern Lock Screen.. (1) Anonymous Mail (1) Anti-Spam (1) Apps (1) Arduino (1) Artificial Intelligance (1) Audio Software (1) BSD (1) BeAWARE (1) Bitcoin (1) Black Hat Hackers (1) BlackBerry (1) Buffer Overflow (1) C++ vs Java (1) CISO (1) Circuit Analysis (1) Circuit Design (1) Circuit Programming (1) Circuit Simulators (1) Codes (1) Crptology (1) Cryptanalysis (1) DDOS (1) Devlopers (1) Drupal (1) DuckDuckGo Search Engine (1) E-Card (1) E-Mails (1) Embedded System (1) Encryption Tools (1) Error (1) FTP (1) Famous Passwords (1) FileZilla (1) Flipkart (1) Forbes (1) Forgot Password (1) GCHQ (1) Genders (1) Gmail (1) Google Tricks and Trips (1) HTML (1) Hacking Distro (1) Hard Disk (1) Hash Encryption (1) Illegal (1) Internet (1) LAMP (1) Language Theory (1) LibreOffice (1) Linus Trovalds (1) Logic Gates (1) MATLAB (1) MOSFET (1) Mail (1) Mark Zuckerberg (1) Mathematical (1) MicroProcessor (1) Mind Mapping Tools (1) Myntra (1) NoSQL Database (1) Nobal Prize (1) Nokia (1) Object Oriented Programming (1) Office (1) Oldboot (1) Online (1) Paranoid Android (1) Passwords (1) Passwords Cracking Tools (1) PayPal (1) Perl Programming (1) Plugins (1) Prolog Programming (1) Python Basics (1) Remote (1) SEA (1) SQL Injection (1) Sans (1) Screencasts (1) Screenloggers (1) Server Load (1) Servers (1) Shell (1) Software Design (1) Software Developer (1) Software Testing (1) Sony (1) Spider.io (1) Statistical (1) Steve Jobs (1) TCP/IP (1) Timeline (1) Tor (1) Trojan (1) Ubuntu Phones (1) VAIO (1) Virus (1) Web Designers (1) Wi-Fi Hacking (1) Windows Tools (1) Windows XP (1) WordPress (1) XML (1) Yahoo (1) YouTube (1) cpp (1) eBay (1) iBanking (1)