Commit Graph

133 Commits

Author SHA1 Message Date
Akash Yadav 764a6fa8c2 fix(lsp): progress dialog for 'find references' action is shown indefinitely
This happens because the 'ReferenceProvider' in the Java LSP tries to start another compilation process while working with the current compilation task.
This results in a deadlock where the current task waits for the new compilation request to return and the new compilation request waits for the current task to finish. This commit fixes this issue.

Apart from fixing this issue, this commit also makes the 'Go to definition' and 'Find references' actions cancelable. Also, it eliminates the usage of the deprecated 'ProgressDialog' class for these two actions.
2023-07-09 12:56:28 +05:30
Akash Yadav 907c6b89a3 refactor(editor): reformat IDEEditor 2023-07-08 23:51:08 +05:30
Akash Yadav 2549757454 fix(logview): slight lag while trimming log lines 2023-06-28 16:49:18 +05:30
Akash Yadav 9e9f2787de fix: readers not closed in ToolsManager and IDEColorSchemeProvider 2023-06-25 10:27:28 +05:30
Akash Yadav 3491612ebe fix(deps): migrate to android-tree-sitter v3.1.0 2023-06-19 00:15:38 +05:30
Akash Yadav 876903c0e0 fix(editor): invalid locals.scm query for kotlin results in crash 2023-06-16 14:56:42 +05:30
Akash Yadav 29c092764c fix(editor): incorrect highlights query structure for logs 2023-06-13 22:56:52 +05:30
Akash Yadav 28c7585bbc fix(editor/logs): invalid capture name in default dark scheme for log texts 2023-06-11 00:20:03 +05:30
Akash Yadav d31f57b07c fix(deps): migrate to android-tree-sitter v3.0.0 2023-06-11 00:20:02 +05:30
Akash Yadav 5b5d969474 refactor: simplify LanguageSpecProvider.readScheme 2023-06-11 00:20:01 +05:30
Akash Yadav e78b9068f4 feat: use tree-sitter for log highlighting 2023-06-11 00:20:00 +05:30
Akash Yadav 17f149a8bd fix(editor): code blocks are not sorted in base analyze manager 2023-05-26 15:45:23 +05:30
Akash Yadav 44b1b4f614 refactor: remove unused code analyzers 2023-05-25 23:12:11 +05:30
Akash Yadav b950c34fb0 refactor(lookup): use ServiceLoader to load DefaultLookup 2023-04-30 23:26:09 +05:30
Akash Yadav 93f6bda8d2 refactor: simplify LanguageSpecProvider.readScheme 2023-04-22 21:20:47 +05:30
Akash Yadav fa8680e873 refactor: replace hardcoded package names in build scripts with BuildConfig property 2023-04-13 22:56:17 +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 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 e8e203f548 refactor: rename CompletionItem.kind to avoid conflict with editor's CompletionItem.kind 2023-03-31 13:31:01 +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 51155f9456 feat: add patch ability to ActiveDocument 2023-03-29 11:55:53 +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 7e62e00f00 fix: completions items without 'detail' are not clickable 2023-03-26 22:12:57 +05:30
Akash Yadav a6aa2a24bf fix: completions pop up on every keypress in gradle files 2023-03-26 22:12:56 +05:30
Akash Yadav 8f5284a48e fix: occasional crash when opening kotlin files (#872) 2023-03-23 18:42:04 +05:30
Akash Yadav 7cdf3c6fe4 fix(editor): backing language spec is not closed properly in TreeSitterLanguageSpec 2023-03-22 08:59:10 +05:30
Akash Yadav 547a43efb6 refactor(editor): remove unnecessary 'type' parameter from KotlinLanguage 2023-03-22 08:59:10 +05:30
Akash Yadav cffff783d2 fix(editor): editor actions are shown after 'Find in file' (closes #871) 2023-03-19 23:11:49 +05:30
Akash Yadav 4df38dd984 fix(editor): actions window covers selected line when shown for the first time (closes #881) 2023-03-19 22:57:31 +05:30
Akash Yadav 80cb8bf3d2 fix(editor): content modification status is not updated when editor.setText() is used (fixes #878) 2023-03-19 22:48:17 +05:30
Akash Yadav fb4ec48940 refactor: fix lint issues 2023-03-14 19:40:24 +05:30
Akash Yadav 3f644568fa fix: IDEEditor keeps reference to language server and client resulting in a memory leak 2023-03-14 13:17:49 +05:30
Akash Yadav 4280b88aab fix: remove background highlighting for selected signature help 2023-03-14 13:11:30 +05:30
Akash Yadav d0acb14639 fix: color contrast issue in signature help window 2023-03-13 23:21:53 +05:30
Akash Yadav 17063f2aca feat: add content modification status in file tabs 2023-03-13 19:52:14 +05:30
Akash Yadav 852955959c fix: tab text is not updated when an opened file is renamed 2023-03-13 15:41:31 +05:30
Akash Yadav 461bd7debe fix: update apk installation intent for MIUI devices 2023-03-12 09:08:06 +05:30
Akash Yadav 1bc3fc7bc1 fix(lsp/java): signature help is not shown sometimes 2023-03-11 23:17:25 +05:30
Akash Yadav 5affaccc1c fix(editor): do not show diagnostics window if signature help window is visible 2023-03-11 20:54:27 +05:30
Akash Yadav 41f9b241e4 fix(editor): improve editor window colors 2023-03-11 20:54:26 +05:30
Akash Yadav 58b7662635 fix(deps): migrate editor to v0.21.1 2023-03-10 17:03:22 +05:30
Akash Yadav daf39bc0a7 fix: EditorActionsMenu is not destroyed properly, resulting in memory leak 2023-03-10 16:32:13 +05:30
Akash Yadav 28bd0ffc9a feat(editor/schemes): add option to reload color schemes at runtime 2023-03-03 18:07:41 +05:30
Akash Yadav 704bc3602a feat(editor/scheme/java): syntax highlight field in a field access 2023-03-03 13:58:28 +05:30
Akash Yadav 3a8ce07c8c feat(editor/scheme/java): add support for syntax highlighting package decl and imports 2023-03-03 13:54:45 +05:30