DanielGavin / ols

Language server for Odin
MIT License
417 stars 62 forks source link

ols doesn't appear to honor //+private #246

Closed deadwanderer closed 9 months ago

deadwanderer commented 11 months ago

Per the Odin docs on private:

Using //+private in a file at the package declaration will automatically add @(private) to everything in the file

//+private
package foo

ols doesn't appear to do this, however. Adding @(private) to structs/enums/procs in a file individually does work for ols Intellisense, but the private comment at the top of the file doesn't do anything in the Intellisense (that is, all items in the file are still visible outside the file/package for Intellisense.

DanielGavin commented 9 months ago

Should be fixed in https://github.com/DanielGavin/ols/pull/269