[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 146194] open documents from built-in konsole
From:       David Nolden <david.nolden.kdevelop () art-master ! de>
Date:       2007-05-31 12:16:27
Message-ID: 20070531121627.30629.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=146194         




------- Additional Comments From david.nolden.kdevelop art-master de  2007-05-31 \
14:16 ------- Who likes to write scripts for such a thing? That's not comfortable. \
And how can you make sure that the file is opened in the right kdevelop-instance?

I think a better integration of konsole would be great.

- You could type "open <filename>" to open a file that is not in the project

- You could type "someStrangeVersionControlProgram diff | open" to show an arbitrary \
diff within kdevelop

- even cooler would be if you could type "build" in a subfolder of your project so \
that subfolder would be built using the build-system manger

- Cool would also if you could type "parse make bla" so you could build the project \
in some custom way from the console, but the output would be parsed by the \
make-output-widget within kdevelop.


Especially the last two would make my life easier.

Implementing it would not be that hard. Important would be that kdevelop sets in \
environment-variable in the konsole that would allow identifying the correct instance \
of kdevelop with dbus/dcop.

Then a few scripts could be supplied with kdevelop like kdevelop_parse, \
kdevelop_build, and kdevelop_open, and one script that would be called at each start \
of a konsole-session within kdevelop that would be run to set the bash-aliases \
"open=kdevelop_open", "parse=kdevelop_parse" and "build=kdevelop_build", and to give \
some initial output to inform about those commands.

Sounds very realistically doable to me, but for kdevelop-4 not for 3. :)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic