- updated xml.js -- fixes code view render issue with some span tags
- Dreamweaver extension available by end of month
Adobe Dreamweaver CC 2017 lost the ability to define custom tag Code Coloring.
The included xml.js restores that feature as shown below:
Auto generates css of the form as described in next section (to be moved to wiki TBD section).
span.cm-m-xml.cm-tag.cm-tag-body {
color: red;
}
span.cm-m-xml.cm-tag.cm-tag-h1 {
color: hotpink;
}
span.cm-m-xml.cm-tag.cm-tag-form {
color: orange;
}
span.cm-m-xml.cm-tag.cm-tag-input {
color: #0BF90E;
}
Dreamweaver extension with screens similar to CC 2015 Code Coloring...
Make current selection or cursor highly visible (notable) in Code View.
...When code view does NOT have focus -- selection -or- cursor shows as follows:
selection (does not blink) . . . . . . . . . . . . . . . . cursor -- blinks for 15 seconds (default)
- Above arrows are hidden when selection starts in first column
- Below arrows hidden for multi-line selections or selection ends in last column.
Notable cursor shows when find
or any other dialog box is open including right click context menu.
Color/size of cursor, arrows, highlighted selections can all be changed via css.
Dreamweaver extension with GUI screen for setting colors/sizes by theme.
- Custom Tag Code Coloring and Notable Code View Cursors are implemented via css styles
- They can be installed separately by selectively adding css to custom theme
- both require a custom Dreamweaver theme -- create or select as follows
-
Download theme-css
-
From DW menu: edit > preferences > Interface (left panel category)
-
Select or Create new "Color Theme" -- click Apply if new or not selected
-
click on pencil icon to open and edit the selected theme in Dreamweaver
-
At bottom of file: Add css for custom tag colors and/or Notable Code View cursors
- good instructions -- no need visit reference links
- Customize code colors for mixed code files (should get done by default)
An updated xml.js must be installed -- it adds the additional cm-tag-<...> class.
- download xml.js.zip
- open and copy "www" into...
...windows: %appdata%\Adobe\Dreamweaver CC 2017\
...On Mac: ~/Library/Application Support/Adobe/Dreamweaver CC 2017/ - close and reopen Dreamweaver
caution: DW releases after 2017.5, DO NOT use updated xml.js unless the installed xml.js matches xml.js (Adobe installed version for CC 2017.2 and 2017.5)
- GUI screen for setting colors/sizes by theme
- select tag colors via color picker
- automatically updates selected theme main.less files
- updates xml.js when necessary
- access to tag color repository
- default tag colors from CC 2015
- tag colors shared by other designers
- share your tag colors with other Designers