Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
deadwanderer opened this issue Sep 13, 2023 · 1 comment
Closed

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

deadwanderer opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@deadwanderer
Copy link
Contributor

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 DanielGavin added the bug Something isn't working label Sep 28, 2023
@DanielGavin
Copy link
Owner

Should be fixed in #269

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants