You are not logged in. Please login at www.codechef.com to post your questions!

×

Eclipse default code template

Every time I create a new java file, I want the Fast I/O code to be automatically present in that file so that I can save time by not typing it. Can anyone help me do this??

asked 28 Nov '14, 11:43

abeyaar's gravatar image

1★abeyaar
33422140
accept rate: 30%


Do you know what code templates in Eclipse are?

Window -> Preferences -> Java -> Editor -> Templates

You can define your own and when you type for example FASTIO and hit CTRL+SPACE, select your template and press enter everything you put into template will be written in your file...

link

answered 28 Nov '14, 12:44

betlista's gravatar image

3★betlista ♦♦
16.9k49115225
accept rate: 11%

Yo! @betlista , got it. Thanks :)

(28 Nov '14, 14:21) abeyaar1★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,302
×16

question asked: 28 Nov '14, 11:43

question was seen: 638 times

last updated: 28 Nov '14, 14:21