Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
CSS Editing 
Affected versions
Fixed in
Fixed in build
Next build 
Build
4155
Fixed in build
4188
Subsystems
0, 0
  • Submitted by   Serge Baranov
    3 years ago (31 Mar 2006 18:00)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:27)
  • Jira: IDEA-31864
    (history, comments)

IDEA-31864

Refactoring doesn't find CSS styles inside struts tags

0
Richard Bondi reports:

IntelliJ does not refactor or find occurrences of css styles inside struts
tags.

Consider the following struts jsp tag, inside a jsp that links to css file
foo.css:

        <html:select  name="shipmentForm"
                      property="<%=FormFields.VES_NOM_STATUS%>"
                      styleClass="standard"
                      indexed="true"
        >


The problem: although foo.css includes a class ".standard", IntelliJ
refactoring doesn't recognize this:
  • ctrl-space inside styleClass="" does not pop up the styles in foo.css
  • refactoring .standard from within foo.css (shift-F6 on it in foo.css) does
not find the occurrence in styleClass.
  • ditto with Alt-F7 inside foo.css

Issue was resolved
Comments (3)
 
History (1)
 
Links
 
Maxim Mossienko
  Maxim Mossienko
31 Mar 2006 19:58
(3 years ago)
#permalink
I confirm last two issues however I see Control + Space suggesting variants (using sample project from other issue (IDEA-7264)) when css file was added. Please, clarify this and possible attach sample project with problem demonstration.
Thomas Hartwig
  Thomas Hartwig
03 Jun 2007 10:52
(2 years ago)
#permalink
Hello Maxim, how do you add the css file?
I have the same like Richard described and tried to reproduce it with the ideabug test project. But where and how I have to add the file. If I create one in resources it is not determined as an applied tag style file.
Note - in my real project the file is determined for all standard html tags but not for struts tags.
Maxim Mossienko
  Maxim Mossienko
04 Jun 2007 12:22
(2 years ago)
#permalink
IDEA keeps references to CSS files (no explicit location setup)