kdevelop pasting C-style comments

D. R. Evans doc.evans at gmail.com
Sun Feb 15 21:55:29 GMT 2026


In addition to the copy/paste issue, it seems, on further experimentation, 
that kdevelop is applying all sorts of other unwanted formatting to pasted code.

So I guess that my question is now more general: how do I turn off *all* 
changes to pasted code?

   Doc

----

D. R. Evans wrote on 2/15/26 11:16 AM:
> I'm not sure where to post this question; if there's somewhere more
> appropriate, please tell me.
> 
> In kdevelop, if I copy the following text into the copy/paste buffer from a
> pre-existing file:
> 
> /*! \brief            Create a directory if it does not already exist
>       \param  dirname   name of the directory to create
>       \return           Whether directory was created
> */
> 
> and then I paste it into a different file (or, actually, even the same file),
> instead of a byte-for-byte copy of what I just put into the buffer, what
> appears in the destination file is:
> 
> /*! \brief            Create a directory if it does not already exist
>    *  \param  dirname   name of the directory to create
>    *  \return           Whether directory was created
>    */
> 
> There must be something in kdevelop settings somewhere to control this (it
> started with a recent upgrade to debian trixie from bookworm), but I can't
> find any documentation on the subject. I'm probably just looking in the wrong
> place. If it's not obvious: I want the pasted text to exactly match what I copied.
> 
>     Doc
> 


-- 
Web:  http://enginehousebooks.com/drevans


More information about the kde mailing list