jonnyboyC / kos-language-server

A language server for the Kerboscript (kOS) a language for Kerbal Space Program
MIT License
27 stars 6 forks source link

Log <x> to <var> interpreted as var not used. #189

Open Strych74 opened 2 years ago

Strych74 commented 2 years ago

I tend to define log filenames to a variable, which I then use as synonyms when logging data to an output file, e.g.

{ local OutFile is "0:/Archive/ShipOutput.txt". log "Yay" to OutFile. }

The extension shows this as a problem in VS Code - in the problems window I get the message "Local variable OutFile was not used". Is this something fixable?