sxzxs / cherry-snippet-v2 Goto Github PK
View Code? Open in Web Editor NEWSnippet management tools, if ahk python bat ...code, can be executed directly
Snippet management tools, if ahk python bat ...code, can be executed directly
ai插件显示隐藏快捷键用的F7,和TotalCommand创建文件夹快捷键冲突了,想改一下快捷键,我在ah2文件里改了,但在编译exe时报以下错误,导致程序无法启动,autohotkey版本用的官网的v2.0.2
Warning: This variable appears to never be assigned a value.
Specifically: local JSON
---- E:\cherry-snippet-v2-master\utility\Config.ah2
021: {
022: outputvar := FileRead(json_path)
▶ 023: this.config := JSON.parse(outputvar)
024: }
026: {
启动时还是会提示"script not found"
Originally posted by @yinlsea in #1 (comment)
整体软件如果能做成一个压缩包或者一个exe安装就好了,然后代码放在指定文件夹内,加个脚本一键拉取、推送到github或者gitee或码云之类的平台,自动同步。
反映一个问题:
使用 ai 工具时,打开快捷键 F7 与 edge 最新版有冲突。
虽然可以在 edge 里关闭该快捷键,但貌似dge存在 bug,无法真正关闭它或只是假关闭。
因此,现在打开 ai 工具主界面有些困难,需要按多次 F7 才有可能打开
(来自小众)
全新安装,尝试运行cherry-snippet.ah2
时,无法正常运行,报错如下图
Error: Call to nonexistent function.
---- D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\Lib\TextRender.ahk
033: this.style1 := ""
034: this.style2 := ""
▶ 037: dpi := DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr")
038: If !(this.hwnd := this.CreateWindow(title, style, styleEx, parent))
039: Throw Error("Max threads reached. Set #MaxThreads to a higher limit.")
The current thread will exit.
Call stack:
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\Lib\TextRender.ahk (37) : [DllCall] dpi := DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr")
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\Lib\TextRender.ahk (37) : [TextRender.Prototype.__New] dpi := DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr")
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\Lib\TextRender.ahk (16) : [Object.Call] Return super()
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\Lib\TextRender.ahk (16) : [TextRender.call] Return super()
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\cherry-snippet.ah2 (77) : [main] g_tr := TextRender()
D:\Dropbox\Technical_Backup\warehouse\cherry-snippet-v2\cherry-snippet.ah2 (61) : [] main()
> Auto-execute
环境:Win7 x64,AutoHotkey v2.0.2
我不知道是否与这个有关,使用DirectX Repair检测C++组件时,如下图,2005 2008 2010都检测失败,且用 DirectX Repair 无法修复成功,原因未知:
有什么解决办法吗?
大佬,后台基于CherryTree,感觉把整个软件搞得好重。
既然支持用WebView2预览了,能不能参考[snips] https://github.com/ethanpil/snips , 直接用文件夹的方式管理Snippets, 即把Snippets 按 Language\Snippet
放到不同目录下。
这样要用CherryTree管理Snippets 的用户,可以在打开CherryTree时,导入对应的Snippets 。
不同CherryTree的用户,也可以灵活的用其他软件来管理Snippets , 并且还能使用cherry-snippet-v2的功能
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.