Skip to main content
Ixen80
Inspiring
Mar 26, 2022 4:51 AM UTC
Answered

Labels in the code

Hi! Please make it possible to label the lines of code and quickly navigate between them. It would be very convenient!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Ixen80
    Ixen80Correct answer
    Inspiring
    Mar 27, 2022 2:58 AM UTC

    I figured it out and everything worked. It was necessary to put the folder with the extension here: C:\Users\user\AppData\Roaming\Adobe\Dreamweaver 2021\ru_RU\Configuration\Brackets\extensions\user . After restarting Dreamweaver, the keyboard shortcuts started working. Thank you very much!

    13 replies

    Legend
    Mar 26, 2022 6:35 PM UTC

    brackets bookmark line extension here GitHub - JeffryBooher/brackets-bookmarks-extension  working in Dreamweaver

     

    change the the shortcut keys in main.js (lines 368-370):

     

      menu.addMenuItem(CMD_TOGGLE_BOOKMARK, "Ctrl-Shift-K");
      menu.addMenuItem(CMD_GOTO_NEXT_BOOKMARK, "Ctrl-Alt-K");
      menu.addMenuItem(CMD_GOTO_PREV_BOOKMARK, "Ctrl-Alt-Y");
     
    You need to copy the extensions folder to to your dreamweaver brackets extension user folder, on windows the path is something like  C:\Users\user\AppData\Roaming\Adobe\Dreamweaver 2021\en_US\Configuration\Brackets\extensions\user
    Translate
    Paul-M - Community Expert
    Ixen80
    Ixen80Author
    Inspiring
    Mar 27, 2022 2:36 AM UTC

    Thanks, but it looks like this extension doesn't work in new versions of Dreamweaver.

    Translate
    BenPleysier
    Community Expert
    Community Expert
    Mar 26, 2022 7:02 AM UTC

    This is the Dreamweaver forum. As such, we have remarks that can be placed inside the code. These are not labels.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Ixen80
    Ixen80Author
    Inspiring
    Mar 26, 2022 7:11 AM UTC

    Yes, I wanted to contact the Dreamweaver developers. I have not found a way to put a label in the code so that I can quickly return to it later. If such an opportunity already exists, how to use it? I didn't find it.

    Translate
    BenPleysier
    Community Expert
    Community Expert
    Mar 26, 2022 11:36 AM UTC

    To my knowledge, there is no such thing in Dreamweaver and certainly not in HTML.

     

    I suppose you could create an anchor tag as per this article.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!