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:42:00 UTC
[jira] [Updated] (NETBEANS-1314) Surround selected text with quotes
[ https://issues.apache.org/jira/browse/NETBEANS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lenz updated NETBEANS-1314:
-------------------------------------
Description:
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}
was:
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:
background-color: ""green; // wrong behavior
background-color: "green"; // expected
> 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