Salir
  • Comunidad global
    • Idioma:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Disabling The Auto Bracket Closing In Dreamweaver 2017

Explorador ,
Jan 10, 2017 Jan 10, 2017

Hey, I've been using the new DW 2017 for a few weeks and the auto bracket closing is driving me up a wall. (As well as auto quote closing).  I haven't been able to find a setting to turn it off though? I have code hinting and auto completion disabled but brackets still auto close on me. Its frustrating me to a level that I'm considering ditching DW over this.

Any help would be swell.

thanks!

9.0K
Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines

correct answers 1 respuesta correcta

Empleado de Adobe , Jun 03, 2018 Jun 03, 2018

To disable auto completion of quotes and brackets in Dreamweaver please follow below steps:

  1. Quit Dreamweaver
  2. Open following file in a text editor:
    • Win: %appdata%\Adobe\Dreamweaver CC 2018\en_US\Configuration\Brackets\brackets.json
    • Mac: ~/Library/Application Support/Adobe/Dreamweaver CC 2018/en_US/Configuration/Brackets/brackets.json
  3. Set below 2 flags in the file to false which are set to true by default.
    • "autoCloseQuotes": false,
    • "autoCloseBraces": false,
  4. Save and close the file
  5. Launch Dreamweaver.

Auto c

...
Traducir
Empleado de Adobe ,
Jan 10, 2017 Jan 10, 2017

In the Code Hinting section, did you choose Never for Close Tags?

Thanks,

Preran

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Jan 10, 2017 Jan 10, 2017

Yes, it doesn't seem to effect brackets or quotes

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 10, 2017 Jan 10, 2017

Am checking with the team to see if there are other options.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 11, 2017 Jan 11, 2017

This is the solution I received from the team. Let me know if it works for you.

Close Dreamweaver

Open bracket.json from this location in a text editor

%appdata%\Adobe\Dreamweaver CC 2017\en_US\Configuration\Brackets\brackets.json

~/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets/brackets.json

Add  "closeBrackets": false in the file, save and close the file.

Launch Dreamweaver.

Thanks,

Preran

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Jan 11, 2017 Jan 11, 2017

There doesnt seem to be a Dreamweaver folder in my Library at that path?

Screen Shot 2017-01-11 at 10.07.45 AM.png

The only bracket.json my search could find was in the configuration folder inside the app folder. Changing it had no effect.

Screen Shot 2017-01-11 at 10.09.10 AM.png

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 11, 2017 Jan 11, 2017

I am checking with the team. Will get back as soon as I have a response.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
LEYENDA ,
Jan 11, 2017 Jan 11, 2017

themortalgod01 wrote:

The

The only bracket.json my search could find was in the configuration folder inside the app folder. Changing it had no effect.

What kind of file are you working in? The answer Preran supplied works in the Brackets editor when working in a Css file.

.foo {

Doesn't auto close the bracket.

.foo {

}

Depending on where you insert the line of code you may need to add a comma after 'false' (see in red below)

"closeBrackets": false,

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Jan 11, 2017 Jan 11, 2017

I tested in just a standard HTML file.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
LEYENDA ,
Jan 11, 2017 Jan 11, 2017

themortalgod01 wrote:

I tested in just a standard HTML file.

It still works in an html file but you would probably use less { } in an html file.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Jan 11, 2017 Jan 11, 2017

Yes, and no, many frameworks use { quite frequently in html templates. For example Angular2 uses {{ }} to bind expressions in html markup files.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
LEYENDA ,
Jan 11, 2017 Jan 11, 2017

themortalgod01 wrote:

Yes, and no, many frameworks use { quite frequently in html templates. For example Angular2 uses {{ }} to bind expressions in html markup files.

It should still work in an html file, I dont know if anyone else can confirm that it does. I'm working in Brackets, not DW, but as Brackets is part of DW now and uses the same json file it should stop the auto brackets completion.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 11, 2017 Jan 11, 2017

Hi,

brackets.json is located in user config folder within user home directory:

~/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets/brackets.json

or

/Users/<username>/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets/brackets.json

You can add the flag "closeBrackets": false in the bottom and save the file.

On next launch onwards, brackets are not auto closed on typing { or [ or ( and also quotes are not auto paired on typing ' or ".

Turn off auto pairing brackets or quotes.PNG

Regards

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Gurú ,
Jan 12, 2017 Jan 12, 2017

This solution does not solve the problem for PHP.

As soon as I type the first quotation in the example below, it adds the second one:

<?php
$arp=""

This is a serious issue for people who can type code quickly. Imagine you are writing a letter in Microsoft Word and Word keeps adding periods, commas, and other punctuation to your text as you type. It would drive you nuts.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 12, 2017 Jan 12, 2017

Hello Rob,

I am able to disable the auto insertion of quotes and brackets by adding "closeBrackets": false in brackets.json and relaunching Dreamweaver.

Can you please share the path of the brackets.json file which you had edited and also share the json file content.

Regards

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
LEYENDA ,
Jan 12, 2017 Jan 12, 2017

yshivaprasad wrote:

Hello Rob,

I am able to disable the auto insertion of quotes and brackets by adding "closeBrackets": false in brackets.json and relaunching Dreamweaver.

Can you please share the path of the brackets.json file which you had edited and also share the json file content.

Regards

Talking about "smart quotes" in php blocks of code not ({brackets}). I dont mind them myself but I think it would be good to be able to switch them off.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Gurú ,
Jan 12, 2017 Jan 12, 2017

C:/Program Files/Adobe/Adobe Dreamweaver CC 2017/configuration/brackets.json

(the above is the only location where this file exists)

{
    "themes.theme": "dark-theme",
    "noDistractions": true,
    "healthData.healthDataTracking": false,
    "findInFiles.nodeSearch": false,
    "highlightMatches": true,
    "dragDropText": true,
    "showCodeHints": true,
    "closeTags": {
        "whenClosing": false,
        "whenOpening": true,
        "indentTags": []
    },
    "smartIndent": true,
    "useTabChar": true,
    "spaceUnits": 4,
    "tabSize": 4,
    "code-folding.minFoldSize": 2,
"closeBrackets": false
}

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jan 12, 2017 Jan 12, 2017

Hello Rob,

When Dreamweaver CC 2017 is launched for the first time, it makes a copy of brackets.json in the user configuration folder in appdata. On future launches, this file inside user configuration folder overrides the files inside installed folder, since the customization done by the user takes precedence.

Since you had modified the file inside app installed folder, the change is not reflecting.

Kindly follow the below steps:

1. Quit Dreamweaver if it is running

2. Open the file from following path in any text editor:

      %appdata%\Adobe\Dreamweaver CC 2017\en_US\Configuration\Brackets\brackets.json

3. Add "closeBrackets": false in the file and save it

4. Launch DW

If the file is still missing in the above path, kindly share a screenshot of the following path in explorer:

%appdata%\Adobe\Dreamweaver CC 2017\en_US\Configuration\

Regards

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Gurú ,
Jan 12, 2017 Jan 12, 2017

Fixed now.

The brackets.json file in %appdata% was not coming up in a search, but the other copy was, so I was updating the wrong copy. When I followed the path you provided and updated that copy, the solution worked.

Thanks!

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Mar 02, 2017 Mar 02, 2017

I can't find anything called appdata on my computer. Is that a Windows-only solution? I'm on a mac.

I found a file called brackets.json at applications > Adobe Dreamweaver CC 2017 > configuration > brackets.json, I made the suggested edit but it had no effect.

Thanks.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Gurú ,
Mar 02, 2017 Mar 02, 2017

Is that a Windows-only solution?

Probably. Hopefully Preran or someone else can offer the Apple location. Looks like you ran into the same issue that tripped me up at first -- which is that there are multiple copies of that file.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Apr 20, 2017 Apr 20, 2017

bracket.json is available in below paths:

Win:  %appdata%\Adobe\Dreamweaver CC 2017\en_US\Configuration\Brackets\brackets.json

Mac: <UserHomeDirectory>/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets/brackets.json

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Explorador ,
Jul 22, 2017 Jul 22, 2017

I do totally agree

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Colaborador ,
Dec 24, 2017 Dec 24, 2017

This does not work anymore.

Anytime I type the following

( { ' or "

the system automatically closes and adds on ) } '  and  "

Which is simply awful. I can not understand why anyone would want that to happen, closing tags like </, ok, sure thats useful, but closing brackets and parenthesis makes the coding process very annoying and hard.

Please fix this ASAP.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines
Empleado de Adobe ,
Jun 03, 2018 Jun 03, 2018
MÁS RECIENTES

To disable auto completion of quotes and brackets in Dreamweaver please follow below steps:

  1. Quit Dreamweaver
  2. Open following file in a text editor:
    • Win: %appdata%\Adobe\Dreamweaver CC 2018\en_US\Configuration\Brackets\brackets.json
    • Mac: ~/Library/Application Support/Adobe/Dreamweaver CC 2018/en_US/Configuration/Brackets/brackets.json
  3. Set below 2 flags in the file to false which are set to true by default.
    • "autoCloseQuotes": false,
    • "autoCloseBraces": false,
  4. Save and close the file
  5. Launch Dreamweaver.

Auto completion of quotes and brackets will be now disabled.

Traducir
Informe
Directrices de la comunidad
Sé amable y respetuoso, muestra títulos de crédito de la fuente de contenido original y busca duplicados antes de publicar. Más información
community guidelines