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
Stefan Athanasiadis is currently offline Stefan AthanasiadisFriend
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: Wed Jun 20 17:29:37 GMT 2018

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

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

Back to the top