<div dir="ltr" style="text-align: justify;" trbidi="on">
<div class="entry single">Editors are an integral part of a programmer’s life. If you have good proficiency in using an editor thats a great advantage. It comes very handy to debug. Traditional notepad and SOPs (System.out.println) are the way we start learning a language but that is not sufficient, so beginners start using an IDE and most importantly know the shortcuts. For java developers there is a huge list and some popular areEclipse, Netbeans, IntelliJ Idea. I use Eclipse as my IDE and vim as a light weight editor. <br />
This article is for those who use or intend to use Eclipse as IDE. Keyboard shortcuts are very important for comfortable and quick editing. I have abridged the following list of eclipse shortcuts from my own experience and literature. </p>
<h2>File Navigation – Eclipse Shortcuts</h2>
<ul>
<li>CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough.</li>
<li>CTRL E – Open a file (editor) from within the list of all open files.</li>
<li>CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.</li>
<li>ALT <;- or ALT ->; – Go to previous or next edit positions from editor history list.</li>
</ul>
<div align='center' id="ads-id"></div>
<h2>Java Editing – Eclipse Shortcuts</h2>
<ul>
<li>CTRL SPACE – Type assist</li>
<li>CTRL SHIFT F – Format code.</li>
<li>CTRL O – List all methods of the class and again CTRL O lists including inherited methods.</li>
<li>CTRL SHIFT O – Organize imports.</li>
<li>CTRL SHIFT U – Find reference in file.</li>
<li>CTRL / – Comment a line.</li>
<li>F3 – Go to the declaration of the variable.</li>
<li>F4 – Show type hierarchy of on a class.</li>
<li>CTRL T – Show inheritance tree of current token.</li>
<li>SHIFT F2 – Show Javadoc for current element.</li>
<li>ALT SHIFT Z – Enclose block in try-catch.</li>
</ul>
<h2>General Editing – Eclipse Shortcuts</h2>
<ul>
<li>F12 – Focus on current editor.</li>
<li>CTRL L – Go to line number.</li>
<li>CTRL D – Delete a line.</li>
<li>CTRL <;- or ->; – Move one element left or </li>
</ul>
</div>
<p>References-<br />
http://javapapers.com/<br />
http://www.eclipse.org/
</div>
<div class="wp-post-navigation"> 
									 <div class="wp-post-navigation-pre"> 
									 
									 </div> 
									 <div class="wp-post-navigation-next"> 
									 <a href="https://dineshonjava.com/we-would-like-to-work-for-some/">Next</a> 
									 </div> 
									</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
 $.post('https://dineshonjava.com/wp-admin/admin-ajax.php', {action: 'mts_view_count', id: '696'});
});
</script>
Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement…
Decorator Pattern A decorator pattern allows a user to add new functionality to an existing…
Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows…
Technology has emerged a lot in the last decade, and now we have artificial intelligence;…
Managing a database is becoming increasingly complex now due to the vast amount of data…
Overview In this article, we will explore Spring Scheduler how we could use it by…