 |
 | Bookmark enhancement request |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
 |
Posted: Tue Feb 03, 2009 5:39 am |
|
 |
 |
 |
 |
Quote: | In addition (or alternatively) it would be good to be able to name the bookmarks |
Right. Would be nice to be able to name it and add comments.
But bookmarks you can easily drop/remove them and lose their names and comments by mistake.
Personally I think TODOs embedded in the code and reflatected in a dedicated window would be even better.
|
_________________ The PHP IDE team
|
 |
 | |  |
 |
 | |  |
 |
 | |  |
Joined: 29 Mar 2006 |
Posts: 57 |
Location: Sonoma County, CA USA |
|
 |
Posted: Tue Feb 03, 2009 12:55 pm |
|
 |
 |
 |
 |
TODOS is code is a different thing, as blizz pointed out. Bookmarks are temporary and I don't want to edit the code to add or remove them. They are temporary while I am working on something.
Not to beat a dead horse, but it's a no-brainer to me: default the Name the bookmark with code at the line the time the bookmark is placed with an option to override it.
Frankly I think bookmarks should float with the content of the line where it was placed, rather than staying fixed on a absolute line number, which is more about how bookmarks are implemented in PHP ED (alright, and all other edtiors) rather how a user would want it.
Think about it: If you put a physical bookmark in a physical cookbook for a certain recipe, and someone came by and ripped out 5 pages earlier in the book, would your want your bookmark to now be placed 5 pages early in the book??? The bookmarks is about content, not about line numbers. Its just that they have been implemented using line numbers for the convenience of the editor rather than the user!
You don't place a bookmark because you are interested in that physical line number, you use it because you are interested in what's on that line! The bookmark should travel with the line, even if you cut and paste the elsewhere! (but not it you copy it).
I suggest you add code that changes the line number associated with a bookmark when the content on that line number gets shifted.
I'm telling you, if "Smart Bookmarks" are not at the top of your new features list, you are missing the boat!
[img]http://tbn1.google.com/images?q=tbn:5TJtU3qCH8_sLM:http://www.adoceric.com/images/digital/Jedi-vs-Sith.jpg[/img]
|
|
 |
 | |  |
 |
 | |  |
Joined: 29 Mar 2006 |
Posts: 57 |
Location: Sonoma County, CA USA |
|
 |
Posted: Wed Feb 04, 2009 6:18 pm |
|
 |
 |
 |
 |
Blizz wrote: | I'm not sure I follow the discussion here... The bookmarks move along if you add/remove lines, so isn't that what you are talking about? |
Yes! However, I just did a quick test and that appears to be how it works now! I only got on the the movable bookmark shtick because Dmitri brought it up as an issue.
Again, my main request is that bookmarks have names and that they default to the line of code on that line.
When you drop (or re-drop) a bookmark, the name should change to default to the line of code on the new bookmarked line.
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
|  |