尼姆
代码风格
为 Nim 编辑器指定首选项(试验性):
- 转到首选项>Nim 。
- 在Custom settings 中,选择要修改的设置,然后选择Copy 。
- 为设置命名,然后选择OK 。
- 指定如何解释Tab键的按下以及如何对齐续行。
- 选择OK 保存设置。
要为特定项目指定不同的设置,请选择Projects >Code Style 。
工具
您可以使用Nimsuggest工具查询.nim
源文件并获取代码自动补全建议。
要使用 Nimsuggest,必须在开发电脑上安装,并在Path 中输入工具可执行文件的路径。
另请参阅 将代码片段添加到自动完成菜单、完成代码、查找首选项、缩进文本或代码、指定代码样式、完成、Nimble 和片段。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.