Show Applied Styles for Tag - No More?

Hi,

It's late and It's been a long day and I'm kinda brain dead, so I'll probably regret asking such a dumb question tomorrow, but here goes...

I recently upgraded to 2.0. (Love it, btw! Great job!) I thought I was able to right-click tags in HTML files and see the CSS styles for them in 1.1. The Help says that you can right-click a tag (in HTML, XHTML, and RHTML files) and the context menu will contain a "Show Applied Styles for Tag" menuitem. I don't see this menu item, nor do I see a CSS Styles option under "Windows > Tool Windows".

Was this feature removed in 2.0 or am I doing something incredibly stupid. (Again. )

Thanks,
Larry

3 comments
Comment actions Permalink

Hello Larry,

The feature wasn't removed, but there's a bug in 2.0 that makes it unavailable
in RHTML files (it should still work in HTML/XHTML). We'll fix the bug in
2.0.1.

It's late and It's been a long day and I'm kinda brain dead, so I'll
probably regret asking such a dumb question tomorrow, but here goes...

I recently upgraded to 2.0. (Love it, btw! Great job!) I thought I was
able to right-click tags in HTML files and see the CSS styles for them
in 1.1. The Help says that you can right-click a tag (in HTML, XHTML,
and RHTML files) and the context menu will contain a "Show Applied
Styles for Tag" menuitem. I don't see this menu item, nor do I see a
CSS Styles option under "Windows > Tool Windows".

Was this feature removed in 2.0 or am I doing something incredibly
stupid. (Again. )


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Okay. Thanks, Dmitry.

0
Comment actions Permalink

Hi,

I brought up this issue (Show Applied Styles For Tag) about a year ago and was told it would be fixed in 2.0.1. I went to your bug base and see that it is indeed marked as fixed. (http://youtrack.jetbrains.net/issue/RUBY-5588).

I'm using 2.0.2 (which, by the way, I love - thank you!) and it doesn't appear to be working. When I right-click a simple element like <p id='chooser'> the CSS Style window opens (with the right title containing the .erb file and style element) but there's nothing in it. Both the window on the left (the actual styles) and the one on the right (source preview) are empty.

Here are the corresponding style definitions from my CSS file:
p#chooser select,
p#chooser input {
  margin-right: 10px;
}

As you can see, it's nothing fancy, but perhaps the fact that there's two of them followed by a child element is throwing things off?

Thanks,
Larry

0

Please sign in to leave a comment.