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

Source Formatting for PHP and JavaScript?

Contributor ,
Aug 07, 2012 Aug 07, 2012

Hello,

I've been mainly working in development tools such as Aptana Studio (Eclipse) along with a web browser with debug tools. I've Dreamweaver CS6 as part of a suite and it seems promising, but it seems to fall short in its handling of source code--namely being able to apply source formatting to pages that contain a mix of HTML and PHP. And it doesn't seem to have any formatting support for JavaScript?!

Am I just missing something or is this in fact missing? If so, it's sadly a deal-breaker. It's inefficient to read someone else's code without first filtering it through a formatter for readability.

TOPICS
Server side applications
6.3K
Translate
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 ,
Aug 08, 2012 Aug 08, 2012

Unfortunately, Dreamweaver does source formatting for HTML and CSS only. I agree that it would be useful for DW to format PHP and JavaScript as well. Add your voice to requests for this feature by filing a request through the official form at http://adobe.ly/DWBug.

Translate
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 Beginner ,
Dec 13, 2013 Dec 13, 2013

There is an existing DM extension to accomplish formatting JavaScript here:

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2107536#

Translate
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
Participant ,
May 30, 2014 May 30, 2014

Cool. Just wish it worked in CC. Breaks saying it needs DW 10 or greater. Hmmmm. Thanks though.

Translate
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 Beginner ,
Mar 05, 2015 Mar 05, 2015
LATEST

xZone9, Do you recall the name of that extension for formatting JavaScript?  The link provided and extension ID is no longer active, but a search by extension title should work.

-Bryce

Translate
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