Akash Yadav
a22ced1808
fix: rename CompletionItem.label to CompletionItem.ideLable to avoid name shadowing
2024-01-01 23:37:41 +05:30
Akash Yadav
b7b9d695e9
fix(flashbar): use material components in FlashbarView
2023-12-27 16:11:22 +05:30
Akash Yadav
eb613d58a6
fix(editor): ignore FileNotFoundException when reading tree sitter scheme files ( fixes #1559 )
2023-12-18 09:00:24 +05:30
Akash Yadav
d50294e7dc
fix(editor): avoid dispatching IO coroutine unnecessarily when reading color schemes
2023-12-18 00:33:29 +05:30
Akash Yadav
055a835ed4
fix(editor): ensure JsonReaders are always closed when reading color schemes
2023-12-18 00:12:58 +05:30
Akash Yadav
b681568a50
fix(editor): ensure file input stream is always closed when reading file content
2023-12-18 00:12:18 +05:30
Akash Yadav
cd55f9d662
fix(editor): Dispatchers.IO thread pool is exhausted if files are continuously opened and closed ( fixes #1551 )
2023-12-18 00:11:26 +05:30
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