Hi guys!

Maybe I'm wrong and such behavior already exists, but... For the Linux
systems (at least) I use the linked bash script to open files in the
current instance of the Qt Creator for editing.

The Idea is simple: scan parents using `ps -o ppid= -p ...` starting from
`$PPID` and search process with name `qtcreator`, if found - call it with
`... -pid $pid ...` parameter and pass file name.

Work like a charm for me.

Script: https://gist.github.com/h4tr3d/52a164b0e4cb51abab85ffcd32609035

Maybe useful for somebody.

-- 
WBR, Alexander Drozdov
http://htrd.su
-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to