Ace Yin
Ace Yin
Hi, i think "EmmyLUA" is a very powerful LUA plugin and should be included in the "IDEs and Plugins" list. here is the github repo or emmylua: https://github.com/EmmyLua/IntelliJ-EmmyLua
### Xmake 版本 2.6.5 ### 操作系统版本和架构 CentOS 6.5 ### 描述问题 在 `add_requires('pkg-name', {config={DESTDIR="$(projectdir)/lib"}})` 中使用带变量的 config 在 package 的 xmake.lua 里面用 `package:config("DESTDIR")` 获取到的是 "$(projectdir)/lib" ### 期待的结果 在 package 的 xmake.lua 中获取到的应该是类似...
首先, 感谢 @KaiserY 及相关同学的付出,才有了这份不错的中文教程。 这份教程如果没记错, 是基于1.37的, 那时候还没 async/await, 1.39里面加了这些新特性,这一加, 把本来就入门门槛极高的rust异步编程,搞得更难懂了。。。 不知道作者和团队有啥计划会加入与rust异步相关的书籍的翻译?
感谢作者的好文章,请问一下国内有实际把elixir使用在生产项目的案例吗?
# issue description I defined a behavior `network_receiver` - which has 2 callbacks: `ready/1` (optional callback) and `on_receive/1`, and a module `echo2` which use the `network_receiver`. In the module `echo2`...
Channel name : mychannel Creating channel... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=false CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2018-01-19 10:11:50.147 UTC [msp] getMspConfig -> INFO 001 intermediate certs folder not found at...
## 问题 现在的 `@class` 注解, 只支持 `@field` 属性,用于定义一个 `class` 的成员。 ## 期望 增加一个 `@constructor` 注解, 用于给 `@class` 定义构造函数 ## 举例 -- user.lua ``` local function new_user(name) end --- @class entity.User...
以 math.lua 举例: emmy-lua 中的 `math` 模块源码如下: ```lua math = {} function math.abs(x) return 0 end .... ``` 因为没有给 `math = {}` 加上 `@class` 申明, 因此当我想扩展lua标准库的 `math` 模块的时候,例如: 我想写一个 `libs.math`...
`@class` 注解只能作用在 local / global 变量上, 有没有可能支持作用在匿名的 `table` 上呢? 比如: ```lua local structs = { role = --- @class struct.Role { name = { type=string, } } } ```
现在想在方法上备注该方法会抛出异常, 但是翻了一下, 貌似 emmylua 没有 异常相关的注解, 可否加一个 类似 @throws 之类的注解?对应在方法提示上也可以显示出来