Make sublime text easier to develop Egret

Time:2021-8-8

In toolbarTools > Build System > New Bulid System
Then copy the following code and save it as egret.sublime-build.

{
    "cmd": ["egret","build"],
    "working_dir":"${project_path:${folder}}",
    "shell":true
}

Again inTools > Build SystemSelect degree to use it.
Finish typing the codectrl+bYou can compile the degree project.
I had onectrl+shift+bAfter that, you can run browsing, but you can’t close it. The port will always be occupied. So you have to run run run. Bat in the open directory.

*In win8 environment, run CMD as an administrator and executeegret build -eTo run build and startserver normally. This may be caused by not compiling the egret library.

Recommended Today

[Python] this list is familiar with TTT

♐ Write in front About the author: Hello, I’mZeshi Weekly list of emerging creators} in embedded field:50Total ranking: 4170 👑  Personal homepage:Zeshi’s blog_ Blog give the thumbs-up ➕ Commentary ➕ Collection = = form a habit Series column:[Python] series_ Zeshi’s blog – blog Conclusion: I hope you can help you after reading it. Please correct the deficiencies! […]