Opened 3 years ago

Last modified 3 years ago

#17047 assigned task

Document how to use the checkstyle plugin provided by JOSM in Eclipse

Reported by: GerdP Owned by: Don-vip
Priority: normal Milestone:
Component: Core Version:
Keywords: eclipse checkstyle Cc:


See #16938#comment3 and #16938#comment7

I tried to put the file \josm\core\tools\checkstyle\checkstyle-all.jar into dropins\plugins as well as
plugins,each time followed by a start with eclipse -clean. I saw no effect.

Maybe I have to uninstall the "normal" checkstyle plugin?

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by Don-vip

Keywords: eclipse checkstyle added
Owner: changed from team to Don-vip
Status: newassigned
Summary: How do I use the checkstyle plugin provided by JOSM in Eclipse?Document how to use the checkstyle plugin provided by JOSM in Eclipse

Thanks for the reminder. I need to document this and without a ticket, I forgot :)

comment:2 Changed 3 years ago by GerdP

I just noticed that you fixed some of "my" formatting warnings. Maybe you can give me a short hint where I might find a solution?

comment:3 Changed 3 years ago by Don-vip

The warnings I fixed recently were related to:

  • we use only spaces characters, no tabs

Yes, but isn't this covered by a working checkstyle plugin?

Ah, then I probably should revert the use of constant TITLE? It seems to cause a parsing error.

Last edited 3 years ago by GerdP (previous) (diff)

comment:4 Changed 3 years ago by GerdP

Oops, seems I changed your reply instead of quoting it. Sorry for that.
I looked at DevelopersGuide/ShortcutsList and it still shows a parsing error. I also found several sources where the registerShortcut statement spans multiple lines and the list shows them.
BTW: I did not find the script in the svn repo.

comment:5 Changed 3 years ago by GerdP

Hmm, again and again I find that my Eclipse Editor adds Tabs instead of blanks when I change plugin sources. Since nobody seems to know how to make the customized checkstyle plugin work in Eclipse maybe someone can tells me how I can configure the Editor correctly for all plugins?
I have another project which prefers tabs and that really messes up my work flow.

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Don-vip.
as The resolution will be set.
to The owner will be changed from Don-vip to the specified user.
The owner will change to GerdP
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.