You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2018/09/28 09:43:00 UTC

[jira] [Commented] (NETBEANS-1314) Surround selected text with quotes

    [ https://issues.apache.org/jira/browse/NETBEANS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631622#comment-16631622 ] 

Christian Lenz commented on NETBEANS-1314:
------------------------------------------

Sometimes the behaviour is not that NB inserts two ", it will delete the selected word and replaces it with ".

font-family: myFont;

select myFont and hit ';

font-family: ';

> Surround selected text with quotes
> ----------------------------------
>
>                 Key: NETBEANS-1314
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1314
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: web - CSS Preprocessors (SASS, LESS, ...)
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>
> I have this piece of code in my .scss file:
> {code}
> background: url(/Public/smth/{version}/tablomat/css/img/preloader/background.png);
> {code}
> because of the \{version\} I have to use "" for this content. When I select from / until .png and want to surround it with " I got this output:
> {code}
> background: url(""/Public/Tablomat/build/{version}/tablomat/css/img/preloader/background.png); // wrong behavior
> background: url("/Public/Tablomat/build/{version}/tablomat/css/img/preloader/background.png"); // expected
> {code}
> The path will not surrounded. Happens here too:
> {code}
> background-color: ""green; // wrong behavior
> background-color: "green"; // expected
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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