NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Improve CSS-Tag Autocompletion


Joined: 26 Sep 2006
Posts: 20
Reply with quote
Hi there

We use PhpEd a lot for CSS editing. The following improvements would be a huge comfort-plus:

I type e.g. "lett", press ctrl+space, enter and it autocompletes to "letter-spacing".
It would be really cool if autocomplete appends the required colon and a space too (maybe including the semicolon and the caret positioned before).

I also noticed, that some basic CSS tags are missing in the autocomplete list: margin, padding, border (and more?)
Some basic attributes are also missing: "clear: both" for example.
Autocomplete should be able to help with all CSS1 and CSS2 tags/attribs.

Thanks for considering it for future versions.

greets
View user's profileFind all posts by nezzoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Thanks for pointing out.
We'll take care of this, meanwhile feel free to correct phped.rel
where all attributes and possible values are pre-defined.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 26 Sep 2006
Posts: 20
Reply with quote
Tnx for the tip with phped.rel.

Is it possible to "abuse" this file for the "add colon and space" - feature?
E.g. by adding ": " to all style names?

My first quick try failed...
View user's profileFind all posts by nezzoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I think it's impossible to circumvent it this way.
I only meant that .rel file can be used to list _all_ the css/css2 attributes.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jan 2007
Posts: 29
Reply with quote
I know this is an old request, but I've been working with a lot of CSS too and while I'm happy to edit the phped.rel file myself to add in the missing CSS attribs and values myself (e.g. margin, padding), I would have thought that this would have been put in one of the recent updates? Is this something that is still set to be updated in an upcoming release?

Thanks,
Chris
View user's profileFind all posts by mushySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
it was done for 4.6 buld 4633.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Jan 2007
Posts: 29
Reply with quote
I performed an upgrade with that version already and it hadn't overwritten the .rel file. However, I've just done an upgrade to version 5 and by deleting the .rel file first I now have the new version.

Is it mentioned anywhere that the .rel is not upgraded?
View user's profileFind all posts by mushySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I updated installation scripts to have this file overwritten unconditionally.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Improve CSS-Tag Autocompletion
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