[Cuis-dev] How to stop the editor asking to delete a certain variable ?

Juan Vuletich JuanVuletich at zoho.com
Tue Feb 8 13:23:12 PST 2022


On 07/02/2022 07:18 p.m., Nicola Mingotti via Cuis-dev 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
>

Sometimes I just add a line like

{ unusedVar1. unusedVar2}.

That's enough.

Still, I don't mind making this behavior configurable.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220208/96fa38af/attachment.htm>


More information about the Cuis-dev mailing list