Dreamweaver CS6 - default HTML5 new document code modification - dreamweaver

I would like to set up my "Default.html" file in Dreamweaver CS6 to have an additional code. More specifically, I would like to the new HTML5 document to have an extra 3 lines of code.
I have been searching everywhere to find out how to do it without success.
The closest I got is here (for Dreamweaver MX): http://www.sitepoint.com/customize-dreamweaver-needs/
When I look under "Document Types" ... I don't have "New documents" folder...
AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\DocumentTypes
Can you please point me where and how to edit the default HTML5 new document?
I have Adobe Dreamweaver CS6 (version 12.0 build 5842).
Thank you!

C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\DocumentTypes\MMDocumentTypeDeclarations.xml
This is where the DOCTYPE headers are stored.
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\DocumentTypes\NewDocuments\Default.html
This is where the Default.html is stored, editing this may do what you want

Related

Adobe Dreamweaver Copying code with color/style/formating etc

Is there a way to copy the code with color/style/formating etc from a Adobe Dreamweaver into Microsoft Word document. Like Visual Studio, Eclipse, Notepad++ with NppExport plugin. For example:
Eclipse
I use to print the source code into pdf and then copy to word document (not a solution, but a workaround to show code highlighting in word)

Dreamweaver cs6 and SCSS

I can't make my Dreamweaver CS6 to load sass (SCSS) files as css (it won't color it).
It was working fine on CS5.5 version. Now I have fresh DW CS6 with all updates (12.0.3) and I have modified all needed files.
Instruction is here or here.
DW still won't apply coloring to my code and when (while open scss file) I go to preferences --> code coloring, Document type highlighted is Text.
Any ideas? Maybe there are another files in CS6 I have to modify?
I found the solution. In CS6 in addition to the files listed in both tutorial (linked in the question), there is one more file that needs to be changed.
It's MMDocumentTypes.xml located in AppData files here:
C:\Users{username}\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\DocumentTypes
I had the same issue with Dreamweaver CS6.
I had to update the files in my hidden Library folder
First enable finder to show hidden files.
Open a terminal and paste the following:
defaults write com.apple.Finder AppleShowAllFiles YES
Restart Terminal:
Keep “Alt” key pressed, put mouse over “Finder icon” – your app bar and “right click”. A menu appear and click on “Relaunch”
Open Finder and go to “your folder”
Go to (open folder by folder) Library. Application Support, Adobe, Dreamweaver CS6, en_US,
Configuration
Edit the Extentions.txt and DocumentTypes/MMDocumentTypes.xml files there.
Restart Dreamweaver and you should be good to go.
Update your terminal to hide hidden files
defaults write com.apple.Finder AppleShowAllFiles NO
Full instructions are from here:
http://www.fastinfo.com.au/dreamever-syntax-highlight-for-less-and-sass/

.htaccess file is invisible in aptana studio 3

I using aptana studio 3, when I create the new php project, in window "Project Explorer" .htaccess file is invisible, (all other files I can see). can someone tell me, how to make this file visible in aptana projects ?
I think this other stackoverflow post will help you. A .htaccess file is also an hidden file, because of the . in front of the name in all unix systems:
How to show hidden files in Aptana's Project View?
Check it out!

How do I reset code color scheme to default in Dreamweaver CS5 (Windows)?

I have read this post, but the process is not clear, I don't find the CodeColoring folder.
So, how to reset code color scheme to default in Dreamweaver CS5 (Windows)?
The original folder referred to in that link is located at:
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\configuration (64 bit OS)
or
C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration (32 bit OS)
Copy the "CodeColoring" folder there and paste it here:
C:\Users\YOURUSERNAME\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configuration
That will reset DW to default code coloring. Alternately you can rename the User Configuration folder to Configuration.old and DW will rebuild it on next launch and reset all preferences to default...
I created a Dreamweaver color theme editor, you can use it to restore the default theme, or create your own theme starting with the default theme or a dark theme I made that's designed to make it easy to transition to a dark theme.
You can edit 18 different colors, and then you can download an xml file that replaces the current one. It takes care of all the redundant color settings. It also has instructions for how to install the theme. Super easy.
Try it out! http://inorganik.net/dw-color-theme-editor
I found a way to get Dreamweaver CC to colorize Coldfusion Coding:
c:\system...
user...
attuid file...
AppDate...
Roaming...
Adobe...
Dreamweaver CS5.5 or Dreamweaver CS6...
en_US...
Configuration...
ColorCoding...
Color.xml...
open in text editor...
Copy this block...
colorGroup doctypes="ColdFusion"..../colorGroup doctypes="ColdFusion"
and
colorGroup doctypes="CSS" .... /colorGroup doctypes="CSS"
Paste to
c:\system...
user...
attuid file...
AppDate...
Roaming...
Adobe...
Dreamweaver CC 2014...
en_US...
Configuration...
ColorCoding...
Color.xml...
we will have to maintain colorizing coldfusion code tags in
Dreamweaver CS5.5 or CS6 and copy/paste the code blocks up into CC 2014

Dreamweaver CS5 opening .CSHTML razor files

Is there a way to force Dreamweaver to open .CSHTML files as HTML file in editor, so I can use the code completion and all the other feature on a .CSHTML file
I was only been able to force it to open it in the code editor which doesn't have all the design features.
You may take a look at the following article.
Could I just recommend that if anyone is trying to open .CSHTML files in Dreamweaver and it is opening in TextEdit(Mac). What I did to solve this issue is to go to Preferences > File Types / Editors.
From here add ' .cshtml' to the "Open in code view" text box(note the space before the period, this is required).
Next I clicked the "+" symbol above "Extensions" list of file types, then added '.cshtml' to this list.
Close and reopen Dreamweaver and you should find that when you try and open a .CSHTML file(particularly opening the file via a 'Remote server' connection).
Daniel.

Resources