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

Apply source formatting not works good in the last version (2018)

Engaged ,
Dec 18, 2017 Dec 18, 2017

Copy link to clipboard

Copied

Hello,

I've a problem with the last version of Dreamweaver (2018) about "Edit->Code->Apply source formatting".

If I use it, the js code isn't formatted correctly.

For example, this is the correct code from a PVII extension:

<script type="text/javascript">P7_SOMop('p7SOM_1',99999,2,1,600,1,1,0,1,400,1,1,0)</script>

This is the code after that I've applied the source formatting:

<script type="text/javascript">

              P7_SOMop( 'p7SOM_1', 99999, 2, 1, 600, 1, 1, 0, 1, 400, 1, 1, 0 )

        </script>

For Google Analytics this is the results.

Before:

window.dataLayer = window.dataLayer || [];

  function gtag(){dataLayer.push(arguments);}

  gtag('js', new Date());

  gtag('config', 'UA-');

After:

window.dataLayer = window.dataLayer || [];

function gtag() {

  dataLayer.push( arguments );

  }

  gtag( 'js', new Date() );

gtag( 'config', 'UA-' );

The code works good but I'd like to have the code formatted correctly.

is there an extension that can correctly format the code (in the same way as it was done on the previously DW's versions)?

Thanks

Views

3.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

Adobe Employee , Apr 06, 2019 Apr 06, 2019

Hi All,

We are happy to inform you we have further stabilized the PHP source formatting issues in our latest pre release drop 15081.

Please give it a try and share your feedback.

Let us know if it fixes your issues.

Please find the pre release invite link Adobe Prerelease

Thanks

Dreamweaver Team

Votes

Translate

Translate
Community Expert ,
Dec 18, 2017 Dec 18, 2017

Copy link to clipboard

Copied

we need to add voice to the FR that will implement a better code format... are you involved in alpha ?

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
Engaged ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

Hi Birnou,

I opened a post on "prerelease" forum.

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 ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

cool.. but if you check on the prerelease forum, I've already opened two thread ... one about code formating, and one about code coloring... be careful not to over-sweeten the subject by scattering it through different discussions

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 ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

one is

Road Map 2018 - code formating details

and the second is

Road Map 2018 - code formating and code coloring

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
Engaged ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

Don't worry Birnou, Adobe doesn't read our posts .

Adobe now is an Indian company and their culture is different from ours (American and European) and they don't give much consideration to these "details" (for example, formatting code).

I have more confidence in extension developers, maybe someone makes one for this purpose.

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 ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

I haven't the same vision than you do.

plus why should we pay an extra money to get a code format in within a code editor that should handle it natively ?

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
Engaged ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

Because the problem with "formatting code" is there from the first version of the new Dreamweaver (2017) and Adobe never fixed it (a lot of requests are also made on dreamweaver. uservoice. com).

Maybe the extension's developers are faster...

For the "India" discourse is obviously only my/personal vision/opinion.

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 ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

I agree that a lot of polish are still waiting to be done... but I don't think that it is up to the developers of extensions to correct them, or to implement them, because that it will necessarily generate a cost, (that I do not context in itself) but that should not be a supplement to the cost of the IDE

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
Engaged ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

This bug is still there in the last 18.1 version.

Adobe doesn't seem very interested in giving a future to this software.

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
LEGEND ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

-Michele  wrote

Adobe doesn't seem very interested in giving a future to this software.

Sadly, this has been pretty obvious for a long time.  I've been redoubling my efforts to convince our higher-ups to make the switch to Lucee for primarily that reason.  Also, there seems to be a lot of explaining away in an effort to avoid actually doing anything that users ask for, things that should have been in place from the beginning.

https://tracker.adobe.com/#/view/CF-3502465​  (Read all comments.  You'll see what I mean.)

V/r,

^ _ ^

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
Adobe Employee ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

I checked with the team, and they said that they weren't able to address the bug in this update. This bug is still live, and will find a fix in a future update.

Thanks,

Preran

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
Engaged ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

Preran  ha scritto

... will find a fix in a future update.

I'm sorry Preran but now I've lost all hope in Adobe.

Release a software with serious problems of stability/functionality, identifies a bad management.

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
Engaged ,
May 31, 2018 May 31, 2018

Copy link to clipboard

Copied

Hi Preran,

the bug is still there also in the last build downloaded today.

Please, could you ask to the "team" about this issue (for me is very important, I'm still on CC 2015 because of this)?

Thanks,

Michele

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
Adobe Employee ,
May 31, 2018 May 31, 2018

Copy link to clipboard

Copied

Hi Michele,

Am checking with the Dreamweaver team. Will get back as soon as I hear from them.

Thanks,

Preran

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
Adobe Employee ,
Jun 01, 2018 Jun 01, 2018

Copy link to clipboard

Copied

The DW team let me know that this was a bigger fix, and did not make it to this update. They are planning to fix it in the next. Stay tuned for updates.

Apologize for the inconvenience meanwhile.

Thanks,

Preran

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
Adobe Employee ,
Mar 01, 2019 Mar 01, 2019

Copy link to clipboard

Copied

Hi All,

We are happy to inform you we have addressed a couple of PHP source formatting issues in our latest pre release drop 15073.

Please give it a try and share your feedback.

Let us know if it fixes your issues.

Please find the pre release invite link Adobe Prerelease

Thanks

Dreamweaver Team

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
Adobe Employee ,
Apr 06, 2019 Apr 06, 2019

Copy link to clipboard

Copied

Hi All,

We are happy to inform you we have further stabilized the PHP source formatting issues in our latest pre release drop 15081.

Please give it a try and share your feedback.

Let us know if it fixes your issues.

Please find the pre release invite link Adobe Prerelease

Thanks

Dreamweaver Team

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
Adobe Employee ,
Apr 24, 2019 Apr 24, 2019

Copy link to clipboard

Copied

Hi,

we are happy to inform you that we have fixed a couple of bugs in our latest Prerelease drop 20.0.0.15092.
Please give it a try and let us know if your issue is fixed and share your feedback.

Prerelease Invite link:
https://www.adobeprerelease.com/beta/9EB451B5-D2E8-46E5-AFA2-78C85442FFA2/participate/DD4E B148-308D...

Regards
Dreamweaver Team

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
Adobe Employee ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

LATEST

Hi,

we are happy to inform you that this bug is fixed in our latest release 19.2.0.11274 which can be downloaded from creative cloud.

Please give it a try and let us know if your issue is fixed and share your feedback.

Regards

Dreamweaver Team

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