[Cuis-dev] How to stop the editor asking to delete a certain variable ?
Luciano Notarfrancesco
luchiano at gmail.com
Mon Feb 7 20:57:15 PST 2022
Hi Nicola,
I think if I wanted to use it as a template I’d put it in a comment.
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.
On Tue, 8 Feb 2022 at 5:18 AM Nicola Mingotti via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> Hi guys,
>
> I have this little problem that bugs me. It happens sometimes i want to
> leave some variables defined in a method, even if i don't use them,
> because i consider them useful
> for several reason, maybe just to keep a default call template.
>
> Think OSProcess, i want to copy around always the same call template, with
> 'in', 'out', and 'err'. Even if I don't use some of them.
>
> The editor sees i don't really use some of those variable and it complains
> systematically.
>
> Is there a way, also a trick, to make the editor stop complaining ?
>
>
> bye
>
> Nicola
>
>
>
>
>
>
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220208/f72eb1df/attachment.htm>
More information about the Cuis-dev
mailing list