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

  • SEARCH
  • Home
  • 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 6552491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:27:57+00:00 2026-05-25T12:27:57+00:00

I have installed the Checkstyle plugin for Eclipse. When i habe writen now a

  • 0

I have installed the Checkstyle plugin for Eclipse. When i habe writen now a doc comment for a method and there is an empty line line between my acutal comment and the parameter list, like this:

/**
 * A comment.
 *
 * @param param A param.
 */
void aMethod(String param) {
    // some code
}

Checkstyle now complaints that there is an trailing space. And, although i didn’t put a space at that postition there is an extra space…

..../**
.....*.A.comment\.
.....*.
.....*.@param.param.A.param\.
.....*/

It looks to me that Eclipse is adding this extra space to the docblock. How can i turn that off or configure the checkstyle plugin to ignore this extra space in a docblock?

  • 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-25T12:27:58+00:00Added an answer on May 25, 2026 at 12:27 pm

    I am supposing that you have already tried going to Window -> Preferences -> Java -> Code Style -> Code Templates -> Comments and ensuring that there is no trailing space for Constructors and so on.

    I have had a lot of success with the Eclipse Plugin AnyEdit Tools. There is an option to removing trailing whitespace and another to Convert tabs to space, both of which will make Checkstyle much happier.

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

Sidebar

Related Questions

I have checkstyle plugin installed in my Eclipse. How do I disable it for
I have installed Eclipse & CDT plugin on newly installed Ubuntu. The indexing is
I have installed the acts_as_versioned plugin from github.com in my rails application, and there
I have installed the Vaadin plugin for Eclipse. I created a test sample project,
I have installed VisualStudio Express C# in my box. Now I going to install
I have installed Eclipse Indigo on Ubuntu 11.10, and the marketplace is not showing
I am using NetBeans 6.5. For CheckStyle, I have downloaded and installed the nbcheckstyle.nbm
I have installed Eclipse and CDT (to use C/C++ in eclipse CDT is needed),
I have installed NppExecute plugin in notepad++. I am not able to figure out
I have installed the latest ncurses library which my project is using. Now, I

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.