Using Tellico as a Code snipplet manager
Daniel Marcel Eichler
onsen-neko at gmx.net
Tue Oct 3 02:00:58 MDT 2006
Patrick Pfundstein wrote:
>I agree with Daniel, it is a niche use case, although, I didn't find any
> decent free code snipplet managers available (there are several good
> paying ones, but none is free). Any pointers to a good tool anyone?
Well, the Kate-Editor has some basic funktion fpr this, and so has
kdevelop also, i think. Or you can use basket. And there are also some
outliners, like tuxcard, knowit, kjotes or treeline.
But to be honest, no application is really satisfying. They are all too
complicatet, slow, have a really bad ui, and so on. Well, unfortunaly, at
this point, the most app lacks something (tellico also ^_-).
>I have no idea how heavy it would be to inegrate this part (I know
> nothing about QT), I am aware of a gtk component that does exactly
> this: GtkSourceView (ok, I know it is gtk...).
It's not a big deal to integrate kparts. Just change KMainWindow to
kpart.KMainWindow an add 2-3 lines to load the part, thats all. But of
cource, the bigger question is, how easy is it to change it with the
allready existing editor in tellico?
>The problem with loosing formating during copy/paste is that it depends
> on the application where the copy is from (if I remember well). I guess
> I can get a reproductible exemple if needed.
Ok, i tried it also. I copied some python-code from kate and saved it. As
a result, all leading whitespaces were'nt shown at the info-view(?).
Probably while it's converted to html?
>However, the color syntaxing, code folding features (just to name my
> favorite features) would still not be present.
Jep, that's true. But after i tested it myself, i think a more complex
solution is needed. Something which convert the the code to html. There
exist some shell-apps for this, but this would be a axternal solution.
>So what are you using folks as a code snippet manager? ;)
Single text-files, and i'm still searching (or better: develop it myself)
for a good solution to manage them :(
mfg
Daniel
More information about the tellico-users
mailing list