You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Libor (Jira)" <ji...@apache.org> on 2021/01/19 22:41:00 UTC
[jira] [Comment Edited] (NETBEANS-5200) Valid SCSS code treated as
invalid by editor
[ https://issues.apache.org/jira/browse/NETBEANS-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268267#comment-17268267 ]
Libor edited comment on NETBEANS-5200 at 1/19/21, 10:40 PM:
------------------------------------------------------------
hi, my workaround for this invalid syntax error is
{{#{'&' + $hidden-selectorExt}}}
I have reported it some time ago here as well: https://issues.apache.org/jira/browse/NETBEANS-4290
but it does not seem like the project is very active :/. Personally, I'm trying to switch projects to VS Code, but it has another issues.
was (Author: skophek):
hi, my workaround for this invalid syntax error is
{{#\{'&' + $hidden-selectorExt}}}
have reported it some time ago here as well: https://issues.apache.org/jira/browse/NETBEANS-4290
> Valid SCSS code treated as invalid by editor
> --------------------------------------------
>
> Key: NETBEANS-5200
> URL: https://issues.apache.org/jira/browse/NETBEANS-5200
> Project: NetBeans
> Issue Type: Bug
> Components: web - CSS Preprocessors (SASS, LESS, ...)
> Affects Versions: 12.1, 12.2
> Reporter: Marek Gremblewski
> Priority: Major
> Fix For: 12.3
>
> Attachments: image-2020-12-31-17-06-18-039.png
>
>
> !image-2020-12-31-17-06-18-039.png!
> But code is correct and valid SCSS. Here is a above code snippet
> {code:java}
> $hidden-selectorExt: '.hidden';
> .formRow {
> margin-top: 1rem;
> margin-bottom: 1rem;
> .errorList {
> display: none;
> }
> &--error {
> &#{$hidden-selectorExt} {
> display: block;
> @extend %visually-visible;
> }
> input:not([type="submit"]) {
> background-color: var(--error-color);
> border-color: var(--main-color);
> &:active,
> &:focus {
> border-color: #ff0000;
> }
> }
> label {
> color: var(--error-color);
> }
> .errorList {
> display: block;
> }
> }
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists