Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330437 - Highlight syntax as...
Summary: Highlight syntax as...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 06:24 EST by Pau Moreno CLA
Modified: 2020-05-14 10:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Moreno CLA 2010-11-17 06:24:04 EST
Hello,

I don't know if this is the right place to submit these requests, forgive me if not.

I found myself coding a rather big JS file with a .php extension (the server .htaccess rewrites the .js request to address the .php file). I think this is quite common for js and css files which need to have some dynamically-generated content.

Well, I miss the feature to "fool" eclipse and tell it that it's actually a js file, and that it should be highlighted following the js syntax rules. In other words, I think that a "Highlight file as... (php, js, etc...)" option would come very handy in some cases.

Thanks!


-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product)
Installed Features:
 org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L