Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6646297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:23:57+00:00 2026-05-26T00:23:57+00:00

At present if I type /* and press enter I get the follwing .

  • 0

At present if I type “/*” and press enter
I get the follwing .

/*
*
*/

Is there a setting somewere that allwos me to make the default like this

/*
* TESTING 
*/

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:23:58+00:00Added an answer on May 26, 2026 at 12:23 am

    Indeed there is! Assuming you want to change the Java code templates (though it’s similar for other plugins too):

    First, go to Window -> Preferences.
    Window Dialog

    Then, Java -> Code Style -> Code Templates -> Comments.
    enter image description here


    Now that I have a better idea of what you are looking for, I think what you want is to define a custom code template.

    Again, go to Window -> Preferences.

    Then, Java -> Editor -> Templates. Create a new template.

    Under name give it something like ‘xxx’ so you won’t collide with other reserved words (unfortunately, anything with / or /* is reserved). For the pattern, just add the following:

    /*
     * TESTING
     */
    

    Custom Template

    Now, when you type ‘xxx’ then CTRL+<space> in the editor, it will replace it with your comment template.

    See also: Eclipse Code Templates (pdf)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At present I'm having to do something like this to build a Type definition
I have created a class Person that looks like this: public class Person {
I suppose this is quite a common SP present in socialnetworks and community type
Is there a way to prevent someone from faking a mime type on a
At present it seems that VS2008 still isn't supported either in the 5.1.5 release
How can I present a control to the user that allows him/her to select
So i'm trying to initialize a variable in my opencl host code like this:
I have an ArrayList of type String that contain certain values. I want to
When adding strongly types Views or Controllers every effing type present on my system
I am trying to present a view controller (a passcode request type view) every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.