CherryTree as Snippet Keeper

Discuss features, issues, about Editors for AHK
User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

CherryTree as Snippet Keeper

Post by BGM » 09 Apr 2019, 10:22

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?

User avatar
SL5
Posts: 879
Joined: 12 May 2015, 02:10
Contact:

Re: CherryTree as Snippet Keeper

Post by SL5 » 11 Apr 2019, 06:04

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 .


User avatar
oldbrother
Posts: 273
Joined: 23 Oct 2013, 05:08

Re: CherryTree as Snippet Keeper

Post by oldbrother » 31 Aug 2019, 22:41

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 309 times

User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: CherryTree as Snippet Keeper

Post by BGM » 03 Sep 2019, 11:06

Thanks, oldbrother, I'll try it out! I've been using CodeBank for ages.

User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: CherryTree as Snippet Keeper

Post by BGM » 06 Sep 2019, 10:37

@oldbrother Thanks for the syntax scheme. How do you like CherryTree as a snippet-keeper?

User avatar
oldbrother
Posts: 273
Joined: 23 Oct 2013, 05:08

Re: CherryTree as Snippet Keeper

Post by oldbrother » 07 Sep 2019, 08:48

It's very good. I am also using it as a regular note book.
Actually, I think it's the best!

User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: CherryTree as Snippet Keeper

Post by BGM » 11 Sep 2019, 21:12

@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:

need4speed
Posts: 143
Joined: 22 Apr 2016, 06:50

Re: CherryTree as Snippet Keeper

Post by need4speed » 05 Dec 2019, 17:14

@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.

User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: CherryTree as Snippet Keeper

Post by BGM » 07 Dec 2019, 11:34

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.

User avatar
rediffusion
Posts: 58
Joined: 15 Mar 2019, 05:16

Re: CherryTree as Snippet Keeper

Post by rediffusion » 17 Dec 2019, 09:26

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.

need4speed
Posts: 143
Joined: 22 Apr 2016, 06:50

Re: CherryTree as Snippet Keeper

Post by need4speed » 17 Dec 2019, 16:47

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 :)

User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: CherryTree as Snippet Keeper

Post by BGM » 18 Dec 2019, 10:19

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.

User avatar
haichen
Posts: 631
Joined: 09 Feb 2014, 08:24

Re: CherryTree as Snippet Keeper

Post by haichen » 19 Dec 2019, 04:06

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.

kazhafeizhale
Posts: 77
Joined: 25 Dec 2018, 10:58

Re: CherryTree as Snippet Keeper

Post by kazhafeizhale » 16 Nov 2022, 23:03

I used cherry tree to write a program called cherry-snippet that manages my snippets and executes automated commands in all scripting languages

Post Reply

Return to “Editors”