7

I'm working on a Qt based product suite. I see the advantages of using the blessed IDE, Qt Creator, so I want to include it in my workflow.

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).

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?

0

1 Answer 1

11

You can configure Emacs as an External Tool (Tools > External > Configure), and then run it via Tools > External.

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.

1
  • 2
    Thanks @Cássio. Added Emacs under external tools, with 'Executable: emacs' and 'Arguments: %{CurrentDocument:FilePath}'. As a bonus, I was able to record a keybinding to bring up emacs under Keyboard>Tools:External.emacs. Mar 29, 2018 at 3:17

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.