Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Confused about making a Java code template
Confused about making a Java code template [message #1794384] Wed, 29 August 2018 22:31 Go to next message
Tim Kangas is currently offline Tim KangasFriend
Messages: 9
Registered: January 2014
Junior Member
index.php/fa/33777/0/I would like to make a very simple Java code file template. I would like it to look like this:

//

public class
{
public static void main(String args[])
{

}
}


But I'm looking at the Code Templates dialog box and I'm bewildered. There is no New button either. Can someone show me what to type or how to enter in what I need to create my template?
Re: Confused about making a Java code template [message #1794394 is a reply to message #1794384] Thu, 30 August 2018 07:18 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

That preference page is for templates used as part of specific actions in the UI. You probably want the page under the Editor's Content Assist category.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Debugging OpenJDK 8 C++ sources using Eclipse
Next Topic:Infocenter WAR with Photon
Goto Forum:
  


Current Time: Fri Apr 26 05:05:36 GMT 2024

Powered by FUDForum. Page generated in 0.08472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top