|
|
|
|
|
|
Re: mylyn's context with bookmarks pro task [message #746182 is a reply to message #740086] |
Sun, 23 October 2011 08:41 |
Steffen Pingel Messages: 706 Registered: July 2009 |
Senior Member |
|
|
Adding a bookmark for particular line in a source file is fairly brittle as
locations tends to change frequently. Therefore the context model is based
on the logical model elements and not locations. I would recommend using a
TODO or FIXME marker in conjunction with landmarking the corresponding Java
method to highlight a specific line in a context.
Alternatively, code review tools such as Gerrit are a great way to capture a
conversation around file content.
Steffen
Marcin Sanecki wrote:
> Kaitlin Duck Sherwood wrote on Mon, 17 October 2011 19:37
>> Note that there are two different types of bookmarks: Web bookmarks
>> (which the Tasktop Bookmarks view shows) and the code bookmarks (which
>> the regular Bookmarks view shows). I think Marcin is talking about code
>> bookmarks. Code bookmarks are associated with files, not contexts, so
>> you can't share them well.
>>
>> While you can't go down to the exact line, you can go down to the method
>> level. Right-click on the task in the Package Explorer, and Mark As
>> Landmark. This is available in Mylyn as well as Tasktop.
>
>
> I am talking about code bookmarks - that is right.
>
> Mark As Landmark is a standard way of creating context and the lowest
> level of it is method's level. I can mark method but can't mark any
> particular line in a method. With bookmarks it is possible to mark a line
> and, what is more important for me, add a comment.
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
|
|
|
Re: mylyn's context with bookmarks pro task [message #753416 is a reply to message #746182] |
Thu, 27 October 2011 07:30 |
Marcin Sanecki Messages: 7 Registered: October 2011 Location: Poland / Germany |
Junior Member |
|
|
Steffen Pingel wrote on Sun, 23 October 2011 10:41Adding a bookmark for particular line in a source file is fairly brittle as
locations tends to change frequently. Therefore the context model is based
on the logical model elements and not locations. I would recommend using a
TODO or FIXME marker in conjunction with landmarking the corresponding Java
method to highlight a specific line in a context.
Alternatively, code review tools such as Gerrit are a great way to capture a
conversation around file content.
Steffen
You are right, bookmarks for particular line of code are brittle when we want to share them among many people (many diffrent versions of files). It would be better to add bookmark to a logical part - a method for example. Methods can ba also removed then associated bookmark can be somehow mark.
For me these all bookmarks build a map of terrain (source code). I go here and there and I mark the terrain to be able to know what a building it is and who lives there. It is obvious that buildings can be changed in the meantime. That is why I need to update me map from time to time - it's up to me.
I am not looking for perfect solution. I just want to have some solution that helps me. Then this solution can be improved or if it's really bad decline.
What I want to do is to try this tasktop which has such solution. Maybe anyone of you have already tried this with tasktop and can share with us some experiences?
[Updated on: Thu, 27 October 2011 07:44] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07842 seconds