API script editor and debugger
92 8
duritskiy 1 week ago
1) Let's create a separate forum section for questions related to API scripts. I would like more examples of various scripts, for a greater understanding of scripts for novice programmers. 2) Please show other more convenient ways of programming through the API. Maybe it can be through standard Google Chrome tools ... Or maybe there is some way to debug through some c ++ programming environment
Comments
andyfierman 1 week ago
+1 This might encourage more use of the EasyEDA API.
Reply
MikeDB 1 week ago
I've never trusted APIs on EDA tools as they have a habit of not being tested on updates and suddenly stopping working.
Reply
duritskiy 1 week ago
Is there an alternative?
Reply
MikeDB 1 week ago
Doing it by hand :-)     I've managed so far but I agree some tasks should be automatable.
Reply
UserSupport 1 week ago
Hi When the editor ready , we will update our API document and create a new Category at the forum.
Reply
duritskiy 1 week ago
I want to run a local js script with one click. And this script could be edited in any convenient programming environment. I tried to use different "include" methods in the js script, but nothing happened.
Reply
duritskiy 6 days ago
I myself will answer: for the convenience of debugging, you can add to the end of the script **easyeda.extension.quickScript ();** and then the script window will not close
Reply
duritskiy 7 hours ago
**A convenient example for the built-in script editor.** try { console.clear() //Your code. } catch(e) { alert('Error: ' + e.name + ":" + e.message + "\n" + e.stack);} function ScriptWindowReSize() { //debugger; var PanelWindow=document.getElementById('dlgInstallScript').parentElement;      PanelWindow.style.width='1100px' var PanelHeader=PanelWindow.getElementsByClassName('panel-header panel-header-noborder window-header')[0];      PanelHeader.style.width='100%' var dlgInstallScript = document.getElementById('dlgInstallScript');     dlgInstallScript.style.width= '100%'     dlgInstallScript.style.height='650px'     var Panel=dlgInstallScript.getElementsByClassName('panel')[0];         Panel.style.width='100%'         Panel.style.height='600px'     var DialogContent=Panel.getElementsByClassName('dialog-content panel-body panel-body-noheader panel-body-noborder')[0];         DialogContent.style.width='100%'         DialogContent.style.height='100%'     var textarea=DialogContent.getElementsByTagName('textarea')[0];         textarea.style.width='98%'         textarea.style.height="565px";     var DialogButton =dlgInstallScript.getElementsByClassName('dialog-button')[0];         DialogButton.style["text-align"]="left" } easyeda.extension.quickScript (); ScriptWindowReSize();
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.