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

Auto complete doesn't work inside java library module #1801

Open
5 tasks done
Abiddarris opened this issue May 10, 2024 · 0 comments
Open
5 tasks done

Auto complete doesn't work inside java library module #1801

Abiddarris opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Abiddarris
Copy link

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

When I try to type a class name (in this example, I want to type java.io.File), the autocomplete feature doesn't show the class that I want.

Screenshot_20240510-193657_AndroidIDE

Expected behavior

Autocomplete should work like this.

Screenshot_20240510-194346_AndroidIDE

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-M127F

Download source

GitHub

Relevant log output

JavaCompletionProvider    I   Complete at Test.java(5,11)... 
JavaCompletionProvider    I   ...cached completions are empty 
StopWatch                 D   [TreeSitter] Parsing completed in 1ms 
StopWatch                 D   [Test.java] Prune method bodies completed in 16ms 
StopWatch                 D   [Test.java] Prune method bodies completed in 29ms 
StopWatch                 D   Parsed treees in 33ms 
StopWatch                 D   Processed trees in 0ms 
StopWatch                 D   Analyzed all trees in 19ms 
JavaCompletionProvider    I   ...compiled in 135ms 
..ScopeCompletionProvider I   ...found 0 scope members 
..mportCompletionProvider I   ...found 0 static imports 
..NamesCompletionProvider I   ...found 0 class names 
JavaCompletionProvider    I   Found 0 items in 147 ms 
Parser_Builder            D   Analyzing:  /storage/emulated/0/AndroidIDEProjects/Full Java Runner/lib/src/main/java/com/abiddarris/lib/Test.java 
StopWatch                 D   Parsed treees in 11ms 
StopWatch                 D   Processed trees in 0ms 
StopWatch                 D   Analyzed all trees in 308ms 
Parser_Builder            I   Analyze file completed. Found 3 diagnostic items
@Abiddarris Abiddarris added the bug Something isn't working label May 10, 2024
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

1 participant