Commit Graph

187 Commits

Author SHA1 Message Date
Akash Yadav 29993c5ab4 fix(logview): IDEColorScheme is not set up with LogLanguage 2023-12-18 00:07:49 +05:30
Akash Yadav 46226345d3 fix(editor): gracefully handle errors from language server (fixes #1484, fixes #1447) 2023-12-16 23:16:08 +05:30
Akash Yadav 7aa4a8f16d fix: broken 'Close all files' behavior (fixes #1549) 2023-12-16 16:23:11 +05:30
Akash Yadav 5d1faba441 fix: replace 'ProcessCancelledException' with 'CancellationException' 2023-12-14 19:14:49 +05:30
Akash Yadav 98e86d79df fix: remove debug logs from IDELanguage and ProjectManagerImpl (#1497) 2023-12-14 19:14:48 +05:30
Akash Yadav fd6cdee593 fix: remove debug logs 2023-12-14 19:14:48 +05:30
Akash Yadav ec1eccd6ee fix(editor): asynchronously read and apply tree sitter languages 2023-11-25 14:38:35 +05:30
Akash Yadav fdcc86b465 fix: migrate IDEColorSchemeProvider to Kotlin coroutines 2023-11-25 09:42:07 +05:30
Akash Yadav 3f97f24b4c fix: TSTree instances are sometimes not closed, causing memory leak 2023-11-21 17:39:52 +05:30
Akash Yadav 67b1388779 fix(editor): migrate IDELanguage to Kotlin 2023-11-16 18:40:24 +05:30
Akash Yadav 525fa5ee34 fix(editor): do not automatically select first completion item for soft input (fixes #1201) 2023-11-14 23:17:07 +05:30
Akash Yadav 5373698e84 fix(lsp): make signature help requests cancellable (fixes #1393) 2023-11-11 15:33:03 +05:30
Akash Yadav d4626b2a71 fix(lsp): provide cancel checker with params 2023-11-11 00:47:38 +05:30
Akash Yadav 728a08557e refactor: inline CoroutineScope.launchAsyncWithProgress calls 2023-11-10 21:35:44 +05:30
Akash Yadav 51b594c417 fix(editor): NoSuchElementException when parsing color value from color scheme 2023-11-10 14:35:34 +05:30
Akash Yadav f85901c702 fix(editor/treesitter): invalid capture names for log levels in highlights.scm for log language
This fixes the crash caused because the capture names in the highlights.scm for log language were changed in commit efaeb04 but were not updated
 in the color scheme's log language definition.
2023-11-08 00:04:32 +05:30
Akash Yadav efaeb0435e refactor(logger): rename ILogger.Priority to ILogger.Level 2023-11-07 19:01:45 +05:30
Akash Yadav 35b7185ce1 fix: replace usage of sparse arrays with AndroidX Collections 2023-11-05 23:51:31 +05:30
Akash Yadav 040da7fbd0 fix(editor): add line panel margin to editor 2023-11-01 17:40:05 +05:30
Akash Yadav dd8dca9a7c fix: add TracingEditorRenderer to analyze editor's drawing performance 2023-10-27 22:10:08 +05:30
Akash Yadav a41775a20c fix(editor): DocumentSelectedEvent is not handled by event dispatcher 2023-10-27 22:10:07 +05:30
Akash Yadav a2af3bb050 fix: dispatch editor events in background 2023-10-27 22:10:06 +05:30
Akash Yadav 540e33734b refactor: extract IEditor impl to delegate class 2023-10-27 22:10:06 +05:30
Akash Yadav 42ae28a0b9 refactor: rename 'TSAnalyzeManager' to 'TsAnalyzeManager' for consistency 2023-10-23 21:38:51 +05:30
Akash Yadav 7923243b3b fix(editor/treesitter): reimplement TsAnalyzeManager for better thread safety and error handling 2023-10-23 21:27:30 +05:30
Akash Yadav 1d67056f32 fix: IOOB exception when checking for signature help (fixes #1380) 2023-10-16 20:31:46 +05:30
Akash Yadav f2cfd865e8 fix: opened files are not highlighted with tree sitter
This happens because the tree-sitter nodes and trees are inaccessible when the files are opened
2023-10-15 18:38:43 +05:30
Akash Yadav 971fc605ff fix: include language-treesitter from sora-editor locally 2023-10-13 23:03:57 +05:30
Akash Yadav 0b22af8993 refactor: fix some kotlin warnings 2023-10-12 23:22:14 +05:30
Akash Yadav 777dd773f8 fix: replace usage of Map with SparseArray 2023-10-09 11:30:22 +05:30
Akash Yadav 9db0b802cd fix(editor): use coroutines for reading/writing files in CodeEditorView 2023-10-04 18:49:51 +05:30
Akash Yadav 023bbab9e4 fix(editor): modified status is not updated after save (fixes #1359) 2023-10-03 17:59:25 +05:30
Akash Yadav b05710c524 fix(editor): modified status is not changed after content modification 2023-10-01 23:31:53 +05:30
Akash Yadav 75e722391e fix: migrate build service to use coroutines 2023-10-01 22:04:32 +05:30
Akash Yadav 35793e7e17 fix(editor/treesitter): rerun analyze manager only after color scheme is loaded 2023-09-30 15:12:42 +05:30
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