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

  • Home
  • SEARCH
  • 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 6333033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:23:02+00:00 2026-05-24T18:23:02+00:00

I am developing an application using PHP in Aptana Studio 3, and have set

  • 0

I am developing an application using PHP in Aptana Studio 3, and have set up a global debug() function that uses firePhp. As it is, my calls to the debug() function are scattered throughout the code. This is ok for this phase, because it is helping me a lot to catch bugs early. However, all these debug() calls scattered throughout, are making code a lot less readable.

I would like to be able to have only those debug() calls syntax-colored differently from the rest of the functions, preferably a lighter color, so that at first sight they look more like comments than actual code.

I am really confused by the TextMate approach Aptana 3 has taken, and, even though I understand that it offers many possiblities, not knowing any Ruby, has made this whole configuration thing very unapproachable to me.

In short, is there a quick way to have just this one function colored differently?

Follow up: Because there is officially no way to color-code specific functions, I resorted to renaming all debug() functions to _d(), as well as added _g(), _u(), and _t(), for start group, close group, and stack trace functionality respectively. Adding the underscores changes the “visual texture” of the code, so I can more easily focus on the lines that actually matter.

  • 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-05-24T18:23:02+00:00Added an answer on May 24, 2026 at 6:23 pm

    Short answer: no.

    Scopes are assigned by our partitioning and tokenizing in Java code for the various languages, not in separate language syntax definitions like in Textmate.

    We follow Textmate conventions for scope names and matching, but we don’t currently let you alter how the scopes get assigned via rubles or anything. As a result there’s no way for you to assign custom scopes to your own methods/functions/variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a PHP application that's using an Access database as a backend.
I am developing a PHP/MySQL application using vertrigoserver. I need to enter the German
I am developing an application using MVC Preview 5. I have used typed views.
I developing ASP.NET application using a Swedish version of Windows XP and Visual studio
I am developing a web application using Struts 2.1.2 and Hibernate 3.2.6.GA. I have
I'm developing a Java application using Eclipse. My project has two source directories that
I am developing an application using PHP but I am new to regular expressions,
I am developing an web application using php. One of the requirement is the
I'm developing a web-application using PHP which is on tests by some of my
I am developing a PHP application using our XAMPP setup as a test server.

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.