<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<font face="monospace">Hi Luciano,<br>
<br>
i like your idea of using syntax highlighting to stress unused
variables !<br>
<br>
Even if, i would say, better to keep red for errors and dangerous
stuff,<br>
i would say what is of little meaning could be put gray. Something
lighter<br>
than black so that you know it matters less then a regular
statement.<br>
<br>
About comments, doh, no, they are pestiferous, because they don't
nest.<br>
When i am in a hurry and a i whant to comment out a block I often<br>
find this problem. So, no, i would say, let's keep comment out of
our way,<br>
until one day we will make them behave well ;)<br>
<br>
bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
</font><br>
<br>
<br>
<div class="moz-cite-prefix">On 2/8/22 05:57, Luciano Notarfrancesco
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL5GDypzuBfs4Yx3A5sHvRTGbNKhKUKpPnJXfyFyxhTN3c25rw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Hi Nicola,</div>
<div dir="auto">I think if I wanted to use it as a template I’d
put it in a comment.</div>
<div dir="auto">I also find that dialog annoying, specially when
there are more than one unused variable and I have to chase se
real dialogs that start appearing at different places on the
screen for each unused variable. But I like that the unused
variables are removed. If it were up to me, I’d remove the
unused variables automatically without asking the user. I think
a better solution would be to use the syntax highlighter and
paint the unused variables a different color (say, red) so that
the user can see them and decide what to do about them, with no
dialogs interrupting the user.</div>
<div dir="auto"><br>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 8 Feb 2022 at 5:18
AM Nicola Mingotti via Cuis-dev <<a
href="mailto:cuis-dev@lists.cuis.st"
moz-do-not-send="true" class="moz-txt-link-freetext">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div> <font style="color:rgb(0,0,0)" size="2"><font
style="font-family:"DejaVu Sans
Mono";color:rgb(0,0,0)" face="DejaVu Sans Mono">Hi
guys,<br>
<br>
I have this little problem that bugs me. It happens
sometimes i want to<br>
leave some variables defined in a method, even if i
don't use them, because i consider them useful<br>
for several reason, maybe just to keep a default call
template.<br>
<br>
Think OSProcess, i want to copy around always the same
call template, with<br>
'in', 'out', and 'err'. Even if I don't use some of
them. <br>
<br>
The editor sees i don't really use some of those
variable and it complains<br>
systematically. <br>
<br>
Is there a way, also a trick, to make the editor stop
complaining ?<br>
<br>
<br>
bye</font></font></div>
<div><font style="color:rgb(0,0,0)" size="2"><font
style="font-family:"DejaVu Sans
Mono";color:rgb(0,0,0)" face="DejaVu Sans Mono"><br>
Nicola<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></font> </div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>