Akash Yadav
7be1df4177
feat: never show disabled actions in toolbar
2023-06-04 20:29:44 +05:30
Smooth E
fe169fc0e8
Always show the File Tree button in the toolbar ( #1019 )
...
* Implement a preference to always show the File Tree action in the toolbar
* Create the ExtendedMenuToolbar which tries to keep as many actions as possible outside of the overflow menu
* Repurpose the show-file-tree-button preference into hide-file-tree-button. Reason: the button is always technically shown, especially if we consider users with large screens.
* Move ExtendedMenuToolbar.kt into com.itsaky.androidide.ui in :common. Fix resource compilation error by escaping the apostrophe.
* Check whether the gesture navigation is enabled for setting the default value of idepref_editor_hide_file_tree_button
* Remove an unnecessary onAttachedToWindow() override
2023-06-04 17:42:28 +05:30
Akash Yadav
defc76a187
fix: avoid using ServiceLoader in test environment
2023-05-01 20:07:53 +05:30
Akash Yadav
360bbb7f0d
refactor(actions): use ServiceLoader to load DefaultActionsRegistry
2023-04-30 23:26:09 +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
273e61daa8
feat(lsp/java): add 'Fix imports' actions
...
The 'Fix imports' action analyzes the file contents, walks through the diagnostic items looking for 'compiler.err.cant.resolve.location' errors, then performs an edit to
import all those classes at once. If multiple classes are found for a class name, the user is asked to choose the class that should be imported.
2023-03-29 01:42:24 +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
0876524273
feat: register file tree actions with the Actions API
2023-03-05 21:17:09 +05:30
Akash Yadav
715ef2e630
feat(actions): add API to destroy ActionItem instances
2023-01-20 20:15:02 +05:30
Akash Yadav
42a3e71114
chore: migrate to Kotlin DSL and Version Catalog
2022-12-30 23:24:38 +05:30
Akash Yadav
aea356f26c
feat: maintain insertion and inflation order of ActionItems
2022-12-23 12:19:59 +05:30
Akash Yadav
9235885c68
feat: add basic support for handling configuration changes
2022-12-21 14:56:52 +05:30
Akash Yadav
eab7ca9d95
feat: update location ids for ActionItem
...
Action ID for UI_DESIGNER_TOOLBAR and EDITOR_TOOLBAR was same which resulted in invalid actions being shown in both activities.
2022-12-11 09:43:06 +05:30
Akash Yadav
64b6f4680e
refactor: changed signature of ActionData helper functions
2022-12-07 10:13:12 +05:30
Akash Yadav
c4cb67fc18
feat: add ability to remove attributes from views
2022-12-06 22:04:37 +05:30
Akash Yadav
f3bba1186d
feat: replaced quick action menu with popup menu
2022-12-05 10:15:53 +05:30
Akash Yadav
7c467ddc3f
feat: dynamic colors support
2022-12-05 10:15:52 +05:30
Akash Yadav
f25cfb2a18
Fixed #393 : Do not dismiss text actions window for certain actions
2022-10-29 18:15:33 +05:30
Akash Yadav
579386ae17
Moved all IDE resources to :resources module
2022-10-24 18:36:52 +05:30
Akash Yadav
7b15d3e1ca
Refactored the actions API
2022-10-17 17:17:03 +05:30
Akash Yadav
3f02c7fed8
Replaced ActionMode searcher with bottom bar
2022-10-08 22:05:04 +05:30
Akash Yadav
96229f4dcd
Use SearchView as an ActionItem in 'Find in file' action
2022-10-07 23:17:47 +05:30
Akash Yadav
1048d888a7
Updated dependencies
2022-10-05 16:29:26 +05:30
Akash Yadav
bf4f313be8
Define namespaces in build.gradle instead of packages in AndroidManifest
2022-08-09 09:22:09 +05:30
codefactor-io
4e003c8184
[CodeFactor] Apply fixes
2022-07-13 09:07:38 +00:00
Akash Yadav
41fb116a78
Fix #277 : Disable action menu if all of its children are disabled
2022-07-12 12:48:10 +05:30
Akash Yadav
051e2e4b02
Reformat all source file
2022-06-26 09:37:57 +05:30
Akash Yadav
6beea8f961
Fixed various lint and test errors/warnings
2022-06-21 13:36:11 +05:30
Akash Yadav
1252fad343
Merged remote branch into 'main'
2022-06-14 14:35:32 +05:30
Akash Yadav
4bab018d2c
Resolved merge conflicts
2022-06-05 08:23:44 +05:30
Akash Yadav
eb25022cbc
Fixed .gitignore files
2022-05-22 18:05:50 +05:30
Akash Yadav
24f94f3914
Revert "Upgraded Android Gradle Plugin to version 7.0.2 for AndroidIDE project"
...
This reverts commit 3e6bbb6f1c .
2022-05-21 20:08:54 +05:30
Akash Yadav
3e6bbb6f1c
Upgraded Android Gradle Plugin to version 7.0.2 for AndroidIDE project
2022-05-21 18:14:00 +05:30
Akash Yadav
76e4ecac0b
[Gradle] Format java source code
2022-05-18 18:30:57 +05:30
Akash Yadav
5cd3a0a63d
Fixed: Find in project dialog is not updated after project initialization
2022-05-02 20:25:37 +05:30
Akash Yadav
033f7e878b
Replaced 'Stop Gradle daemons' actions with 'Cancel build' action
2022-05-01 19:40:11 +05:30
Akash Yadav
0922028b9c
Renamed Logger to ILogger
2022-04-23 12:58:58 +05:30
Akash Yadav
95a719cb56
Implemented custom searcher for IDEEditor (related: #158 )
2022-04-18 19:45:25 +05:30
Akash Yadav
0974c2af3e
Added base class for providing JavaLanguageServer to test classes
2022-04-16 14:11:17 +05:30
Akash Yadav
0d21603bdf
Added some more code actions
2022-04-11 22:26:38 +05:30
Akash Yadav
8aa676fd2b
Implemented 'Field to block' action
2022-04-10 21:29:37 +05:30
Akash Yadav
94b84b61b7
Fixed: ActionExecListener is not called for actions executing on UI thread
2022-04-10 21:17:08 +05:30
Akash Yadav
7cf47f6cbd
Implemented some more actions with the ActionsRegistry
2022-04-10 21:06:30 +05:30
Akash Yadav
be47ad0e45
Removed ITextActionPresenter implementation. Use ActionsRegistry instead.
2022-04-10 11:59:55 +05:30
Akash Yadav
abc847c8df
Dynamically add toolbar actions using ActionsRegistry
2022-04-08 20:41:21 +05:30