Modify

Opened 6 years ago

Last modified 6 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:

Description

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 by Don-vip, 6 years ago

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 by GerdP, 6 years ago

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 by Don-vip, 6 years ago

The warnings I fixed recently were related to:

  • we use only spaces characters, no tabs
  • the shortcuts are parsed by a script to generate DevelopersGuide/ShortcutsList and thus must remain on a single line
Version 0, edited 6 years ago by Don-vip (next)

comment:4 by GerdP, 6 years ago

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 by GerdP, 6 years ago

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
Action
as assigned The owner will remain Don-vip.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Don-vip to the specified user. Next status will be 'new'.
Next status will be 'needinfo'. The owner will be changed from Don-vip to GerdP.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. 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.