Skip to main content

Shortcut key to align code in eclipse


While learning java or working with java, we may need to copy a code from other source like internet or other files. When we do that the code may looks messy like before.

which is not in standard and difficult to work on complex logics.


Below key is useful to align the messy code:

     Ctrl + Shift + F: 

      • Formats a selected block of code or a whole source file. 
      • Format messy code to Java-standard code. 
      • If a code block is not selected, Eclipse applies formatting for the whole file.



#shortcut key to align code in eclipse
#shortcut_key_to_align_code_in_eclipse
#shortcut_key_to_format_code_in_eclipse
#shortCut key to format code in eclipse
#shortcut_key_to_code_alignment_in_eclipse
#Auto-Alignment Shortcut Key in Eclipse






























Comments

Popular posts from this blog

The First 10 People Who Sign up On Facebook

The First 10 People Who Sign up On Facebook 10. Zach Bercu sphotos-b.xx.fbcdn.net “The past eight years have been extraordinary,” Bercu said. A graduate of Emory’s medical school, Bercu spent a year in Israel, where he became fluent in Hebrew. He completed his residency in New York, part of the last intern class at St. Vincent’s, whose “hospital infrastructure crumbled around me,” he remembered of the facility, which closed in 2010. Now a resident at Mount Sinai in radiology, Bercu plans to complete a fellowship in interventional radiology, a form of “micro-surgery.” From his undergraduate years, “whether through Facebook or in person,” Bercu says he “took with me some of the greatest friendships one could have.” 9. Manuel Antonio Aguilar publicogt.com Aguilar calls himself a social entrepreneur “focused on the base o...

Do not automatically mark mail as read in Outlook

You may know already, but few of my friends facing the below confusion , so thought of sharing with you. When quickly going through my emails, often we haven’t actually really read the emails but Outlook already marks them as read. This is quite confusing unless we mark them as unread again which takes more time and defeats the purpose of quickly going through our emails. The options for how and when Outlook should mark emails as read can be found in; Outlook 2007 and previous Tools-> Options…-> tab Other-> button Reading Pane… Outlook 2010, Outlook 2013 and Outlook 2016 tab View-> Reading Pane-> Options… The default is set to mark items as read when you select another email. When you disable this option, all mails remain as unread unless you manually mark it as read or double click the message to open it in its own window. Once you uncheck  “mark items as read when selection changes”, the mail will change to read only w...

Money Making Apps For Your Android Smartphone

Money Making Apps For Your Android Smartphone Article Category: Manikandan A little while ago, we put together a list of money making apps for iPhone owners . This has quickly become one of our most popular articles and, from the emails we’ve received, readers seem impressed by the options they have. But what about all you owners of Android smartphones ? Surely there must be some apps that can make you money ? Yes, there are. Here’s seven of the best: MintCoins Have you ever thought it would be cool to earn money from doing something as simple as downloading an app? Well, with " MintCoins ", that’s exactly what you get. But, wait! That’s not all; there are a huge number of tasks that, once completed, earn you extra cash. The time honoured offer of cash for completing a survey is one of the standard tasks you’ll be given. But MintCoins has a range of other ways to make extra money with little to no effort. Want ...