Using Tellico as a Code snipplet manager
Patrick Pfundstein
patrick at monmien.com
Mon Oct 2 14:07:53 MDT 2006
>>Robby Stephenson wrote:
>>> >While I can already do this with Tellico by selecting an Entry Field,
>>>> >two important features are missing: syntax colors and automatic
>>>> >indentation ( the text often
>>>> >gets messed up during the copy/paste, and I would like to have it
>>>> >properly indented with the '{' in the same column as the '}' if you
>>>> > see what I mean).
>>>>
>>>> The cheapest way would be the integration of the kate-kpart. I think,
>>>> tellico could also gain some outliner-abilities, this would the
>>>> snipplets-managment make faster.
>> >
>>>To be frank, I'm a bit reluctant to add a field type for code snippets
>>> using a kate-part. That's rather heavy, and a very niche use case.
>> Sure, but if you add the option, to use the kate-part as an editor, or
>>better, to use the embedded editor-part of kde for this, like it should
>>be, then it's make totally sense.
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?
My point is that this feature may broaden Tellico usage and attract... développers.
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...).
>>Probably, you could combine this with some scripting-abilities.
>> > Can you explain what gets messed up on copy/paste? Maybe there's an easy
>> > way to make sure the clipboard doesn't lose formatting info.
>>This part is not from me ;)
No Daniel, I guess I will have to answer that one ;)
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.
However, the color syntaxing, code folding features (just to name my favorite features) would still not be present.
>> mfg
>> Daniel
So what are you using folks as a code snippet manager? ;)
Keep on the good work!
Patrick
More information about the tellico-users
mailing list