Git Product home page Git Product logo

cherry-snippet-v2'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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cherry-snippet-v2's Issues

AI插件快捷键与TotalCommand快捷键冲突问题

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

问下能不能加个一键同步/备份的功能?

整体软件如果能做成一个压缩包或者一个exe安装就好了,然后代码放在指定文件夹内,加个脚本一键拉取、推送到github或者gitee或码云之类的平台,自动同步。

ai工具打开快捷键f7跟新版的edge冲突

反映一个问题:

使用 ai 工具时,打开快捷键 F7 与 edge 最新版有冲突。
虽然可以在 edge 里关闭该快捷键,但貌似dge存在 bug,无法真正关闭它或只是假关闭。

因此,现在打开 ai 工具主界面有些困难,需要按多次 F7 才有可能打开

(来自小众)

无法正常运行:Error: Call to nonexistent function

全新安装,尝试运行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 无法修复成功,原因未知:
image

有什么解决办法吗?

能否用文件夹的方式去管理snippets

大佬,后台基于CherryTree,感觉把整个软件搞得好
既然支持用WebView2预览了,能不能参考[snips] https://github.com/ethanpil/snips , 直接用文件夹的方式管理Snippets, 即把Snippets 按 Language\Snippet 放到不同目录下。
这样要用CherryTree管理Snippets 的用户,可以在打开CherryTree时,导入对应的Snippets 。
不同CherryTree的用户,也可以灵活的用其他软件来管理Snippets , 并且还能使用cherry-snippet-v2的功能

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.