use*_*148 4 cuda syntax-highlighting qt-creator
有人知道在使用Qt Creator时突出显示CUDA代码的方法吗?我可以在vim和kate中这样做,但不能在Qt Creator中使用它,我必须使用它.
Bil*_*ill 5
如果您可以在Kate中突出显示CUDA代码,那么您也可以在Qt Creator中执行此操作,因为在Qt Creator中 generic highlighting is based on highlight definition files that are provided by the Kate Editor.
generic highlighting is based on highlight definition files that are provided by the Kate Editor.
尽管Qt Creator可以帮助您下载高亮定义文件(请参阅文档),但遗憾的是我无法在"下载定义"对话框中看到CUDA,因此您必须将手动使用的CUDA高亮定义文件手动复制到Qt Creator期望的位置(看到Location并Fallback location在提到的文件中).
Location
Fallback location
归档时间:
13 年,9 月 前
查看次数:
1770 次
最近记录:
8 年,10 月 前