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

[Feature] Propogate Semantic Updates to Dependent Scripts #102

Closed jonnyboyC closed 5 years ago

jonnyboyC commented 5 years ago

Is your feature request related to a problem? Please describe. Currently the lang-server does not update scripts that are dependent on the current script. In this case what I mean is if we have a situation like this

// a.ks
global x is "string".

// b.ks
local y is "string":contains(x).

if x is updated to be a different type such a part b.ks currently won't show an error until we edit b.ks.

Describe the solution you'd like The analysis service should be updated to trigger the semantic passes on dependent scripts to indicate potential updates

jonnyboyC commented 5 years ago

Closed by #110