Bug 124805 - [content assist] Automatic code completion in css files
Summary: [content assist] Automatic code completion in css files
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.css (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 enhancement with 2 votes (vote)
Target Milestone: Future   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-01-22 10:34 EST by Sergej CLA
Modified: 2018-02-22 05:08 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergej CLA 2006-01-22 10:34:14 EST
Hello dear WST developer!
Unfortunatly I missed the authomatic code completion. It would be nice not always to have to push CTRL+Space. A code comletion Just like in native java projects would be nice. Some settings feature that a system guess the property already during the typing.

Thank you!
Comment 1 Amy Wu CLA 2006-01-26 12:37:09 EST
Do you mean like how after you type a '.' then content assist automatically pops up? And how after '<' content assist pops up for xml?
What character do you recommend being the trigger for css content assist?
Comment 2 Sergej CLA 2006-01-27 06:21:17 EST
(In reply to comment #1)
> Do you mean like how after you type a '.' then content assist automatically
> pops up? And how after '<' content assist pops up for xml?
> What character do you recommend being the trigger for css content assist?
> 
1)
'-' like for text-decoration, font-weight, font-family

2)
If I type '{' all possible attributes would bi in the list. The list will be reduced with each letter typed afterwords.
Would be very nice, however, ii don't know if there are too many possibilities and the system will become slow.

3)
Some attributes could be guessed if ii type ':' In case of font-color, there is of course a low probability to guess right, thus better let it for such &#1089;ases. However, take for example the font-family. There are about 20 most used font families, and i think it would be very helpfully to offer them.

4)
Constructions like border:1px solid #804000
If i typed border:1px and next character i typed is a space, the system could guess, that i need some more attributes regarding border (here solid), and offer them in the list.

Let's discuss pro's and con's :)
Comment 3 David Williams CLA 2006-01-31 00:00:55 EST
some concrete proposal with high quality patches will be considered. 
Comment 4 Amy Wu CLA 2008-10-27 04:22:12 EDT
reassigning to inbox
Comment 5 Lars Vogel CLA 2018-02-22 05:08:10 EST
I think it latest and greatest this works.