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

Disabling automatic closing of brackets and parenthesis in DW CC 2018?

New Here ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

Is there a way to disable the automatic insertion of closing brackets in DW 2018? I appreciate the HTML and PHP code completion but the closing of brackets drives me crazy.

Thanks in advance for your help!

Views

1.5K

Translate

Translate

Report

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 1 Correct answer

Community Expert , Jul 12, 2018 Jul 12, 2018

Ah, that one you have to squish in the brackets.json file...

1. On a PC, go to C: > Users > your user name >  AppData (make sure hidden files are turned on if you don't see this folder) > Roaming > Adobe > Dreamweaver CC 2018 > your language > Configuration > Brackets > brackets.json

1a. On a Mac, this "should" be... (I don't have a Mac)

  a. do a search for  ~/Library/Application Support (make sure the ~ is there)

  b. hit Go

  c. next, go to Adobe > Dreamweaver CC 2017 > your language > Configurati

...

Votes

Translate

Translate
Community Expert ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

Go to Edit > Preferences > Code Hints and select the Never option for Close Tags...

Votes

Translate

Translate

Report

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
New Here ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

I'm sorry, I meant characters like: { }, " ", ( )

As soon as I type the opening one, DW inserts the closing one.

I'm fine with the closing HTML tags.

Votes

Translate

Translate

Report

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 ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

Ah, that one you have to squish in the brackets.json file...

1. On a PC, go to C: > Users > your user name >  AppData (make sure hidden files are turned on if you don't see this folder) > Roaming > Adobe > Dreamweaver CC 2018 > your language > Configuration > Brackets > brackets.json

1a. On a Mac, this "should" be... (I don't have a Mac)

  a. do a search for  ~/Library/Application Support (make sure the ~ is there)

  b. hit Go

  c. next, go to Adobe > Dreamweaver CC 2017 > your language > Configuration > Brackets > brackets.json

2. (make a back-up first so you can go back if you goof) Open the file in something other than DW

3. If the option for closeBrackets doesn't already exist, add a comma to the last item on the list, then add the following to the end of the file, before the closing } ...

"closeBrackets": false,

(make sure the "b" in Brackets is capitalized)

3. Save and open DW and that "should" stop the auto closing for you.

Votes

Translate

Translate

Report

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
New Here ,
Dec 04, 2020 Dec 04, 2020

Copy link to clipboard

Copied

LATEST

Incredibly useful - only thing I'll add here is that typically when updating Dreamweaver CC is that it leaves the older folder in place (i.e. I upgraded from 2020 to 2021 but both folders are still in the directory). I found to get it working properly using this method I needed up update both version's JSON files (not sure why) but it seemed to fix it so I'm happy.

Votes

Translate

Translate

Report

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