NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Polystyle integration with javascript files


Joined: 10 Feb 2007
Posts: 48
Reply with quote
The purchased version of Polystyle is installed. It works great with PHP & HTML files, however JS files don't allow Polystyle to reformat--the option to reformat is not visible.

The purchased version of Polystyle formats most every file format and would prefer not to have to exit PHPed to reformat a .js file.

Is there a set up feature on PHPed that I've overlooked?
View user's profileFind all posts by StorymanSend private message
Guru master

Joined: 05 Jul 2004
Posts: 660
Location: Belgium
Reply with quote
Format with polystyle is an integration command. You can modify it under Tools > Settings and pick Tools > Integration there.
Look for the "Format text with Polystyle" entry, select it and press edit. Then in the parameter window, just add ;*.js to the extension filter and presto Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 10 Feb 2007
Posts: 48
Reply with quote
Blizz,

Yup, that worked.

I figure when PHPed doesn't do what I need it is because there is a setting overlooked.

Thanks
View user's profileFind all posts by StorymanSend private message
Guru master

Joined: 05 Jul 2004
Posts: 660
Location: Belgium
Reply with quote
Yeah it usually is...
I've been a PhpED user/customer since 2004 or so and I still discover settings I had no idea of Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Polystyle integration with javascript files
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic