简体   繁体   English

在Emacs中打开Qt Creator Buffer

[英]Open a Qt Creator Buffer in Emacs

I'm working on a Qt based product suite. 我正在研究基于Qt的产品套件。 I see the advantages of using the blessed IDE, Qt Creator, so I want to include it in my workflow. 我看到使用受祝福的IDE,Qt Creator的优点,所以我想将它包含在我的工作流程中。

There are things I want to do, that I'm used to from emacs, that simple key bindings don't help (macros come to mind). 我想做的事情,我习惯于从emacs,简单的键绑定没有帮助(宏出现)。

Is there a way I could spawn an emacs instance with the text of the current document, then transfer the edited results back to Qt Creator? 有没有办法用当前文档的文本生成emacs实例,然后将编辑后的结果传回Qt Creator?

You can configure Emacs as an External Tool ( Tools > External > Configure ), and then run it via Tools > External . 您可以将Emacs配置为外部工具工具>外部>配置 ),然后通过工具>外部运行它。

When saving the file on Emacs, Qt Creator will automatically detect the changes and ask if you want to update the buffer with the new file. 在Emacs上保存文件时,Qt Creator会自动检测更改并询问您是否要使用新文件更新缓冲区。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM