Commit Graph

2540 Commits

Author SHA1 Message Date
Akash Yadav 23c30eeaeb fix(lsp/java): empty imports allows classes from same package to be imported with completion items 2023-04-09 19:22:58 +05:30
Akash Yadav c1d1760572 tests(project): update Gradle version 2023-04-09 18:56:49 +05:30
Akash Yadav cb2a468cbe tests(tooling-api): fix invalid AGP version 2023-04-09 18:38:08 +05:30
Akash Yadav 5b60cb10ff tests: test AGP 8.0.2 with tooling API 2023-04-09 18:08:53 +05:30
Akash Yadav af2181da91 chore: update gradle tasks for testing tooling api 2023-04-09 18:08:53 +05:30
renovate[bot] dc22620c28 chore(deps): update dependency gradle to v8.0.2 (#795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-09 18:05:52 +05:30
Akash Yadav c4bbe1e349 fix: delete shadow jar files before copying 2023-04-08 20:14:31 +05:30
Akash Yadav 3aa6a045ad fix: 'tooling-api-all.jar' file not available for tests 2023-04-08 18:01:14 +05:30
Akash Yadav 6d44ae60c7 feat: add Xml snippets repository 2023-04-08 18:01:14 +05:30
renovate[bot] 612285215c fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.20 (#924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 22:30:16 +05:30
renovate[bot] f10ace29b6 fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.25.2 (#913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 22:24:08 +05:30
renovate[bot] fd4a941e09 fix(deps): update incap to v1 (#912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 22:23:05 +05:30
Akash Yadav 660d217899 build(deps): update Kotlin and KSP to 1.8.20* 2023-04-04 22:19:03 +05:30
Akash Yadav f150f4f9ab feat(lsp/java): add top-level snippets 2023-04-04 22:07:41 +05:30
Akash Yadav 0ea7b40fc0 feat(lsp/java): add snippets for creating comments 2023-04-04 21:18:45 +05:30
Akash Yadav 04ffc747a7 fix(lsp/java): update snippet for Java constructor 2023-04-02 11:52:51 +05:30
Akash Yadav 2c130116b5 fix(lsp/java): remove params from method snippets 2023-04-01 18:40:37 +05:30
Akash Yadav dd8580148e docs: remove downloads badge from README 2023-04-01 18:32:12 +05:30
Akash Yadav df74c35e3e feat(editor): add file and workspace based snippet variable resolvers 2023-04-01 18:31:38 +05:30
Akash Yadav 402c3f6db6 tests(fix): FileManager does not receive events 2023-04-01 00:13:21 +05:30
Akash Yadav a89e25680b tests: fix build issues 2023-03-31 23:34:33 +05:30
Akash Yadav f0ac4e8409 refactor(lsp/java): remove unnecessary methods for snippet completion 2023-03-31 22:49:59 +05:30
Akash Yadav 4728bf7d0b feat(lsp/java): add more snippets 2023-03-31 22:41:11 +05:30
Akash Yadav b8b17c2c39 feat: read snippets from JSON files stored in assets 2023-03-31 22:17:37 +05:30
Akash Yadav 8f0888799a fix(editor): update color scheme for snippets 2023-03-31 20:28:26 +05:30
Akash Yadav 20376773cc fix(projects): do not store a copy of content in ActiveDocument 2023-03-31 20:24:51 +05:30
Akash Yadav ea75b9592b fix(projects): synchronize edits to ActiveDocument 2023-03-31 19:02:17 +05:30
Akash Yadav fd4ce13724 fix(lsp/java): invalid indentation in snippets 2023-03-31 18:22:57 +05:30
Akash Yadav 80f74d0d27 fix(lsp/java): remove 'label' from JavaSnippet 2023-03-31 17:52:04 +05:30
Akash Yadav 70b05f23ca fix(editor): tab in symbol input does not shift snippet to next tab stop 2023-03-31 17:47:51 +05:30
Akash Yadav 5be28d078e feat(lsp/java): add basic snippet support for Java 2023-03-31 17:37:48 +05:30
Akash Yadav e8e203f548 refactor: rename CompletionItem.kind to avoid conflict with editor's CompletionItem.kind 2023-03-31 13:31:01 +05:30
Akash Yadav 43403304fa fix: 'Create layout file' checkbox is always visible when creating Java files 2023-03-31 13:03:03 +05:30
Akash Yadav 31957186d2 feat(lsp/xml): automatically close tags when '/' is typed 2023-03-31 01:18:46 +05:30
Akash Yadav 95e0a5e7de fix(deps): update tree-sitter to v1.4.3 (fixes #884) 2023-03-31 00:41:30 +05:30
Akash Yadav 684bd26ead fix(projects): delay in posting file related events to FileManager 2023-03-31 00:04:57 +05:30
Akash Yadav 81df6d29db build: include EventBusAnnotationProcessor locally 2023-03-30 23:49:17 +05:30
Akash Yadav 598ec145d9 refactor: rename module 'annotation-ksp' to 'annotation-processors-ksp' 2023-03-30 23:30:31 +05:30
Akash Yadav 233cb876e7 fix(lsp/java): 'Create missing method' unable to create methods outside of current file
This happens becase FindMethodCallAt does not initialize properties related to the found method.
2023-03-29 17:45:14 +05:30
Akash Yadav cd55af5a19 fix(projects): doc version and lastModified is not updated after DocumentChangeEvent 2023-03-29 12:40:19 +05:30
Akash Yadav 8f6392ff55 feat(lsp: add option to perform code actions on main thread 2023-03-29 12:37:56 +05:30
Akash Yadav 51155f9456 feat: add patch ability to ActiveDocument 2023-03-29 11:55:53 +05:30
Akash Yadav 273e61daa8 feat(lsp/java): add 'Fix imports' actions
The 'Fix imports' action analyzes the file contents, walks through the diagnostic items looking for 'compiler.err.cant.resolve.location' errors, then performs an edit to
import all those classes at once. If multiple classes are found for a class name, the user is asked to choose the class that should be imported.
2023-03-29 01:42:24 +05:30
Akash Yadav 974a1ae208 fix(lsp/java): invalid simple name comparison in CompilerProvider.findQualifiedNames() 2023-03-28 23:55:29 +05:30
Akash Yadav 380cbe3ddc refactor(lsp/java): move qualified name finding logic to JavaCompilerService 2023-03-28 23:33:01 +05:30
Akash Yadav f6882fcad4 refactor(lsp/java): update the Rewrite API 2023-03-28 22:58:18 +05:30
Akash Yadav e6d1e42004 feat: use Flashbar for project sync notification 2023-03-28 19:17:10 +05:30
Akash Yadav a7e9f350ae fix(flashbar): allow resetting duration to DURATION_INDEFINITE 2023-03-28 18:31:34 +05:30
Akash Yadav 83e08b9a42 fix(editor): improve 'Find in file' layout 2023-03-28 18:24:57 +05:30
Akash Yadav 7ef0728dc0 fix(editor): text actions window is not shown while in search mode 2023-03-28 18:17:22 +05:30