RFC: Opening non-code files embedded or standalone

Milian Wolff mail at milianw.de
Sun Jul 12 10:25:06 UTC 2009


Andreas Pakulat, 12.07.2009:
> Hi,
>
> before I just change things, what are people's opinions about embedding
> non-code files (via KPart) vs. opening them in the preferred application
> standalone?
>
> Specifically I'm thinking about .ui files, which are currently opened in
> an embedded kpart which doesn't allow changing the .ui file. So to edit
> a .ui file I need to start designer on it manually.
>
> I'm thinking about doing it similar to what ecplise does, that is allow
> to open embedded or in external application and remembering that
> decision based on the mimetype. I'd also like to have a "open as text"
> too, so I can edit a .ui file inside kdevelop as xml.

Yes, as I said I'd prefer to have QtDesigner getting opened when I select a 
.ui file in the project manager. At least if I don't have to Qt Designer plugin 
installed.

Generalizing that I'd say the following would be good:

- check if KDevelop (i.e. one of its plugins) can handle the mimetype of the 
file
- if yes, open it in kdevelop
- if not, open the default application for that mimetype

Of course any text file which is supported by KatePart should be editable from 
within kdevelop. 
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090712/cf64f7fe/attachment.sig>


More information about the KDevelop-devel mailing list