Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Log lines spamming all the time when typing in v.2.6.1 #1497

Closed
2 tasks done
Rafael2616 opened this issue Nov 25, 2023 · 2 comments
Closed
2 tasks done

[Bug]: Log lines spamming all the time when typing in v.2.6.1 #1497

Rafael2616 opened this issue Nov 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Rafael2616
Copy link
Contributor

Rafael2616 commented Nov 25, 2023

What happened?

When typing in files that do not have language server, like Kotlin and Json, the log line appears with each typing, polluting the log session

VID-20231125-WA0001.mp4

Update: There are also log lines spamming when typing in Java files, but are other logs, as you can see here

Screenshot_20231125_175647.mp4

What's the expected behavior?

Appears only once when opening a file that doesn't support code completion

What version of AndroidIDE you're using?

v2.6.0 (debug builds)

Relevant log output

IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 
IDELanguage               W   Cannot provide completions. No language server available. 

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Rafael2616 Rafael2616 added the bug Something isn't working label Nov 25, 2023
@Rafael2616 Rafael2616 changed the title [Bug]: 'Cannot provide completion' Log line spamming all the time when I write in .kt, .kts and .json files in v.2.6.1 [Bug]: Log lines spamming all the time when typing in v.2.6.1 Nov 25, 2023
@itsaky
Copy link
Member

itsaky commented Dec 1, 2023

Update: There are also log lines spamming when typing in Java files, but are other logs, as you can see here.

If you're talking about the StopWatch and *CompletionProvider logs, they are used to log some important operations. These logs should not be removed.

@itsaky
Copy link
Member

itsaky commented Dec 1, 2023

This issue is now resolved IMO. If not, please feel free to reopen.

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

No branches or pull requests

2 participants