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 9202561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:17:10+00:00 2026-06-17T23:17:10+00:00

I have a problem with Aptana file/editor associations. I have installed PDT into Aptana.

  • 0

I have a problem with Aptana file/editor associations. I have installed PDT into Aptana. In a directory I have three (and more) PHP files. When I open the first Aptana opens the “PHP Editor”, when I open the second I get an Error (“Unsupported content type editor”) and with the third Aptana opens the “PHP Source Editor”. All have the same extension (.php). I want Aptana to open all PHP files with “PHP Editor”. When I explicitly open the files that throw the error with “PHP Editor” I get the same error.

I have activated the PHP perspecive. Content Types > Text > PHP Content Type has *.php (locked), Content Types > Text > PHP Source has *.php (locked), too. In the file associations I have both editors (and two text editors) listed for *.php and “PHP Editor” is the default editor.

The project is a (local) GIT repository. In another project (also a GIT repository) it seams to work (all *.php files are opened in the “PHP Editor”).

Can somebody explain me that “magic” and give me a tip how to solve my problem. I don’t want to switch to another IDE or something like that…

EDIT

Here is how the different files behave:

                              Open With…    Open With…           Open With…
file     double click         PHP Editor    PHP Source Editor    Default Editor
-------- -------------------- ------------- -------------------- --------------
a.php    Error                Error         PHP Source Editor    Error
b.php    PHP Editor           PHP Editor    PHP Source Editor    PHP Editor
c.php    PHP Source Editor    PHP Editor    PHP Source Editor    PHP Editor

Like described by Sarah Kemp in her answer the different behavior of b.php and c.php is correct. But why can I not open file a.php with the PHP Editor?

EDIT 2

When I look at the file properties, b.php and c.php have the type “File (PHP Content Type)” and a.php has “File (PHP Source)”.

  • 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-17T23:17:11+00:00Added an answer on June 17, 2026 at 11:17 pm

    You can set file associations on a per file basis too, it looks like maybe that is your problem since your other repo is working correctly?

    Right click on your file in the Project Explorer (this is where I tested) and choose ‘Open With…’ and select the editor you prefer from the sub menu. Once you have selected an editor in this list, Aptana will remember your preference for that file and use it when you double click in future – even if all other file of that type open with something else.

    Hope this works for you.

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

Sidebar

Related Questions

I have problem with initializing data into SQL Server Compact .sdf data file in
I have problem while loading data into html select when users press or click
I have problem developing with live555. I already build the lib-files and example projects
I have problem with TableView its empty. In (.h) file: @interface TableViewController : UITableViewController{
i have problem in MYSQL select in OOP PHP. i do not know how
I have installed: -Aptana studio v 3.0.9 -Ruby 192p290 -DevKit -Git And I was
My problem is somewhat strange. I have started developing a web page with Aptana
I have a problem with my Aptana dist. (version 3). When editing HTML, CSS,
now, i'm trying to write program using php and sqlite, but i have problem.
EDIT: Solved the problem, thanks to this forum post: http://forums.aptana.com/viewtopic.php?f=20&t=7563&p=27407&hilit=libmysql.dll#p27407 . Thanks everyone! I've

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.