Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8353115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:09:54+00:00 2026-06-09T09:09:54+00:00

For programming PHP with TextMate (OS X) I’d like it to use Allman indentation:

  • 0

For programming PHP with TextMate (OS X) I’d like it to use Allman indentation:

for($i = 0; $i < 1000; $i++)
{
    echo($i);
}

Rather than the default indentation:

for($i = 0; $i < 1000; $i++) {
    echo($i);
}

I can only find bundles to re-indent existing code, but not to simply use this indentation by default.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:09:56+00:00Added an answer on June 9, 2026 at 9:09 am

    Turned out to be simple. Simply press enter first, then type the first curly brace, like so:

    1. Type for($i = 0; $i < 1000; $i++)
    2. Press enter
    3. Type the opening curly brace {

    Code will then be formatted like so:

    for($i = 0; $i < 1000; $i++)
    {
        echo($i);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to programming and PHP. I'd like to use onclick from HTML to
I'm a newbie in php programming and i can't make it finding where is
I'm just starting PHP programming as you can tell. I want the results of
I am a beginner in PHP programming and would like help with a little
I use Eclipse for programming in PHP and Java(Android) and sometimes Python, unfortunately Eclipse
I'm programming in PHP and would like to create web pages which have email
It has been a year I am programming using PHP. I use Procedural programming
i'm programming a php/mysql web app which is kinda like a blogging platform where
As I am a beginner in the PHP programming field, I would like to
After ages of programming in php this question seems really weird still to me.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.