Commit Graph

2495 Commits

Author SHA1 Message Date
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
Akash Yadav 1ad5ffd9b6 fix: whole tree is logged while expanding selection region 2023-03-26 22:12:59 +05:30
Akash Yadav c3e8c4b74f fix: whole code action item is logged before execution 2023-03-26 22:12:59 +05:30
Akash Yadav de9655c43f fix: log exception to IDE logs while executing code actions 2023-03-26 22:12:59 +05:30
Akash Yadav 4987a99ab1 fix: tab width is ignored by 'Create missing method' action 2023-03-26 22:12:58 +05:30
Akash Yadav 3eec08ad4a refactor: reorganize code 2023-03-26 22:12:58 +05:30
Akash Yadav c21b459ea5 fix: avoid crash if code actions fail to execute 2023-03-26 22:12:57 +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
renovate[bot] 7a2fa8e2e7 chore(deps): update plugin com.mooltiverse.oss.nyx to v2.3.1 (#893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 11:17:18 +05:30
renovate[bot] e3e8d533b7 fix(deps): update dependency androidx.drawerlayout:drawerlayout to v1.2.0 (#895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 10:26:52 +05:30
Akash Yadav 8f5284a48e fix: occasional crash when opening kotlin files (#872) 2023-03-23 18:42:04 +05:30
renovate[bot] 1b55e8d12e fix(deps): update dependency androidx.fragment:fragment-ktx to v1.5.6 (#894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 09:51:32 +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 bd7d4ff1e7 fix: invalid changelog URL 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
MohammedKHC bdee844d18 Fixed #882 2023-03-21 19:44:31 +05:30
renovate[bot] a4e69445ab chore(deps): update plugin com.github.johnrengelman.shadow to v8.1.1 2023-03-21 18:53:44 +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 111a15d7b0 fix(uidesigner): suppress exceptions thrown while editing attribute values (closes #873) 2023-03-19 23:01:16 +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 9f31276a5c chore: add changelog for v2.4.1-beta 2023-03-19 18:40:37 +05:30
Akash Yadav 84c17ddf52 fix(terminal): update terminal packages URL and bootstrap packages v2.4.1-beta 2023-03-19 18:05:59 +05:30
renovate[bot] 696650b152 fix(deps): update dependency org.slf4j:slf4j-api to v2.0.7 2023-03-18 16:36:11 +05:30
Akash Yadav 1730d0ae67 fix(tooling-api): project initialization failure when the project contains a Java library module
This happens due to the use of relocated packages in AndroidIDE's Java Compiler API. The 'JavaModuleCompilerSettings' class references the 'javax.lang.model.SourceVersion.RELEASE_11' enum.
However, in AndroidIDE, the SourceVersion class has the package name 'jdkx.lang.model'.

The project compiles successfully as the ':subprojects:tooling-api-model' module is a Java library due to which, 'javax.lang.model.SourceVersion' can be referenced without any errors.
However at runtime, there is no such class and hence the 'NoClassDefFoundError' is thrown. This exception is silently logged to the error stream by the JSONRpc protocol and hence it
cannot be seen in the IDE logs.

This closes #875.
2023-03-18 13:48:19 +05:30
Akash Yadav e56229c05d chore: update issue templates 2023-03-18 08:41:16 +05:30
Akash Yadav e00f182b83 fix(lsp/java): classes from the same package are imported when selecting a completion item (closes #869) 2023-03-18 08:29:59 +05:30
Akash Yadav f27a98f9a7 fix: disallow projects from Termux (closes #868) 2023-03-18 08:29:59 +05:30
Akash Yadav 9ef92d5bec fix: 'tooling-api-impl:copyJarToAssets' is not declared as dependency of :app tasks v2.4.0-beta 2023-03-15 22:43:16 +05:30
github-actions[bot] deeba5af47 chore: update crowdin contributors table (#862)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-03-15 22:18:57 +05:30
Akash Yadav 3e215e3fdd New Crowdin updates (#861)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Hindi)
2023-03-15 22:18:06 +05:30
github-actions[bot] 07c47169ed chore: update crowdin contributors table (#804)
Co-authored-by: itsaky <itsaky@users.noreply.github.com>
2023-03-14 19:50:36 +05:30
Akash Yadav e6025b002f Fix language code for Indonesian (#860)
Crowdin uses `id` as the language code for Indonesian. However, it should be `in`.
2023-03-14 19:44:19 +05:30
renovate[bot] 88348d97ff fix(deps): update glide to v4.15.1 (#857)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 19:42:19 +05:30
Akash Yadav fb4ec48940 refactor: fix lint issues 2023-03-14 19:40:24 +05:30