Bug 525248 - CSS content assist could help with psuedo-classes
Summary: CSS content assist could help with psuedo-classes
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 19.0   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: consistency, triaged, usability
Depends on:
Blocks:
 
Reported: 2017-09-26 16:07 EDT by Carolyn MacLeod CLA
Modified: 2018-06-21 16:23 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 Carolyn MacLeod CLA 2017-09-26 16:07:19 EDT
The CSS content assist doesn't list any pseudo-things. There's quite a few. Would be really useful to give the user a list of these. Not sure if the following list is complete...

pseudo-classes
:link
:visited
:active
:hover
:focus
:enabled
:disabled
:checked
:not
:empty
:target
:lang(l)
:root
:selection
:first-child
:last-child
:only-child
:nth-child(n)
:nth-last-child(n)
:first-of-type
:last-of-type
:only-of-type
:nth-of-type(n)
:nth-last-of-type(n)

pseudo-elements
::before
::after
::first-line
::first-letter
Comment 1 Carolyn MacLeod CLA 2017-09-26 16:07:51 EDT
Useful info: https://www.w3.org/TR/selectors/#selectors
Comment 2 Michael Rennie CLA 2018-04-09 09:37:54 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. 

For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04114.html
Comment 3 Carolyn MacLeod CLA 2018-05-14 13:21:31 EDT
Reopening "content assist should JustWork everywhere" bugs.
Comment 4 Eclipse Genie CLA 2018-06-14 18:03:49 EDT
GitHub Pull Request 315 created by [carmacleod]
https://github.com/eclipse/orion.client/pull/315
Comment 5 Carolyn MacLeod CLA 2018-06-14 18:06:49 EDT
PR in comment 4 is only a partial fix (just adds templates).
It doesn't list the pseudo-classes or pseudo elements yet.
Comment 6 Eclipse Genie CLA 2018-06-20 16:45:56 EDT
GitHub Pull Request 316 created by [carmacleod]
https://github.com/eclipse/orion.client/pull/316
Comment 7 Carolyn MacLeod CLA 2018-06-21 16:23:17 EDT
Fixed with PR in comment 6.