DanielGavin / ols

Language server for Odin
MIT License
375 stars 56 forks source link

[enhancement] private struct variables #414

Open sudokit opened 1 week ago

sudokit commented 1 week ago

Would it be possible to make it so that the language server wouldnt suggest certain struct variables/procedures outside the current package or file? Like marking the variable with an underscore or @(private) like we already have for procedures and global variables.

Wouldnt be 100% needed, just a little feature. And yeah maybe i should ask ab this on the official language github, but dont need them to actually be private so you cant access them, just so that you wouldnt 'see' them.