Opened 8 years ago

Closed 6 years ago

Last modified 43 years ago

#336 closed Bugs (None)

test.php with no highlighting

Reported by: mnem0 Owned by: nobody
Priority: 1 Milestone:
Component: None Version: None
Keywords: Cc:

Description

1. Create a file called "test".
2. Press F2 to rename it and specify "test.php"
3. Now you got a .php file, but highlighting etc does
not work.

Change History (4)

comment:1 Changed 8 years ago by bananeweizen

Logged In: YES 
user_id=440739

workaround: save and reopen
reduced priority to "lowest"

comment:2 Changed 7 years ago by nobody

Logged In: NO 

I believe it's because you have to be within the context of
a php project. Eclipse doesn't look at the contents of the
file to determine how to highlight, instead it looks at the
context it's in.

comment:3 Changed 7 years ago by mnem0

Logged In: YES 
user_id=976368

When a new file with extension .php is created phpEclipse
will set the proper context but if it's created as .blah and
then renamed to .php the context is NOT properly setup.

This should be a very very easy fix.

comment:4 Changed 6 years ago by emann

  • Status changed from assigned to closed
Logged In: YES 
user_id=430467
Originator: NO

Close and re-open the file. Highlighting works.

Closing this issue.
Note: See TracTickets for help on using tickets.