-
1. Re: Dreamweaver does not auto-complete </script> tag
Nancy OShea Mar 11, 2013 11:29 AM (in response to DonCoppockII)Go to Edit > Preferences > Code Hinting.
Put a check mark by Close tags after typing the open "<" tags.
Hit OK.
Nancy O.
-
2. Re: Dreamweaver does not auto-complete </script> tag
DonCoppockII Mar 11, 2013 11:34 AM (in response to Nancy OShea)Good afternoon,
Yes Nancy O. - that was simply something I forgot to mention. I have that feature set and Dreamweaver will auto-close every other tag that I use. It is just the script tag that does not auto-close.
Here is another interesting tidbit of information: If I choose: after typing the opening tag's ">" I get the </script> as expected. I just do NOT prefer this to the choice: After typing the "</"
I wonder if others have similar a similar issue.
Thanks,
Don.
-
3. Re: Dreamweaver does not auto-complete </script> tag
Nancy OShea Mar 11, 2013 11:42 AM (in response to DonCoppockII)I can't reproduce this in CS6. Do you have the latest udpates for your product?
http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dwcs51104
Nancy O.
-
4. Re: Dreamweaver does not auto-complete </script> tag
DonCoppockII Mar 11, 2013 12:02 PM (in response to Nancy OShea)Good afternoon again Nancy,
I have installed those updates and I still have the problem. In fact, all of the developers here that I have talked with (there are 8 of us) all experience the same thing.
Every tag closes except for the script tag, unless we set the close preference to close after typing the opening tag's ">" - which none of us want. I'm not sure what else I should look at.
Are there any other suggestions?
Thanks,
Don. -
5. Re: Dreamweaver does not auto-complete </script> tag
DonCoppockII Mar 11, 2013 12:06 PM (in response to DonCoppockII)Hello yet again,
When I type the </ I briefly (line half-a-second) see the script tag that should go there. But then, I see a prompt at the top of the HTML Tag library. It doesn't select ANY tag, but is wanting me to scroll through the list to get to the the tag that I want, in this case the SCRIPT tag.
-
6. Re: Dreamweaver does not auto-complete </script> tag
MurraySummers Mar 11, 2013 12:06 PM (in response to DonCoppockII)I can reproduce your symptoms, and I've learned to live with it. I'm using the permanent CS6 (not Cloud).
-
7. Re: Dreamweaver does not auto-complete </script> tag
Nancy OShea Mar 11, 2013 12:09 PM (in response to DonCoppockII)That's just how DW works.
You can file a bug report if you think it will do any good.
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Nancy O.
-
8. Re: Dreamweaver does not auto-complete </script> tag
DonCoppockII Mar 11, 2013 12:15 PM (in response to Nancy OShea)Nancy,
Thank you for your help. I find no value in entering a bug report asking Adobe to have Dreamweaver close all tags when I select one of the close tags options. I would have expected that to be obvious.
I do appreciate your time and help though. I, like Murray Summers will learn to live with it.
Don.
-
9. Re: Dreamweaver does not auto-complete </script> tag
Jon Fritz II Mar 11, 2013 1:07 PM (in response to DonCoppockII)1 person found this helpfulI think this is very intentional on the part of Adobe's development folks. I think the reason they have left it this way all these years is because you can use one or many </ in a javascript and not be in the process of writing the end tag for the opening <script>.
In my opinion, it would get more than a little annoying to have to undo the auto-insert every time you wanted to have a javascript write html into your page and it kept closing the <script> instead of allowing you to choose to close it or not.
-
10. Re: Dreamweaver does not auto-complete </script> tag
DonCoppockII Mar 12, 2013 4:09 AM (in response to Jon Fritz II)Good morning all,
Ok, Jon, thank you. I've not used a lot of </ within the scripts that I've written so, so far, that hasn't been a problem for me. Your explanation makes sense though. It also explains why it works if you select the option to: close after typing the opening tag's ">". Because once the opening and closing tags have been populated, entering </ would have no effect on the scripot tag at all.
Very nice response Jon. This behavior is crystal clear now and in fact, it seems to be a feature, not a bug.
Thank you,
Don.
-
11. Re: Dreamweaver does not auto-complete </script> tag
MihalisNYC Apr 18, 2017 6:29 AM (in response to DonCoppockII)Does not work at all with auto-complete.
-
12. Re: Dreamweaver does not auto-complete </script> tag
Jon Fritz II Apr 18, 2017 6:53 AM (in response to MihalisNYC)What doesn't work exactly?
Which version of DW?
What OS?
Have you checked your code for errors?
Is auto-complete turned on?
What file type are you working with?The thread you've posted to is 4 years old and dealing with CS5.5, it's roughly 6 program versions removed from the current offering, even the code engine has been completely changed since this post was made.
You might be better off starting a new thread by clicking here...
...and then going to the "Still Have Questions" link at the bottom.