Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 301 forks source link

Commando Sections don't recognize identifiers inside @media #1900

Open Defman21 opened 8 years ago

Defman21 commented 8 years ago

Short Summary

.test {
    color: red;
}

@media all and (max-width: 100px) {
    .test {
        color: blue;
    }
}

Open Commando Sections.

Expected results

Komodo Edit or IDE? IDE Komodo Version? 10.0.1 Operating System (and version)? elementary OS 0.4

mitchell-as commented 8 years ago

It looks like codeintel is not parsing the @media declaration properly since it's not showing up in the code browser properly. Commando utilizes codeintel for these sorts of things, so Commando is not to blame.

mitchell-as commented 7 years ago

Upon investigation, codeintel will not handle nested selectors within any selector that has (...) (parentheses). A fix for this is a fair amount of work so I'm going to shift the milestone back.