Giter VIP home page Giter VIP logo

sxzxs / cherry-snippet Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 3.0 51 MB

Snippet management tools, if ahK code, can be executed directly

AutoHotkey 96.02% C# 0.11% C 0.53% HTML 2.94% JavaScript 0.17% AutoIt 0.01% Shell 0.01% Batchfile 0.01% C++ 0.01% FreeBasic 0.07% Java 0.01% PHP 0.01% Pascal 0.07% Python 0.01% Visual Basic .NET 0.05% VBScript 0.01% XSLT 0.01%
autohotkey cherrytree imgui snippet

cherry-snippet's Introduction

请更新到最新版本:https://github.com/sxzxs/cherry-snippet-v2

功能介绍

  • 借助cherrytree作为代码片段工具

  • 通过设置关键字检索文本,文本可以预览并复制到粘贴板。如果文本是ahk,python,bat等脚本则可以执行

  • 检索支持拼音首字母、全拼等

  • cherrytree 定制版下载路径:链接:https://pan.baidu.com/s/1romeZMHpUX9SPxnD5ZWtlw?pwd=2hpl 提取码:2hpl

使用说明:

1、打开 cherry-snippet.exe

2、选择 cherrytree.exe的路径

3、选择 cherrytree 数据文件 .ctb路径

4、默认shift+enter执行搜索, shift+space hook搜索

5、cherrytree定制版支持搜索后快速跳转,默认快捷键是ctrl+c

6、html预览,需要配置html导出路径

默认按键使用说明

  • 打开搜索框 shift+enter
  • 执行命令 enter
  • 命令面板编辑命令 alt+c
  • 复制结果,再次执行shift+enter
  • 发送文本到窗口 ctrl+enter
  • 编辑当前命令 ctrl+e
  • hook 输入法模式 shift+space

其他支持的脚本语言执行

  • bat 脚本开头 ::bat
  • python 脚本开头 #py
  • ahk v2 脚本开头 ;v2

TODO

  • 配置界面dx11依赖项内置

其他链接

https://www.youtube.com/watch?v=jO3MFl0Vsbg

【AutoHotkey(ahk) | 中文社区】:https://jq.qq.com/?_wv=1027&k=iDG6c0qS

【ahk代码片段管理软件】:https://jq.qq.com/?_wv=1027&k=sxkummKG

image image image jks

  • 设置界面 image
  • 发送到窗口 发送到窗口
  • 复制到粘贴板 复制到粘贴板
  • hook 模式 image
  • 执行ahk代码片段 执行ahk命令
  • 执行python命令 执行python代码
  • 编辑已有代码片段 编辑已有命令
  • 添加代码片段和命令 image

cherry-snippet's People

Contributors

sxzxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cherry-snippet's Issues

新版本真好。

刚想在SUPER那边反馈,有没有可能改进命令编辑器,就看到这个引入 Cherrytree 的版本。真好。辛苦了。
1,可否如 SUPER 一样支持直接搜索中文呢?
2,原 SUPER 的 超级命令.xml 怎么快递的导入到 cherry-snippet 里面。
谢谢。

是否可以设置enter发送文本到窗口?

hook输入模式无法通过中文输入,这个不知从技术上是否可以支持?
在普通搜索模式中,我更多使用的功能是发送文本到窗口,ctrl + enter 按起来没有 enter来的舒服,是否可以更改掉这个设定?

一点小建议

大佬能不能增加下双击ctrl键呼出窗口,双击alt键进入hook模式呢?

运行命令报错

新建批处理节点,内容如下
:: bat
echo 测试
pause

1,新建节点时,如果选择节点类型为富文本,cherry-snippet 搜索到这个节点后执行会报错。
2,新建节点时,如果选择节点类型为纯文本,cherry-snippet 搜索到这个节点后执行,可以执行。但中文乱码。

锘?:bat
文件名、目录名或卷标语法不正确。
echo 娴嬭瘯
娴嬭瘯
3,python 和 AHK 未试。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.