为什么关键字在 Remix IDE 中没有着色?
如代码所示,这里预定义了push()、pop()和长度。当我尝试更改他们的名称时,出现错误,其他关键字情况相同。
如果它们是关键字,为什么它们不变成彩色或粗体?
与其他 ide(VSCode 等)不同,Remix 不是一个特定的功能吗?
I wrote a code about arrays in solidity.
As shown in the code push(),pop() and length are predefined here. When I tried to change their name it gives an error, same case with other keywords.
If they're keywords why they don't get colored or bold?
Does Remix not a specific function for it unlike other ides(VSCode etc.) .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它们可以得到支持,但所有的 Solidity 工具和语言本身仍然是一项正在进行的工作,Remix 也没有真正撒谎,
混音 说:
确实如此,这些是坚固性。像
push()
pop()
或length
这样的数组成员不是关键字,它们是 成员They could be supported, but all solidity tooling and the language itself is still a work in progress, and Remix isn't really lying about it either,
Remix says:
And it does, these are the reserved keywords in solidity. Array members like
push()
pop()
orlength
are not keywords, they are members