logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

AW: Start Findbugs by Hotkey: msg#00022

Subject: AW: Start Findbugs by Hotkey
Hi Andrei,

the Hotkey should be available if i edit a java file. Findbugs should run for 
that current file only - on demand.

The problem with 1) is: We use subversion. If we update our source the code is 
rebuild. And this would force findbugs to recalculate the project. And we have 
nearly 20 projects. So the time for update is increased. 

2) is what we do currently and we see the challange with the Hotkey.

The idea comes from JAutoDoc. It allows you with a Hot-Key to generate the code 
for a method of a file or for the file which has the focus. 

In general we tend to use metrics, EclEmma and Findbugs before commit. As 
automatical review for the code produced. We try to performe early and working 
commits.  The SuperFeature would be that Findbugs run only on the changes made 
for that task. For all projects part of the workspace. The Subclipse or 
Subversive Plugin should be able to retrieve the changes made since last update.

Regards Thomas

> -----Ursprüngliche Nachricht-----
> Von: Andrei Loskutov [mailto:loskutov@xxxxxx] 
> Gesendet: Mittwoch, 27. Juni 2007 21:39
> An: Roth, Thomas; findbugs-discuss@xxxxxxxxxxxxxxxxxx
> Betreff: Re: [FB-Discuss] Start Findbugs by Hotkey
> 
> On Wed, 27 Jun 2007 12:15:57 +0200, Roth, Thomas 
> <t.roth@xxxxxxx> wrote:
> 
> > It would be wonderful
> > if Findbugs could be started by a Hot Key. It is a little bit 
> > unpleasing to click at first on to the element and second choose 
> > Findbugs and than choose Run Findbugs ... We do not want to enable 
> > Findbugs to run after build after save.
> 
> Hi Thomas,
> 
> usually there are many Java projects in the workspace, so if 
> you would like to start FindBugs with hotkey, HOW you would 
> say on which project it should run?
> 
> Currently we have two options:
> 
> 1) enable FindBugs autobuild for the project and let FindBugs 
> run automatically on source change
>   - pro: no user interaction needed
>   - contra: may consume much time/CPU cycles each time you 
> change source code
> 
> 2) select projects you like and run FindBugs manually via right click
>   - pro: you start it only if you have time to wait for results
>   - contra: you must do 2 extra clicks
> 
> So if we would provide option 3) - run findbugs on a hotkey - 
> you still need to do something to say on *which* projects to 
> run (my workspace contains usually more then 30 projects) - 
> so you still need at least one or two additional clicks. At 
> the end, there would be no significant improvement to the option 2).
> 
> --
> Kind regards,
> mit freundlichen Grüßen
> Andrei Loskutov
> 
> @Home: http://andrei.gmxhome.de
> Hinweis: diese Nachricht besteht nur aus den wiederverwertbaren Bits.
> 



<Prev in Thread] Current Thread [Next in Thread>