Giter Site home page Giter Site logo

codeassist-alpha-0.2.9's Introduction

CodeAssist Unofficial

Forked of Official CodeAssist Version Alpha-0.2.9


stability-alpha Repository Size CI Total downloads Commit Activity Latest release

A javac APIs-based code editor that supports building Android apps.

  • APK Compilation

  • Custom Signing Option

  • Search Option

  • AAB Support

  • New Updated Templates

  • Exclude ClassPath/Library Option

  • Copy Logs From Build Output

  • Custom AAB Signing Option

  • Java 17 (Only Compile)

  • Kotlin 21 (Only Compile)

  • Google Java Formatter

  • Kotlin Formatter

  • Code Formatter Task

  • Import File Option A11+

  • Open Custom Project Option A11+

  • Import Zip Project

  • Export Zip Project

  • D8/R8/ProGuard

  • Java Code Completions (1.8)

  • Kotlin Code Completions (1.8 Unstable)

  • Quick fixes (Import missing class and Implement Abstract Methods)

  • Layout Preview (80%) (Material3 Theme)

  • Automatic dependency resolution

  • Layout Editor

  • Debugger

  • Fix Duplicate Same Jar File (Sub Projects)

  • Git Integration

  • Multiple Projects Support (Multi Mudule)

CodeAssist Community

English-language chat in Telegram: https://t.me/codeassist_app

Building - Android Studio

Clone this repository to your local device and then open it on Android Studio.

Contributing

  • Pull request must have a short description as a title and a more detailed one in the description

  • Feature additions must include Unit/Instrumentation tests. This is for future stability of the app and modules.

Special thanks

  • Tyron/CodeAssist (Official)

  • Rosemoe/CodeEditor

  • JavaNIDE

  • Mike Anderson

  • Java Language Server

  • Ilyasse Salama

Contributors

  • Updated Templates By @SENPAi_203

CodeAssist-Unofficial

codeassist-alpha-0.2.9's People

Contributors

deenu488 avatar mrcode403 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeassist-alpha-0.2.9's Issues

several gliches

I notice a lot of glitches. Maybe you can fix it?
I can add some screenshots and notes if you agree.

Copy /Paste Bug

Describe the bug
I get this error in below when i copy / paste text some times :
ERROR: cannot access java.lang.ClassNotFoundException
bad class file: /data/user/0/com.tyron.code/files/rt.jar(/java/lang/ClassNotFoundException.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath. [PlayerView.java:143]
To Reproduce
Steps to reproduce the behavior:

  1. Copy any text
  2. Paste it (Only some times happen when i paste or copying the text );
  3. And some time if there are so many issues in the code

**Smartphone **

  • Device: Samsung s23 ultra
  • OS: android 14(rooted)

Additional context
Add any other context about the problem here.

The app shows error in the code but after compiling it works fine

As we all know after placing the dependency in build.gradle file
We can use the library
But the app editor does not detect any library
It just shows up errors including the right errors
Also in its xml file editor
There's no such RadioGroup or RadioButton Switch and text attribute for switch
Also many more

Please fix these

App not installed

Hello dear developers
I am an android 11 user
I am always looking forward for new updates but this new update is not installing in my device
I don't know why i tried every possible thing
For example Clearing data and cache of my package installer, Modifiying its android manifest file but sadly nothing worked as expected
I used the previous versions but now in this device i am facing the problem of apk not istalled
Please fix it if this is issue with you app
But if it's not just forgive me for my awfull issue report

Device name InfinixHOT10S
Android version Android 11

Thanks you so much
Regards @M_Zohaib

Redeclaration Error

Hi,
I get Redeclaration error in code assist at my project:
Screenshot_٢٠٢٣٠٤١١-٢٢٥٧٥١_CodeAssist
See the first and last error ,when I clicked on the classes at the first and last error I got this:
Screenshot_٢٠٢٣٠٤١١-٢٢٥٩٠٣_CodeAssist
Like you see there is two paths for one class

Please fix the problem

App crashes while writing code

When I was writing a kotlin code in my ViewPager adapter class the app carshed, see the error:

Build version: 0.2.9-alpha02
Build date: 1981-01-01 01:01:02
Current date: 2023-02-23 14:21:32
Device: Samsung SM-A022F

Stack trace:
java.lang.IndexOutOfBoundsException: Index: 45, Size: 3
at java.util.ArrayList.get(ArrayList.java:437)
at com.tyron.code.language.textmate.BaseIncrementalAnalyzeManager$LockedSpans$ReaderImpl.getSpanAt(BaseIncrementalAnalyzeManager.java:428)
at io.github.rosemoe.sora.widget.EditorPainter.updateLineDisplayList(EditorPainter.java:268)
at io.github.rosemoe.sora.widget.HwAcceleratedRenderer.drawLineHardwareAccelerated(HwAcceleratedRenderer.java:127)
at io.github.rosemoe.sora.widget.EditorPainter.drawRows(EditorPainter.java:1014)
at io.github.rosemoe.sora.widget.EditorPainter.drawView(EditorPainter.java:464)
at io.github.rosemoe.sora.widget.EditorPainter.draw(EditorPainter.java:128)
at io.github.rosemoe.sora.widget.CodeEditor.onDraw(CodeEditor.java:3268)
at com.tyron.code.ui.editor.impl.text.rosemoe.CodeEditorView.onDraw(CodeEditorView.java:456)
at android.view.View.draw(View.java:23901)
at android.view.View.updateDisplayListIfDirty(View.java:22776)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292)
at android.view.View.updateDisplayListIfDirty(View.java:22731)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292)
at android.view.View.updateDisplayListIfDirty(View.java:22731)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292)
at android.view.View.updateDisplayListIfDirty(View.java:22731)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:5320)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:5292)
at android.view.View.updateDisplayListIfDirty(View.java:22731)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1312)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.kt:235)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.kt:225)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at androidx.drawerlayout.widget.DrawerLayout.drawChild(DrawerLayout.java:1483)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.kt:235)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.kt:225)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.updateDisplayListIfDirty(View.java:22762)
at android.view.View.draw(View.java:23631)
at android.view.ViewGroup.drawChild(ViewGroup.java:5336)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:5093)
at android.view.View.draw(View.java:23904)
at com.android.internal.policy.DecorView.draw(DecorView.java:1282)
at android.view.View.updateDisplayListIfDirty(View.java:22776)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:579)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:585)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:662)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:5042)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4749)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3866)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2618)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9971)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1010)
at android.view.Choreographer.doCallbacks(Choreographer.java:809)
at android.view.Choreographer.doFrame(Choreographer.java:744)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:995)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8633)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

User actions:
2023-02-23 14:14:05: MainActivity created
2023-02-23 14:14:05: MainActivity resumed
2023-02-23 14:14:07: MainActivity paused
2023-02-23 14:14:07: SettingsActivity created
2023-02-23 14:14:07: SettingsActivity resumed
2023-02-23 14:14:24: SettingsActivity paused
2023-02-23 14:14:24: MainActivity resumed
2023-02-23 14:14:25: SettingsActivity destroyed

Formatting issue

Hello, in the latest update the formatting feature replaces tabs with spaces, making the code hard to read. Could you add an option in settings to choose between tabs and spaces for indentation, if it was intentional or fix this issue?

All activity text erases while we try to slide erase some text

In every keyboard we have two option while to erase the whole e.g function by simply long clicking the erase button in the keyboard
And the second option is to quickly erase most of the text by just moving your finger from the erase buttom to all the way left
But this quick shortcut does not work for it
It just removes every single text in the activity or xml file
Please do a fix

Jetpack compose error

Bro when I make a jetpack compose amd run the project amd install the app, when I open the app it crashes and this error shows at logs:
Screenshot_٢٠٢٣٠٤١١-٢٣١٣٢٠_CodeAssist

Code Editor Issues

Change code editor or improve it cuz it give me fake errors and some times kick me out and give me in-app errors.
I hope to change it instead of fix it

Libraries classpath missing

Note that Issues are for bugs only. Use the discussions tab for feature requests.

Describe the bug
i use latest ci release, in my kotlin and java code, any dependency package cant be recognized in diagnostic.

To Reproduce
Steps to reproduce the behavior:

  1. just open any kotlin/java file.

Expected behavior
the diagnostic did not shown error.

Screenshots
Screenshot_20240305-233328.png

Smartphone (please complete the following information):

  • Device: Infinix Note 8
  • OS: Android 10

App don't load project after reopening the project

Actually there is also another issue related to it
When we open a project it works fine
But when we navigate away from the project
Then try to reopen it
It just simply not loads it up
And the second issue is
When we try refresh module the app crashes leaving a crash report behind

Unable Start Service on Android 14 (SDK 34)

Screenshot_2024-03-08-00-04-10-36_2870cb4d7e72f8050b62d08052357b72

Build version: 1.0.0
Build date: 1981-01-01 01:01:02
Current date: 2024-03-08 00:02:40
Device: OPPO CPH2461

Stack trace:
java.lang.RuntimeException: Unable to start service com.tyron.code.service.IndexService@580f1dc with Intent { cmp=com.tyron.code/.service.IndexService }: java.lang.SecurityException: Starting FGS with type systemExempted callerApp=ProcessRecord{4e3f04e 19203:com.tyron.code/u0a1901} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED] any of the permissions allOf=false [android.permission.SCHEDULE_EXACT_ALARM, android.permission.USE_EXACT_ALARM, android:activate_vpn]
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5114)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2469)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8821)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
Caused by: java.lang.SecurityException: Starting FGS with type systemExempted callerApp=ProcessRecord{4e3f04e 19203:com.tyron.code/u0a1901} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED] any of the permissions allOf=false [android.permission.SCHEDULE_EXACT_ALARM, android.permission.USE_EXACT_ALARM, android:activate_vpn]
at android.os.Parcel.createExceptionOrNull(Parcel.java:3087)
at android.os.Parcel.createException(Parcel.java:3071)
at android.os.Parcel.readException(Parcel.java:3054)
at android.os.Parcel.readException(Parcel.java:2996)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:6761)
at android.app.Service.startForeground(Service.java:862)
at com.tyron.code.service.IndexService$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:0)
at com.tyron.code.service.IndexService.onStartCommand(IndexService.java:67)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5096)
... 9 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:2700)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2404)
at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1754)
at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:14177)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3385)

User actions:
2024-03-08 00:01:07: MainActivity created
2024-03-08 00:01:07: MainActivity resumed
2024-03-08 00:01:11: MainActivity paused
2024-03-08 00:01:11: SettingsActivity created
2024-03-08 00:01:11: SettingsActivity resumed
2024-03-08 00:01:46: SettingsActivity paused
2024-03-08 00:01:46: MainActivity resumed
2024-03-08 00:01:47: SettingsActivity destroyed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.