stompeers Posted December 16, 2007 Share Posted December 16, 2007 Hello, I was wondering if something like this exists: I'd like to be able to add a short tag to the beginning of a line (something like '###'), and in Dreamweaver (my editor of choice), have it keep a generated list of these lines, and clicking on them will take you to the line. This way, it's easy to jump to certain areas in your code when you have a long file you're working with. Something like this would be really, really helpful to me, but I can't find anything in several Google searches. Could be I just don't know what to call it? Thanks! Chris Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/ Share on other sites More sharing options...
Barand Posted December 16, 2007 Share Posted December 16, 2007 Doesn't DW have "Find/Find next" options in its menus then? Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/#findComment-416155 Share on other sites More sharing options...
PC Nerd Posted December 16, 2007 Share Posted December 16, 2007 *** regularly ctrl + f Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/#findComment-416160 Share on other sites More sharing options...
stompeers Posted December 16, 2007 Author Share Posted December 16, 2007 I think I found a good solution: Using the regular expression feature of the Dreamweaver search, you can "replace all" to create a list of matches. Using a search for 'function (.*)\(' and replacing with 'function ($1)\(' works pretty good. I can also make my own comments that way to create a list. I then moved my search results to the right and voila! I have a nice list of bookmarks to work with. Thanks, I just had to think through it a bit more. Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/#findComment-416329 Share on other sites More sharing options...
corbin Posted December 16, 2007 Share Posted December 16, 2007 In notepad++, you can make it bring up a list of user made functions ordered either by sequence or alphabetically, and when you click on one, it takes you to it. (I never actually use that feature, but I tend to remember where stuff is...) http://img45.imageshack.us/img45/7183/notepadcf9.jpg Notepad++ and Dreamweaver are entirely different though, and chances are this post doesn't help you any ;p. Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/#findComment-416333 Share on other sites More sharing options...
Barand Posted December 17, 2007 Share Posted December 17, 2007 I think I found a good solution: Using the regular expression feature of the Dreamweaver search, you can "replace all" to create a list of matches. Using a search for 'function (.*)\(' and replacing with 'function ($1)\(' works pretty good. I can also make my own comments that way to create a list. I then moved my search results to the right and voila! I have a nice list of bookmarks to work with. Thanks, I just had to think through it a bit more. Is this topic solved, then? If it is, mark it thus. Link to comment https://forums.phpfreaks.com/topic/81906-does-this-exist-a-way-to-add-bookmarks-to-long-php-script-for-easy-reference/#findComment-416471 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.