Code coloring gone
The code coloring is suddenly gone in the code view. I
haven't changed anything in the preferences, and when
I check it everything is set up as it always has been. Not
really that big of a deal, but after years of seeing
it in different colors it's strange just to be black.
Restarted Dreamweaver, re-booted etc. Hate to re-install
Dreamweaver and set up all of my web sites again. If anyone
has a quick easy solution I would appreciate it.
Thanks
Is this true for all file extensions in all sites? Which DW
are you using
and which OS?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"chipdustygerda" <[email protected]> wrote
in message
news:g9p61c$kll$[email protected]..
> The code coloring is suddenly gone in the code view. I
haven't changed
> anything
> in the preferences, and when
> I check it everything is set up as it always has been.
Not really that big
> of
> a deal, but after years of seeing
> it in different colors it's strange just to be black.
Restarted
> Dreamweaver,
> re-booted etc. Hate to re-install
> Dreamweaver and set up all of my web sites again. If
anyone has a quick
> easy
> solution I would appreciate it.
>
> Thanks
>
Similar Messages
-
Import code coloring xml and code snippets into dreamweaver cc 2014
How do I import my code coloring xml file and code snippets from the earlier version of dreamweaver into cc 2014?
Thanks, Preran. After uninstalling the 2014.1 update and reinstalling the previous version, I now installed the 2014.1 update again. Instead of jumping straight into restoring the preferences, I decided to test it out as-is, and it worked! No problems with pasting after opening any of my five browsers. I wonder what may have gone wrong the first time...or what was corrected during the uninstall/reinstall process. In any case, it is working again now and I am grateful. Thanks!
-
hi, I've got itunes music card for my birthday and when I scratched the back to redeem the code everything gone, so no code, what can I do? I've been to tesco to customer service and they told to contact itunes support
These are user-to-user forums. If the page that you posted from doesn't help then you can try contacting iTunes Support via this page (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes
-
Adding code-coloring to file with nonstandard extension
I have PHP files that end in .ctp, which are basically HTML templates with PHP mixed in (as part of the Cake PHP framework). I'd like them to be parsed for code coloring the same way that the PHP files are, but the text is all black. Is there a way that I can tell Dreamweaver to parse it for PHP code coloring? I have already added ".ctp" to the list of file types that open in Code View using DW's Preferences.
This is CS4.
Thanks!Nevermind - I figured it out from here, you just have to edit an XML file to include the new extension that should be treated as PHP:
http://kb2.adobe.com/cps/164/tn_16410.html -
Use PHP code coloring in HTML files
In Dreamweaver CS3, what changes do I need to make to get PHP
code coloring show up in .html files?robot88888888,
First, copy this file from the app config folder:
C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\PHP.xml
To the user config folder:
C:\Documents and Settings\[username]\Application
Data\Adobe\Dreamweaver
9\Configuration\CodeColoring\
Then open PHP.xml in your favorite editor. You need to add
HTML to all
of the doctype lists Change every occurrence of this:
doctypes="PHP_MySQL"
to be:
doctypes="PHP_MySQL,HTML"
Save and close. If DW is running, close it. Now restart DW.
HTH,
Randy
> In Dreamweaver CS3, what changes do I need to make to
get PHP code coloring show up in .html files? -
I no longer have code coloring or code hints working on
Dreamweaver. I checked the preferences and everything is still set
the same but whenever I open an existing document it will not give
me the code coloring or code hints. I still get it when I open a
new doc but nothing else. Any ideas on how to fix this?kms5038 wrote:
> I no longer have code coloring or code hints working on
Dreamweaver. I checked
> the preferences and everything is still set the same but
whenever I open an
> existing document it will not give me the code coloring
or code hints. I still
> get it when I open a new doc but nothing else. Any ideas
on how to fix this?
It sounds like DW does not recognize the file type of your
page. What is
the file extension?
Randy -
Code coloring error in HTML5 templates
Is it just me?
In both HTML5 templates (two or three column), that one can select after select 'New' from the 'File' menu the code is all grayed out after the browser conditional:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">##HERE##</script>
<![endif]--></head>
<!-- This HTML comment is here for no other reason but to fix the code coloring in Dreamweaver -->
Code coloring is fine up to my indicator ##HERE## above, after that all grayed out till next end HTML commnet '-->'.
I can fix it, lamely, with the comment you see above, "<!-- This HTML...-->"
If the line <script ...>...</script> is removed from in between the conditional tags everything is fine.
Thanks for any help.Just put a blank html comment <!----> after<! [endif] ->, the problem will disappear, the color will appear
example:
<!--[ IF lt IE 9]>
<scriptsrc="http://html5shiv.googlecode.com/svn/trunk/html5.js"> </ script>
<! [endif] -> <!---->
</ head> -
Dreamweaver CS6 and Coldfusion 9 - Syntax Errors & Code Coloring
I recently purchased Dreamweaver CS6.
Also, I'm running Coldfusion 9 on Windows 7, but that's probably irrelevant.
The issue is that Dreamweaver keeps on marking my files with syntax errors, and the code coloring gets all messed up.
For instance, such function would indicate an error due to the #var#:
<cfoutput><script>functionXYZ(#var#);<script><cfoutput>
But this would work just fine:
<script>functionXYZ(<cfoutput>#var#<cfoutput>);<script>
The issue is that I have entire pages wrapped in cfoutput, redoing everything would take months.
Or this would break the code coloring for the entire select as such:
<select <cfif test eq 'test'>class="test"</cfif> name="selectbox">
While this breaks the code coloring for the closing cfif as such:
<select class="<cfif test eq 'test'>test</cfif>" name="selectbox">
I'm getting syntax errors on thousands of my files, I understand that I could rewrite the code slightly to remove some of the error indications, but these are not actual errors so I feel that there is no point of me spending months updating the code.
Is there a patch that I can apply so that this would work without any of these issues?
Can someone please help?Have you posted this question in the Cold Fusion Forums?
http://forums.adobe.com/community/coldfusion
I don't use CF myself and the few CF coders I know have long since moved to Eclipse/ColdFusion Builder.
Nancy O. -
Make DW use JS code-coloring instead of PHP
I have a Javascript file that has a .php extension because of
some dynamic elements on the page. I also can't wrap the code in
<script> tags because of the way it loads. So basically, I
need to tell DW to use JS code coloring on this page instead of PHP
(right now, everything except the PHP is black text). Any way to
force it to associate the file with a specific file type, instead
of basing it on the file extension?mattloaf1 wrote:
> I have a Javascript file that has a .php extension
because of some dynamic
> elements on the page. I also can't wrap the code in
<script> tags because of
> the way it loads. So basically, I need to tell DW to use
JS code coloring on
> this page instead of PHP (right now, everything except
the PHP is black text).
> Any way to force it to associate the file with a
specific file type, instead of
> basing it on the file extension?
You can "fake" the script tags and fool the code coloring
scheme by adding to the top of the file:
// <script>
and to the bottom of the file:
// </script>
As the // are single line comments in JavaScript when the
file is loaded by the browser it won't see the script tags, but the
code coloring engine seems to be tricked and begins working on the
JavaScript code that is not within the <?php ?> code blocks.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
My network administrator informed me that he would like to
use all .htm file extensions on our site, and that he will program
the server to render PHP tags within the .htm files for our
web-apps.
However, for development work I would still like to apply the
PHP code-coloring within files that have .htm extension. Can I tell
Dreamweaver to do this?
Thanks!What was old is new again!
Similar to the original poster, my IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
I also need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, the application close button, Ctrl+Q and Alt+F4 do not work. -
The changes I make in the Preferences section under Code Coloring do not always stick. I even tried replacing the Colors.xml file with someone else's theme. That does not come through. I replaced it both under my Configuration/Code Coloring folder which appears under Applications as well as my User folder.
I don't understand why some of the changes take and others not. Should there not be an easier way to do this??
Any clues as to how I can make the new (external) Colors.xml stick would be appreciated.CS5. And I should say, the instructions given on the Adobe site on how to swap out the colors.xml file indicate a folder that doesn't exist. There is no Preferences folder. It's Configurations.
-
Code Coloring, ASP/VBScript, & CS5
My IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to the Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
When this happens also I need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, application "close" [X] button, Ctrl+Q and Alt+F4 do not work.As far as I know (could be wrong here), DW does not allow you to alter the behavior of htm(l) files. The technote is aimed at adding new file types that DW doesn't already recognize.
-
Code Coloring Bug: Ranges in DateFields
Adding ranges to DateFields in an mxml file will cause the
code coloring to stop working. Is this a known bug?
Try a field like this:
<mx:DateField id="dtNeeded" disabledRanges="{[{rangeEnd:
new Date()}]}"
selectedDate="{detailObject.dtNeeded}" editable="true"
/>andretannus wrote:
> Your reply wasn?t unsatisfactory, just pointless. You
just babble what I said
> back to me.
>
> I say: I found a bug. It has a workaround witch is not
good enough for me.
> Please give the abode bug tracking tool.
>
> You replied: There is a bug. The bug can be fixed with a
workaround (which I
> not only had mentioned but also discarded as useless).
>
> I have already posted my "vote" for (or against) the
problem, for whatever
> that servers.
>
> Still waiting on that bug tracking tool.
>
> cheers, and sorry for the apparent rudeness...
>
> I asked for a bug tracking tool, you gave me a complaint
thing that doesn?t
> remotely come close to a bug tracking system... I posted
whatever I had to
> there, and there has yet been no reply from whoever...
>
> just that
That "complaint thing" is the bug reporting tool, there is no
bug
tracking system, its the only way your going to be able to
communicate
with Adobe about the bug. There is no list of bugs, and you
will never
know for sure if/when it will be fixed. If your lucky you may
get a reply.
Dooza
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html -
Code Coloring - adding extensions
Does anyone know how to make .inc files (or any extension)
use the .php code coloring scheme (or any scheme) in Dreamweaver 9
(CS3)? The tech note I found among these messages applies to
Dreamweaver MX, but not all configuration files mentioned in the
tech article are found in the DW9/CS3 configuration.theopan,
OK, I think I understand the problem now. The
MMDocumentTypes.xml file
is no longer automatically copied from the Application
Configuration
folder to the User Configuration folder, so you need to
manually copy it.
Hope this helps,
Randy
> No, the folder renaming is not the issue, I have been
looking in adobe. Have
> scanned my entire harddrive, inlcuding hidden and system
files and folders.
> There is a note in the Configuration_ReadMe.htm that the
extensionsdata folder
> is only there for backwards compatibility. My issue is
there is no
> MMDocumentTypes.xml file anywhere, and although I have
made changes to several
> .txt and .xml files to include INC wherever PHP is
found, using what seems
> logical additions, INC files are not being displayed
with colors. Whatever
> functionality MMDocumentTypes.xml was performing must
have been moved or
> duplicated to another file. Any more help in this area
would be appreciated.
> It's probably something simple, but don't know where to
go next. -
ColdFusion Builder 3 Code Coloring Bug
Hello CFBuilders,
I encountered what I believe is a bug within CFBuilder 3 (standalone and Eclipse plugin) where code coloring breaks after you insert a comment in a function with named arguments. To replicate the issue copy/paste the following code in CF Builder:
<!--- Sample Bug: Code Coloring --->
<cfset myFunction(
argument1 = "strawberries",
argument2 = "bananas", <!--- these are my favorite --->
argument3 = "blueberries",
argument4 = "pineapples"
) />
<cfset test = "test" />
You should see argument3,argument4, and the closing bracket are colored incorrectly. If you encounter the same issue and you'd like to see this fixed please feel free to vote for this bug here:
Bug#3831825 - Code Coloring Breaks When Comments Used Within Function with Named Arguments
It should be noted that Dreamweaver can handle this type of code coloring situation fine.They say they fixed this, but the release has been sitting in beta testing for AGES. They said this was fixed last month but they sure are taking their sweet time releasing anything through the update site.
IT's an update site - FOR UPDATES; Ugh
Maybe you are looking for
-
Desperate HELP with Random Numbes in an Array & Do / While
Please somebody help, I have been working this problem for over 7 days now and can't get it. I have tried everything from a while to a do while to this and that. I need to have an Array of 8 that when run will produce random numbers for output betwee
-
Vehicle Status???
Hi. What kind of Vehicle Statuses can be define??? Does that mean statuses like In Warehouse, To Customer, or Shipped but not invoiced,to Shipyard? or anything else? As per Action will the status get changed??? Can anybody tell me Basic cycle in VMS
-
Images in Finder vs Images in Iphoto
My computer is almost full and I have removed several thousand images from iPhoto to an external hard drive. However, my computer still shows that most of my space is taken up by image files. When I open Finder, the images section shows I have over 1
-
How to create a logical system DEVCLNT110 at RSA1?
This logical system is only for this system/client only. In other words, it is NOT point to any other data source. I want to define DEVCLNT110 at DEV/110. I know how to do it in SALE or BD54. Now I want to know how to do it at RSA1. Thanks!
-
Safari is giving me a missing plug in message when I try to view things like movie trailers. The trailers play on Firefox, so I'm not sure what's missing from Safari. I have Safari 5.0.6 and Mac OS X 10.5.8.