Community
Participate
Working Groups
Now that we have a robust token stream (from bug 454485) we can improve the content assist significantly by providing context-aware proposals. for example: h1 { color: ^assist here } now we could only show rgb, rgba, hsl, hsla and the list of colours rather than everything, since we now know we are completing a color property.
As part of commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ed0a768372ddaa5ff69810d6eda8e17e284af83c I implemented the new computeProposaals API so we can return computed proposals *and* keyword / template proposals rather than just keyword / template proposals. That commit also hooks up the CSS assist in HTML file style blocks
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e506fed2e6eded331bf86bd04e7321830874ec21 Added a map of CSS properties with doc/links/css level
We should add a link (possibly in the CSS level info of the hover) to http://caniuse.com/#search= or another site that includes browser support info.
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/msg04002.html
Reopening for 15.0. The new version of CSSLint has a complete property name list that we can use to improve proposals. It also is a good time to update our AST generation to provide more accurate assist (inside rule vs inside property name vs inside property value), as the AST will also be used for quickfixes to ignore.
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=afeb2d1317251fb0d592952781d7c06a10712dbb http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4c0f1f25dd8062d4cd4e8266bc9f31c2bfe5eca1 http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e37083ca1525146c529f2aabbba3ad93c417980d http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=c775da51064cf0c9a9144a76b9a3dacfc89beeb7 http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=36bc4f2e612028ad85125ceef9318a8fb6a6f62e Fixed from my working branch have been applied to master. The content assist now provides accurate proposals for property values, allowed nested @rules and more. The test suites for assist and the parser have been expanded to cover the new cases.