Re: Feature request

Milos Kleint <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Bram Doornbos wrote:
> I would try to explain it in more detail:
> 
> Suppose I request the CVS status of a folder. After de command is executed a
> CVS output appears with 2 tabs on the left side
> showing the status for each file. For example: some file is unknown to CVS
> and must added.
> At this time I need to walk the complete sourcetree in the explorer myself
> to locate this file and apply CVS commands to it.
> It would my nice that a double-click or some other action on this file
> within the status-window would locate the file in the explorer.
> 
> It is a small but handy feature when you have to commit a lot changes that
> need different parameters.
> 

indeed handy.

I've almost implemented a more general/complicated/bug prone :) code that covers your use case I 
believe. It reached only the experimental state.
The idea was to make all the output of commands (like status, log, annotate, update) node-aware and 
context aware. That way the user can get the same right-click popup as in the explorer. (well, just 
the cvs related part only) plus there are some add-on features possible.
Use case:
Imagine you have the output of the update command. One of the files is merged. You want to check 
what was changed. right-click on the file and get the diff.
Or you have annotate command's output. You traced back to a line where the bug could be residing. 
right-click on the affected line and do update. The affected revision will be displayed. Or find out 
what changes were done in that particular version and perform a diff.

If you want to take a look, checkout the "experimental" branch of the javacvs module. the code is 
working for most of the output components, however needs performance boost, UI touches and big 
fixing. Initially I wanted to do that for 3.4 however was transfered to a different position and the 
feature was dropped. If you want to pick it up, I'll be happy to assist you. Or course I'll do my 
best also when you try anything else within the javacvs module.

Cheers.

Milos


> I will submit this to IssueZilla.
> 
> Bram Doornbos
> 
> "Milos Kleint" <[email protected]> wrote in message
> news:<netbeans.modules.javacvs.dev/[email protected]>...
> 
>>Bram Doornbos wrote:
>>
>>>I use netbeans 3.3.2 at this time.
>>>
>>>I'd like to have a feature to locate a file that needs a CVS
>>
> modification in
> 
>>>the explorer window, directly from the file tree/list of the CVS Status
>>>window.
>>>Is this already implemented or do have to post this request somewhere
>>
> else?
> 
>>the best place is issuezilla. file an enhancement and describe the
> 
> behaviour there..
> 
>>BTW can you describe the functionality more? I'm not sure I fully
> 
> understand what you mean.
> 
>>
>>>If there is nobody who has time to write this functionality maybe I can
>>>help...
>>>How can I volunteer?
>>
>>Get the sources, change them, submit patch or contribute a new module.
>>If you need any help (like pointers where to start and wht to look for),
> 
> please don't hesitate to ask.
> 
>>Cheers.
>>
>>Milos
>>
>>
>>
>>
>>>Bram Doornbos
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [email protected]
>>>For additional commands, e-mail: [email protected]
>>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [email protected]
>>For additional commands, e-mail: [email protected]
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.