Commit Graph

152 Commits

Author SHA1 Message Date
Akash Yadav 230ccfa536 fix(editor): rewrite IDEEditor in Kotlin with Coroutines 2023-09-30 15:08:28 +05:30
Akash Yadav 191883c887 fix(editor): reference result is not shown for single reference in the same file
This is caused due to setSeletion(Range) being called on a background thread (fixes #1248).
2023-09-28 23:49:44 +05:30
Akash Yadav 1eb99c5854 fix(editor/treesitter): rerun analyze manager after setting language scheme 2023-09-28 21:44:21 +05:30
Akash Yadav eade36e73f fix: update editor & add support for multiple spans in a capture 2023-09-28 17:07:14 +05:30
Akash Yadav ce4295b63e fix(editor): support static span colors for hex colors 2023-09-25 23:33:49 +05:30
Akash Yadav 30a03cb13a chore(deps): update editor to latest snapshot 2023-09-25 18:44:42 +05:30
Akash Yadav 73be7f5259 fix: use custom CompletionPublisher to avoid recreating completion list in IDELanguage 2023-09-24 20:13:42 +05:30
Akash Yadav dcc625f75b fix: completion window is not shown for the second time (#1329, fixes #1281) 2023-09-24 20:10:41 +05:30
Akash Yadav ace83d515e refactor: move tree sitter languages to a single package 2023-09-18 19:42:00 +05:30
Akash Yadav 3c1a4ebedc fix: remove usage of deprecated 'newInstance' method in TS Languages 2023-09-18 19:41:59 +05:30
Akash Yadav 76cba7327b fix: completion window improvements
- fixed a bug which resulted in selected completion item not being indicated properly (closes #1242)
- added option to set selected completion item background color in color schemes
2023-09-06 13:10:21 +05:30
Akash Yadav f5143625ef refactor: migrate ProjectManager to interface based API 2023-09-05 17:36:39 +05:30
Akash Yadav 08d376f370 feat: merge file tree to left drawer using navigation rail 2023-09-05 17:36:32 +05:30
Akash Yadav 6a9acbfada fix(editor): close tree sitter language only if it is externally loaded 2023-07-16 15:15:01 +05:30
Akash Yadav 263ce48d35 fix(editor): fall back to default color scheme if custom scheme doesn't support a file type 2023-07-16 14:02:17 +05:30
Akash Yadav 23f4f52c50 fix(editor): invalid syntax highlights for annotations in Java 2023-07-16 12:53:33 +05:30
Akash Yadav b9d84e4314 fix(editor): update syntax highlights for Java and Kotlin (fixes #1051) 2023-07-16 12:04:43 +05:30
Akash Yadav 248470cdd7 fix: close tree sitter language instance when editor language is destroyed 2023-07-15 11:50:18 +05:30
Akash Yadav 376672fc70 fix: missing class error in R8 2023-07-12 15:21:27 +05:30
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