Commit Graph

312 Commits

Author SHA1 Message Date
Akash Yadav d5e77be04e Implemented snippet support in LSP 2022-09-04 23:31:03 +05:30
Akash Yadav ac8c268c13 Implemented snippet support in LSP 2022-09-04 23:18:55 +05:30
Akash Yadav 55f22ed74e Moved CompletionItem commit logic to IEditHandler 2022-09-04 22:09:17 +05:30
Akash Yadav 58021122e0 Do not flood logs when analyze process is cancelled 2022-08-18 15:28:35 +05:30
Akash Yadav c87538fc5a Fixed: Incomplete classpath provided to Java LSP 2022-08-16 13:25:11 +05:30
Akash Yadav a912835626 NOT FOR USE - Debugging javac 2022-08-15 21:25:51 +05:30
Akash Yadav b1f8bcb246 Do not try to analyze non-java source files in Java LSP 2022-08-14 18:10:02 +05:30
Akash Yadav c3d9a97a8e Use INTERRUPTION_LEVEL_SLIGHT for Java completion to avoid broken ZipFs
Implemented the very basics of Lookup API
Updated sora-editor to version 0.16.5
2022-08-14 18:10:02 +05:30
Akash Yadav 6ec5c6d3cf [Gradle] Format java source code 2022-08-14 08:48:34 +05:30
Akash Yadav 19b32cb390 Removed debug logs 2022-08-13 10:51:58 +05:30
Akash Yadav 114c685d6c Fixed: SourceFileManager.list(...) doesn't respect the 'recurse' flag 2022-08-13 10:49:54 +05:30
Akash Yadav 37a1780193 Do not start analyzer in test environment 2022-08-12 13:45:47 +05:30
Akash Yadav d75b054d43 Fixed: Already opened file is not analyzed 2022-08-12 13:29:58 +05:30
Akash Yadav 69d273fb52 Use single-use compiler intance for analyzing java files 2022-08-12 13:29:58 +05:30
Akash Yadav 88c5027b0d Use one compiler per module instead of single global compiler instance 2022-08-12 13:29:57 +05:30
Akash Yadav a568fd0d7d Migrate to sora-editor 0.16.2 2022-08-11 20:06:44 +05:30
Akash Yadav e924f6d446 Renamed test files 2022-08-11 18:02:55 +05:30
Akash Yadav 582605e100 Fixed tests 2022-08-11 18:02:28 +05:30
Akash Yadav 37dbe4e1f3 Added tests for Java compiler 2022-08-11 17:06:48 +05:30
Akash Yadav d56c2f12c5 Migrated sora-editor to version 0.16.1 2022-08-11 13:12:24 +05:30
Akash Yadav d0e7565c6c Limit partial reparser to single line changes 2022-08-10 08:59:38 +05:30
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