Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Puglin is not running perfectly

Open Rakha-Rayz opened this issue 5 months ago • 2 comments

Check for existing issues

  • [x] Completed

Describe the bug / provide steps to reproduce it

We know that Acode has many plugins. Since this new update, some bugs have appeared and one of them is "Plugin not working properly". For example, I install the tailwindcss Intellisense plugin. But we can't find tailwind intellisense command in command pellatte. **I feel like the plugin that uses the pellatte command to activate it is not working. ** But only for some plugins. I tried three plugins: ["Tailwindcss Intellisense", "Add Package", "Better Snippet] It is a plugin that uses the pellatte command, and only "Add Package" has a command in the pellatte command.

Environment

Device Information: WebView Info: Package Name: com.google.android.webview Version: 148.0.7778.215

App Info: Name: Acode Package Name: com.foxdebug.acode Version: 1.12.4 Version Code: 974

Device Info: Android Version: 16 Manufacturer: Xiaomi Model: 2412DPC0AG Platform: Android Cordova Version: 15.0.0

Screen Info: Width: 376 Height: 835 Color Depth: 24

Additional Info: Language: id-ID User Agent: Mozilla/5.0 (Linux; Android 16; 2412DPC0AG Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/148.0.7778.215 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vision

Image Image Image Image

If applicable, attach your Acode.log file to this issue.

Acode.log

[2026-06-11T09:44:36.946Z] [ERROR] [object Object]
[2026-06-11T09:44:37.097Z] [INFO] Started app and its services...
[2026-06-11T09:47:13.977Z] [ERROR] [object Object]
[2026-06-11T09:47:15.181Z] [ERROR] [object Object]
[2026-06-11T09:47:15.668Z] [ERROR] [object Object]
[2026-06-11T09:47:16.550Z] [ERROR] [object Object]
[2026-06-11T09:47:16.856Z] [ERROR] [object Object]
[2026-06-11T09:47:18.317Z] [ERROR] [object Object]
[2026-06-11T09:47:18.721Z] [ERROR] [object Object]
[2026-06-11T09:47:38.595Z] [ERROR] Unhandled rejection: undefined
Stack: undefined
[2026-06-11T09:47:51.038Z] [ERROR] Unhandled rejection: undefined
Stack: undefined
[2026-06-11T09:47:53.138Z] [ERROR] Unhandled rejection: undefined
Stack: undefined
[2026-06-11T09:51:37.512Z] [ERROR] [object Object]
[2026-06-11T09:51:37.811Z] [INFO] Started app and its services...
[2026-06-11T23:43:44.021Z] [ERROR] [object Object]
[2026-06-11T23:43:44.236Z] [INFO] Started app and its services...
[2026-06-12T01:18:45.443Z] [ERROR] [object Object]
[2026-06-12T01:18:45.569Z] [INFO] Started app and its services...
[2026-06-12T01:19:08.519Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T01:19:24.072Z] [ERROR] [object Object]
[2026-06-12T01:19:27.872Z] [ERROR] [object Object]
[2026-06-12T01:19:28.978Z] [ERROR] [object Object]
[2026-06-12T01:21:47.885Z] [ERROR] Unhandled rejection: Cannot read properties of null (reading 'doc')
Stack: TypeError: Cannot read properties of null (reading 'doc')
    at eV. (https://localhost/build/main.js:76:127713)
    at Generator.next ()
    at ee (https://localhost/build/main.js:76:118460)
    at a (https://localhost/build/main.js:76:118658)
    at https://localhost/build/main.js:76:118719
    at new Promise ()
    at eV. (https://localhost/build/main.js:76:118599)
    at eV.writeToCache (https://localhost/build/main.js:76:128117)
    at https://localhost/build/main.js:76:127167
[2026-06-12T02:11:05.439Z] [ERROR] [object Object]
[2026-06-12T02:11:05.587Z] [INFO] Started app and its services...
[2026-06-12T02:11:05.655Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:13:31.219Z] [ERROR] [object Object]
[2026-06-12T02:13:31.444Z] [INFO] Started app and its services...
[2026-06-12T02:13:31.515Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:17:27.563Z] [ERROR] [object Object]
[2026-06-12T02:17:27.741Z] [INFO] Started app and its services...
[2026-06-12T02:17:27.768Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:22:08.826Z] [ERROR] [object Object]
[2026-06-12T02:22:09.028Z] [INFO] Started app and its services...
[2026-06-12T02:22:09.094Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:30:35.372Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js, Line: 1, Column: 697688, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:697688
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:704194
[2026-06-12T02:30:41.342Z] [ERROR] Error: Uncaught TypeError: t.session.getTabSize is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js, Line: 1, Column: 316, Stack: TypeError: t.session.getTabSize is not a function
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:316
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:1859
[2026-06-12T02:33:03.891Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'Range'), Source: https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js, Line: 1, Column: 316, Stack: TypeError: Cannot read properties of undefined (reading 'Range')
    at https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js:1:316
[2026-06-12T02:33:21.266Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js, Line: 1, Column: 704368, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:704368
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:708999
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:709003
[2026-06-12T02:33:33.138Z] [ERROR] [object Object]
[2026-06-12T02:33:33.318Z] [INFO] Started app and its services...
[2026-06-12T02:33:33.387Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:33:34.065Z] [ERROR] Error: Uncaught TypeError: t.session.getTabSize is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js, Line: 1, Column: 316, Stack: TypeError: t.session.getTabSize is not a function
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:316
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:1859
[2026-06-12T02:33:34.083Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js, Line: 1, Column: 704368, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:704368
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:708999
    at https://localhost/__cdvfile_files-external__/plugins/acode.ugex.tailwindcss_intellisense/main.js:1:709003
[2026-06-12T02:33:34.094Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js, Line: 1, Column: 697688, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:697688
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:704194
[2026-06-12T02:33:34.124Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'Range'), Source: https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js, Line: 1, Column: 316, Stack: TypeError: Cannot read properties of undefined (reading 'Range')
    at https://localhost/__cdvfile_files-external__/plugins/bajrangcoder.tailwind.fold/main.js:1:316
[2026-06-12T02:51:50.090Z] [ERROR] Unhandled rejection: attempted to get private field on non-instance
Stack: TypeError: attempted to get private field on non-instance
    at i8 (https://localhost/build/main.js:246:1240)
    at i4 (https://localhost/build/main.js:246:1341)
    at r (https://localhost/build/main.js:257:8303)
    at https://localhost/build/main.js:196:4940
    at Array.forEach ()
    at https://localhost/build/main.js:196:4929
    at Array.forEach ()
    at Object. (https://localhost/build/main.js:196:4828)
    at Generator.next ()
    at h (https://localhost/build/main.js:196:1679)
[2026-06-12T02:51:54.557Z] [ERROR] Error: Uncaught TypeError: session.selection.moveCursorToPosition is not a function, Source: webpack://acode-plugin-prettier/./src/main.js?, Line: 621, Column: 21, Stack: TypeError: session.selection.moveCursorToPosition is not a function
    at AcodePrettier._setValue (webpack://acode-plugin-prettier/./src/main.js?:621:21)
    at worker.onmessage (webpack://acode-plugin-prettier/./src/main.js?:594:68)
[2026-06-12T02:52:24.325Z] [ERROR] Error: Uncaught TypeError: session.selection.moveCursorToPosition is not a function, Source: webpack://acode-plugin-prettier/./src/main.js?, Line: 621, Column: 21, Stack: TypeError: session.selection.moveCursorToPosition is not a function
    at AcodePrettier._setValue (webpack://acode-plugin-prettier/./src/main.js?:621:21)
    at worker.onmessage (webpack://acode-plugin-prettier/./src/main.js?:594:68)
[2026-06-12T02:52:31.363Z] [ERROR] Error: Uncaught TypeError: session.selection.moveCursorToPosition is not a function, Source: webpack://acode-plugin-prettier/./src/main.js?, Line: 621, Column: 21, Stack: TypeError: session.selection.moveCursorToPosition is not a function
    at AcodePrettier._setValue (webpack://acode-plugin-prettier/./src/main.js?:621:21)
    at worker.onmessage (webpack://acode-plugin-prettier/./src/main.js?:594:68)
[2026-06-12T02:55:27.011Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'snippetManager'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js, Line: 2, Column: 19214, Stack: TypeError: Cannot read properties of undefined (reading 'snippetManager')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:19214
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:26533
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:26536
[2026-06-12T02:59:25.749Z] [ERROR] [object Object]
[2026-06-12T02:59:25.894Z] [INFO] Started app and its services...
[2026-06-12T02:59:25.993Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'themes'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js, Line: 196, Column: 95, Stack: TypeError: Cannot read properties of undefined (reading 'themes')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:95
    at https://localhost/__cdvfile_files-external__/plugins/x.better.githubdark/main.js:196:1514
[2026-06-12T02:59:26.635Z] [ERROR] Error: Uncaught TypeError: t.session.getTabSize is not a function, Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js, Line: 1, Column: 316, Stack: TypeError: t.session.getTabSize is not a function
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:316
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.emmet/main.js:1:1859
[2026-06-12T02:59:26.649Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'snippetManager'), Source: https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js, Line: 2, Column: 19214, Stack: TypeError: Cannot read properties of undefined (reading 'snippetManager')
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:19214
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:26533
    at https://localhost/__cdvfile_files-external__/plugins/x.better.snippets/main.js:2:26536
[2026-06-12T02:59:26.681Z] [ERROR] Error: Uncaught TypeError: Cannot read properties of undefined (reading 'TokenIterator'), Source: https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js, Line: 1, Column: 697688, Stack: TypeError: Cannot read properties of undefined (reading 'TokenIterator')
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:697688
    at https://localhost/__cdvfile_files-external__/plugins/acode.plugin.tailwindcss_intellisense/main.js:1:704194

Rakha-Rayz avatar Jun 12 '26 03:06 Rakha-Rayz

In new version we have changed our core editor engine so not all plugins are supported in new , plugin developer need to update to add support for new acode version. The plugins you mentioned are not updated but the Add package one is updated. So either search for alternative or don't use that plugin. Btw we have changed core editor engine from ace to codemirror6 so you can check our website to know is that supported or not. Also we now only list plugins in app which are supported, it's seems those plugins got downloaded from your backups.

bajrangCoder avatar Jun 12 '26 03:06 bajrangCoder

In new version we have changed our core editor engine so not all plugins are supported in new , plugin developer need to update to add support for new acode version. The plugins you mentioned are not updated but the Add package one is updated. So either search for alternative or don't use that plugin. Btw we have changed core editor engine from ace to codemirror6 so you can check our website to know is that supported or not. Also we now only list plugins in app which are supported, it's seems those plugins got downloaded from your backups.

Thanks for the explanation, I thought it was a bug. Thank you.

Rakha-Rayz avatar Jun 12 '26 06:06 Rakha-Rayz