Commit Graph

291 Commits

Author SHA1 Message Date
Akash Yadav 24e6755dde Cache necessary info about classpaths for improved completion speed 2022-08-09 22:54:27 +05:30
Akash Yadav bf4f313be8 Define namespaces in build.gradle instead of packages in AndroidManifest 2022-08-09 09:22:09 +05:30
Akash Yadav 90fbd5aded Fixed build issues 2022-08-08 19:27:03 +05:30
Akash Yadav 7c5ef5b9b1 Avoid recreating ZipFileSystem instances for faster code completion 2022-08-08 19:27:02 +05:30
Akash Yadav 39c4fe2bf1 Moved Reusable* to top-level classes 2022-08-08 19:27:02 +05:30
Akash Yadav 15b0027111 Do not cache location in SourceFileManager
We probably need another API to be able to cache these locations.
2022-08-05 19:47:42 +05:30
Akash Yadav 7b1cdf7ce6 Fixed Java LSP tests 2022-08-05 18:26:42 +05:30
Akash Yadav 7a6bd6e42b Cache CLASSPATH and PLATFORM_CLASSPATH locations when creating SourceFileManager instance 2022-08-05 18:26:41 +05:30
Akash Yadav 814eecf565 Cache and reuse SourceFileManagers for all modules 2022-08-05 18:26:41 +05:30
deepkrg17 4e62ddcaf6 Created lsp:java beng strings.xml 2022-07-29 09:00:14 +05:30
Akash Yadav 3927313ffb Returned CANCELLED rewrite if CompilerProvider.findTypeDeclaration returns NOT_FOUND (fixes #323) 2022-07-23 09:08:25 +05:30
Akash Yadav e5f0dd1d9c Moved 'logger' modules from 'build-tools' module to root project 2022-07-23 09:08:24 +05:30
Akash Yadav 7a59ae76ad Log time taken to prune method bodies 2022-07-23 09:08:23 +05:30
Akash Yadav 1142c39569 Made the CompletionTaskProcessor compatible with JVM 2022-07-17 19:01:59 +05:30
Akash Yadav ef1e645460 Try to reduce the number of files parsed and analyzed when computing completions 2022-07-17 18:26:29 +05:30
Akash Yadav edefe7b59d Fixed: Invalid option provided to compiler in Java LSP 2022-07-16 22:53:36 +05:30
Akash Yadav 364826a096 Use module's java compiler settings in Java LSP 2022-07-16 22:52:24 +05:30
Akash Yadav b1bc59f2e0 Updated AGP version; Fixed lint and test issues 2022-07-16 12:15:15 +05:30
Akash Yadav e19e625cd3 Fixed JavaLSPTest 2022-07-16 01:09:44 +05:30
Akash Yadav 92b91f60d1 Provide more options to the Java compiler when creating JavacTask
Refactored some code
2022-07-15 22:25:08 +05:30
Akash Yadav f2f5be0495 Fixed: NPE when namespace is used instead of defining package name in AndroidManifest
A few more optimizations
2022-07-15 22:25:07 +05:30
Андрей Кожев 53700f0c5f Update Russian translation 2022-07-15 17:26:22 +03:00
Akash Yadav 8098ba0926 Added events for preference change 2022-07-14 17:51:52 +05:30
Akash Yadav b5a020cf43 Use EventBus index to provide subscribers to EventBus 2022-07-14 16:54:54 +05:30
Akash Yadav 2bc1838f76 Rewrote java definition provider 2022-07-13 19:09:30 +05:30
Akash Yadav 9da722e8cb Use module to find additional sources in CompileBatch 2022-07-13 19:09:29 +05:30
Akash Yadav eb0d05cd1f Fixed: Change delta not updated after recompilation 2022-07-13 19:09:29 +05:30
codefactor-io 4e003c8184 [CodeFactor] Apply fixes 2022-07-13 09:07:38 +00:00
Akash Yadav 86dda8e8b5 Fixed tests 2022-07-12 15:16:29 +05:30
Akash Yadav dec0c5d84f Extracted document related APIs to FileManager 2022-07-12 12:14:17 +05:30
Akash Yadav a361866cb2 Try to fix ClosedByInterruptException in ProjectManager.getFileContents(Path)
getFileContents(Path) now manually reads all the lines one by one instead of using Files.readAllLines(Path)
2022-07-12 00:08:00 +05:30
Akash Yadav a28bad8b78 Do not log ProcessCancelledException 2022-07-11 23:36:25 +05:30
Akash Yadav 7737be4742 Do not provide keyword completion for blank partial identifier 2022-07-11 23:31:48 +05:30
Akash Yadav 75577ed553 Improved completion cancellation 2022-07-11 22:35:37 +05:30
Akash Yadav 90c0c22190 Fix #235: Removed unnecessary ILanguageServer methods 2022-07-11 22:35:36 +05:30
Akash Yadav 99d576c224 Do not throw AlreadyInitializedException if server is already initialized (fixes #255) 2022-07-10 20:56:57 +05:30
Akash Yadav c4ff58f466 Import completion: Show 'static' keyword only when pkgName is empty 2022-07-10 20:49:09 +05:30
Akash Yadav 2174bfb9bd Rewrote Java tests 2022-07-10 16:11:33 +05:30
Akash Yadav e8618ad9a8 Updated detail of some completion item types 2022-07-10 13:32:33 +05:30
Akash Yadav ce536fa694 Fixed: Invalid description of package completion item 2022-07-10 12:29:55 +05:30
Akash Yadav 651e5dba23 Improved the speed of import completion 2022-07-10 12:16:37 +05:30
Akash Yadav 80529afe35 Include parent package as detail field for package completion items 2022-07-10 10:00:32 +05:30
Akash Yadav d8ad3026e4 Complete 'static' keyword for imports when applicable 2022-07-10 09:56:57 +05:30
Akash Yadav 6807a9b205 Fixed: Static class members not completed when completing imports 2022-07-10 09:51:34 +05:30
Akash Yadav c3fbd8a01d Use Javac APIs to provide completions for imports 2022-07-10 09:34:08 +05:30
Akash Yadav d1d5e11e4c Changed priority of import path completion 2022-07-09 22:25:20 +05:30
Akash Yadav 9e931bc3c1 Complete imports from boot classpaths as well 2022-07-09 22:19:56 +05:30
Akash Yadav 2de26ec56f Use ClassTrie for completing import paths (#225) 2022-07-09 19:13:30 +05:30
Akash Yadav e265c00202 Changed signature of constructor in IJavaCompletionProvider 2022-07-09 13:39:51 +05:30
Akash Yadav d94ea4022c Removed redundant qualified names 2022-07-09 13:37:17 +05:30