-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode eggjs 开发辅助插件 #583
Comments
这段是做智能提示的?有几个可以优化的点:
|
egg-swagger 也很需要,好像egg 在api 接口自描述文档这块没有统一标准和工具链 |
wiki里面加个ide插件分类
…Sent from my iPhone
On 16 Mar 2017, at 5:00 PM, yuzukwok ***@***.***> wrote:
egg-swagger 也很需要,好像egg 在api 接口自描述文档这块没有统一标准和工具链
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
更新支持了app.config 的智能感应 ,基于run 目录下文件提供的信息 |
PS: |
new Application 后就可以拿到 loader 了。 |
可以写个插件自动把 loader 加载的写入文件,这样 vscode 只要读取这个配置就好了 |
更新:支持ctx.service 类的智能感应 (利用vscode 自身的符号功能) |
刚刚的更新太棒了! @yuzukwok |
#584 调试的优化 |
👍🏻 是 attach worker? 支持自动侦测 debug 端口么? worker 重启后端口会变 |
需要手工按键触发,但不需要指定port或者修改调试配置文件,自动侦测debug端口 |
自动 attach 可以研究下这个:
思路应该是研究下如何发出 TerminatedEvent 这个事件,可以考虑做到 egg-development 中,这样就不需要插件也能支持了。 |
我擦,刚发现 vscode 这块文档更新了: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_restarting-debug-sessions-automatically-when-source-is-edited
|
@atian25 加了链接关闭这个 issue? |
我为什么没有service和controller智能提示,只有config和plugin,需要在设置什么吗? |
智能提示直接用 d.ts 即可,whxaxes/blog#16 |
请问这个问题解决了吗,我也碰到了 |
无需用插件,看 https://zhuanlan.zhihu.com/p/56780733 的说明即可,现在支持还不错。 |
https://marketplace.visualstudio.com/items?itemName=yuzukwok.eggjs-dev-tools
发布了一个vscode 插件,目前实现了service 和model 类的自动完成 和一些代码段
目前实现还是比较简单的,希望能提供更多思路打造一个完善的插件
The text was updated successfully, but these errors were encountered: