1

I have a sample.phtml partial in a ZF 1 environment. CSS files are included in the head.phtml file.

If I construct in sample.phtml a style section like following the CSS code completion will not work, only for text-color1.

<style>
    .text-color1 {
        color: #fff;
    }
</style>

If I delete this style section the CSS code completion will work fine in the partial.

Any suggestions?

0

1 Answer 1

1

AFAIK it works as originally designed: if you have specific stylesheet referenced (inline or external) then code completion will offer entries from them only; if none referenced then all possible external files will be on offer.

At the moment there is no workaround (I would think that invoking Ctrl + Space (or whatever you may have there for code completion popup) once again would help .. but it does not seems to do anything).

https://youtrack.jetbrains.com/issue/WEB-7317 -- watch this ticket (star/vote/comment) to get notified on progress.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.