Commit Graph

2530 Commits

Author SHA1 Message Date
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
Akash Yadav 3a1f5ff3ce fix(lsp/java): inconsistent indents in generated code 2023-03-27 23:37:11 +05:30
Akash Yadav e7489ed6f2 fix(lsp/java): extra indentation is added to generated overriding method 2023-03-27 23:01:48 +05:30
Akash Yadav 7f69dc57a7 fix(lsp/java): remove hardcoded 4-space indentation in generated code 2023-03-27 22:51:04 +05:30
Akash Yadav 9993793507 feat(editor): add preference for 'deleteEmptyLineFast' and 'deleteMultiSpaces' (closes #903) 2023-03-27 20:43:03 +05:30
Akash Yadav a948cd49ec fix: ClassClassException in ProgressSheet (closes #904) 2023-03-27 20:14:34 +05:30
Akash Yadav 3206065030 fix: remove unnecessary parameters from BaseBottomSheetFragment 2023-03-26 22:51:15 +05:30
Akash Yadav e2ae8f2e33 refactor: remove unused 'TextSheetFragment' 2023-03-26 22:28:40 +05:30
Akash Yadav b7f6311064 refactor: remove unused string 2023-03-26 22:13:01 +05:30
Akash Yadav 3ac055c2a7 fix(lsp/java): avoid scanning AST for 'expand selection' if whole content is selected 2023-03-26 22:13:00 +05:30
Akash Yadav e2dd1b74ea fix(lsp/java): expand selection does not work after selecting whole class or package decl 2023-03-26 22:13:00 +05:30