Coder Social home page Coder Social logo

acode-plugin's Introduction

Hi there ๐Ÿ‘‹

acode-plugin's People

Contributors

bajrangcoder avatar bandroid avatar deadlyjack avatar deepkrg17 avatar dependabot[bot] avatar talal12bfk 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

acode-plugin's Issues

Remove/change meta tags viewport

i tried removing viewport meta tags

My code

Link

this is an example

Screen_Recording_20230903-211038_Chrome.mp4
Screen_Recording_20230903-211122_Acode_001.mp4

I have many methods, which I use

var meta = document.createElement('meta');
meta.setAttribute("name", "viewport");
meta.setAttribute("content", "width=1024, height=768");
document.head.appendChild(meta);
document.querySelector("[name='viewport']").setAttribute("content", "width=1024, height=768");`
document.querySelector("[name='viewport']").remove()

ImportScripts needs more explanation

Please,Could you explain more about how to do things like importing a plugins. The code in the worker.js for the already built plugins does not show how the importing works.

What determines the plugin to be "invalid"?

For example, I changed it to the folder 'dist' > build until then it worked more when I changed the name of the file main for another one, it didn't work anymore, is it my mistake? How do you check!

How to remove themes from editor?

How to serial to remove themes from editor list?

ace.require("ace/ext/themelist").themes.remove(<string>);
ace.require("ace/ext/themelist").remove(<string>);

When the plugin was uninstalled it would remove it from the editor list

Getting Invalid Plugin error when trying to import a local plugin

I forked the acode-plugin repo to develop a new feature, but before coding the full plugin I try to make a test but I get an "Invalid Plugin" error, I followed all the steps mentionned in the plugin doc, but I still get the error.

I hope you'll have time to give me some hints that could possibly get me going.

npm run start-dev error

When I try to to run start-dev a get this error. Can you help to fix the error?

`PS C:\code\acode-plugin> npm run start-dev

[email protected] start-dev
node .vscode/start-dev

+--------------+
| Starting dev |
+--------------+
asset main.js 3.79 KiB [compared for emit] (name: main)
runtime modules 279 bytes 1 module
./src/main.js 418 bytes [built] [code generated]
./plugin.json 212 bytes [built] [code generated]
webpack 5.76.0 compiled successfully in 592 ms

dist.zip written.

C:\code\acode-plugin.vscode\getNet.js:5
const [ip] = WiFi || Ethernet;
^

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at module.exports (C:\code\acode-plugin.vscode\getNet.js:5:16)
at main (C:\code\acode-plugin.vscode\start-server.js:13:36)
at Object. (C:\code\acode-plugin.vscode\start-server.js:10:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Node.js v18.17.1`

Help me to solve this i Got error code: 'ERR_DLOPEN_FAILED'

innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:

  • /data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/unixTerminal.js
  • /data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/index.js
  • /data/data/com.termux/files/usr/lib/node_modules/acodex-server/terminalServer.js
  • /data/data/com.termux/files/usr/lib/node_modules/acodex-server/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
    at Module._load (node:internal/modules/cjs/loader:990:27)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at Object. (/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/unixTerminal.js:34:15)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/unixTerminal.js',
    '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/index.js',
    '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/terminalServer.js',
    '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/index.js'
    ]
    }
    /data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/unixTerminal.js:40
    throw outerError;
    ^

Error: dlopen failed: cannot locate symbol "_ZN2v812api_internal18GlobalizeReferenceEPNS_8internal7IsolateEPm" referenced by "/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/build/Release/pty.node"...
at Module._extensions..node (node:internal/modules/cjs/loader:1475:18)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/lib/unixTerminal.js:29:11)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12) {
code: 'ERR_DLOPEN_FAILED'
}

Node.js v21.6.2

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.