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

AyaLsp#isWatched works incorrectly #31

Open
HoshinoTented opened this issue May 19, 2023 · 2 comments
Open

AyaLsp#isWatched works incorrectly #31

HoshinoTented opened this issue May 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@HoshinoTented
Copy link
Contributor

HoshinoTented commented May 19, 2023

boolean isWatched(@Nullable VirtualFile file) {

+ Library Root
  + src
     - watched.aya
  - aya.json
  - not-watched.aya

File not-watched.aya is also isWatched even though the lsp doesn't load it.

@HoshinoTented HoshinoTented added the bug Something isn't working label May 19, 2023
@HoshinoTented HoshinoTented changed the title isWatched works incorrectly AyaLsp#isWatched works incorrectly May 19, 2023
@imkiva
Copy link
Member

imkiva commented May 21, 2023

😱

@HoshinoTented
Copy link
Contributor Author

HoshinoTented commented May 21, 2023

Cause isInLibrary checks whether a file is under a library directory.

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