Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Labels in the code

Community Beginner ,
Mar 25, 2022 Mar 25, 2022

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

796
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Mar 26, 2022 Mar 26, 2022

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:
...
Translate
Community Beginner , Mar 26, 2022 Mar 26, 2022

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!

Translate
Community Expert ,
Mar 26, 2022 Mar 26, 2022

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2022 Mar 26, 2022

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2022 Mar 26, 2022

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.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2022 Mar 26, 2022

I think the OP means 'Bookmarks'. A bookmark is attached to specific spots in the code, which they can quicky jump to via a list of bookmarks in a panel, maybe.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2022 Mar 26, 2022

Yes, that's exactly what I meant

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2022 Mar 26, 2022

Insert CODE COMMENTS from the Common Toolbar.  Use Ctrl + F to FIND.  See screenshots.

 

image.png

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2022 Mar 26, 2022

Yes, that's what I'm doing right now, just doing a search by item ID. You have to manually type or copy the name of the desired element from the browser console every time. This is very inconvenient.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2022 Mar 26, 2022

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
Paul-M - Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2022 Mar 26, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2022 Mar 26, 2022

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2022 Mar 26, 2022

yes, sorry I should have explained that better - you put the extension main folder in there ..... Glad you got it working 👍

Paul-M - Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2022 Mar 28, 2022

Are you happy for me to mark the solution as correct?

Paul-M - Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2022 Mar 28, 2022
LATEST

thanks @Paul-M that's a pretty nice catch. Work marvelously... a palet will be a real plus... but that's already very helpfull

 

@Ixen80  you should probably mark the Paul's comment as correct, that will close the thread.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines