Skip to main content
davidmc86
Participant
May 23, 2018
Answered

[locked] Apply Source Formatting To Selection

  • May 23, 2018
  • 1 reply
  • 1955 views

Does "Apply Source Formatting To Selection" option work for anyone? I have never been anble to get theis to work, "Apply Source Formatting" works fine.

 

I'm "selecting" the code I want to format and then clicking "Apply Source Formatting To Selection" but nothing happens, am I doing something wrong?

 

Thanks

 

David

    This topic has been closed for replies.
    Correct answer BenPleysier

    I had to find the command first, it used to be under Commands.

    To answer your question, yes it does work.

    Select the code to be formatted and go to Edit > Code > Apply Source Formatting To Selection

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    May 23, 2018

    Which version of Dreamweaver?

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    davidmc86
    davidmc86Author
    Participant
    May 23, 2018

    Most up to date version of Dreamweaver CC

    BenPleysier
    Community Expert
    Community Expert
    March 6, 2021

    Following up on my previous post: I found that, as well as source code formatting not working, I just could not get multiple cursors to work as advertised. This was my first working file, so I had not tried it on others. Made me wonder if there was some sort of corruption in the file: hidden text, invalid character or whatever. So I selected all, deleted all and then did Ctrl-Z. That has been a solution in other app's and it seems to have worked here. Now the file formats OK and multiple cursors also work. This may be something to bear in mind as a solution in other cases where a code file displays abberent behaviour.

     


    The original poster has had the problem solved. If you still have a problem, it will be best that you start a new discussion, where you table all relevant information such as code.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!