Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » php line comment formatting
php line comment formatting [message #1776121] Sun, 12 November 2017 12:55
Sam W is currently offline Sam WFriend
Messages: 2
Registered: November 2017
Junior Member
Is it possible to line up line comments after statements? Here's an example:

if (something) { // comment
    $vara = function(); // comment
    $varb = anotherFunction(); // comment
    $varc = functionB(); // comment
}


I would like it to look like this:

if (something)                 // comment
    $vara = function();        // comment
    $varb = anotherFunction(); // comment
    $varc = functionB();       // comment
}


Just in case the code is not displayed properly, I would like the comments to line up on the same tab.
Previous Topic:Errors in Codeigniter Projekt
Next Topic:Unnecessary (extra) new line indent when pasting.
Goto Forum:
  


Current Time: Thu Sep 26 06:41:43 GMT 2024

Powered by FUDForum. Page generated in 0.02726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top