Page 1 of 1

CherryTree as Snippet Keeper

Posted: 09 Apr 2019, 10:22
by BGM
Recently, I have been considering this program called CherryTree:
https://www.giuspen.com/cherrytree/

It is a regular notebook application - a tree with nodes where you store text, richtext, and can do automatic syntax highlighting and formatted codeblocks. It looks like a great snippet keeper. It doesn't have a syntax entry for autohotkey, though (like so many others), but maybe one can be made for it.

Here is a thread about syntax colouring for autoit:
https://www.giuspen.com/topic/syntax-highlighting-for-autoit/

Have any of you tried this?

Re: CherryTree as Snippet Keeper

Posted: 11 Apr 2019, 06:04
by SL5
I haven't tried it yet. It looks like a lot of Work. And certainly can do a lot, too. there so many snippet keeper out there. right?
Maybe you can somehow tie it directly to AhkStudio .

Re: CherryTree as Snippet Keeper

Posted: 12 Apr 2019, 10:11
by BGM

Re: CherryTree as Snippet Keeper

Posted: 31 Aug 2019, 22:41
by oldbrother
I roughly created a syntax highlighting file by modifying c.lang.
It works for me.
Extract AutoHotkey.lang to folder CherryTree\share\gtksourceview-2.0\language-specs.
AutoHoykey.zip
(6.6 KiB) Downloaded 498 times

Re: CherryTree as Snippet Keeper

Posted: 03 Sep 2019, 11:06
by BGM
Thanks, oldbrother, I'll try it out! I've been using CodeBank for ages.

Re: CherryTree as Snippet Keeper

Posted: 06 Sep 2019, 10:37
by BGM
@oldbrother Thanks for the syntax scheme. How do you like CherryTree as a snippet-keeper?

Re: CherryTree as Snippet Keeper

Posted: 07 Sep 2019, 08:48
by oldbrother
It's very good. I am also using it as a regular note book.
Actually, I think it's the best!

Re: CherryTree as Snippet Keeper

Posted: 11 Sep 2019, 21:12
by BGM
@oldbrother Say, tell me how you are using it and why you like it so much. I find it interesting, but there is a feeling of "unconventional-ness" about it that I find uncomfortable.

Here are a few things I don't like:
  • 1. Why does anybody need a full always-available menu for import? That should be in a submenu (or dialogue) in the file menu.
    2. Export menu should be a submenu under File.
    3. No way to get custom icons in the tree instead of mostly cherries (yeah, yeah, cosmetics).
    4. No Easy way to adjust the syntax scheme formatting/colours.
    5. The tree could be more compact.
Wish list:

Re: CherryTree as Snippet Keeper

Posted: 05 Dec 2019, 17:14
by need4speed
@BGM I feel the same, I ditched Cherrytree for the same reasons.
IMO the main problem with software supporting multiple OS is the look & feel,
deviating (not using) native Windows controls API & coding recommendations, simply feels awkward.

Re: CherryTree as Snippet Keeper

Posted: 07 Dec 2019, 11:34
by BGM
I've always had that feeling about Java desktop applications, too. Never felt quite right. Or "metro" enforced apps on Windows 7 which won't allow the system's scheme.

Re: CherryTree as Snippet Keeper

Posted: 17 Dec 2019, 09:26
by rediffusion
My observations:

Minus-
Also, people recommended ··· «Zim»
Problem with encoding if the text is cyrillic.
Drag-n-Drop not working.

Plus+
Infinite nesting...
Well-thought-out search.
Using an anchor.
Using tags.

---
I've decided to drop it, too.

Re: CherryTree as Snippet Keeper

Posted: 17 Dec 2019, 16:47
by need4speed
anyone using OneNote? OneNote is fantastic, has the looks and features e.g. OCR. The problem is syntax highlighting though,
while there is a plugin for c++ and sorts, I prefer not to install any addins.

Looking for work-arounds I found "CoolFormat Source Code Formatter" which supports AHK, but now the source code has first to be pasted into it,
then after applying color formatting its copied via the clipboard to OneNote. Well this task could be automated to work in the background, feel free to post the code here :)

Re: CherryTree as Snippet Keeper

Posted: 18 Dec 2019, 10:19
by BGM
I'm still using CodeBank. Here is a copy I have on my GoogleDrive, since I don't think the original site exists anymore. It doesn't support ahk syntax either - I've been using the javascript syntax just to have *some* highlighting, but it is the best snippet-keeper I've known and I've never found a good replacement.

Re: CherryTree as Snippet Keeper

Posted: 19 Dec 2019, 04:06
by haichen
I used to mostly use the Scriplet utility of Scite4AutoHotkey. Now I've tried CherryTree a couple of times and find it a bit old-fashioned. After some searching I didn't find an offlinetool that offers something similar. https://github.com/lauthieb/code-notes looks nice (you can save the code in Gist), but has no syntax highlighting for autohotkey.

I find DECS https://app.decs.xyz/ interesting, but it is cloud based. Syntax highlighting is there. But if this is especially for AutoHotkey I couldn't see yet. The whole thing is stored encrypted end to end. It says there anyway. You can also use it as a diary :-) and store your passwords. I probably wouldn't do that. It's free.

Re: CherryTree as Snippet Keeper

Posted: 16 Nov 2022, 23:03
by kazhafeizhale
I used cherry tree to write a program called cherry-snippet that manages my snippets and executes automated commands in all scripting languages