PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, July 9, 2022

[FIXED] How to make default codes to appear when you type a keyword and hit tab in Eclipse

 July 09, 2022     eclipse, java, keyword, tabs     No comments   

Issue

I started to learn Java in my computer science studies, and I need a lot to use printing methods System.out.print();, System.out.println();, and System.out.printf();, I searched in Google and I didn't find the right answer maybe cause I don't know how to ask it. Anyway, I'm looking for a way to set up some ready codes to appear when I write a certain keyword and hit tab like in Sublime text in HTML we can just write "lorem" and press Tab and it will display the Lorem Ipsum paragraph. Thank you for your help guys


Solution

They're called Templates, and are activated as part of content assist with Ctrl+Space. You'll find the page for them in your Preferences under Java->Editor->Templates.



Answered By - nitind
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing