闾明

Results 23 issues of 闾明

2.0的shader代码和1.x有一些不一样,请问有2.0的修改色相的shader代码么

time.Duration will cause ( missing ',' in argument list ) error i wrote a hack and it can work well. change method gofumptFormatExpr ``` func gofumptFormatExpr(w io.Writer, fset *token.FileSet, expr...

bug
help wanted

在做单元测试的情况下, 会有一种需求是, 确定调用了某个函数,或者某个接口, 其它的mock框架基本都提供这种能力, gomonkey也可以, 但是需要一个一个的模拟, 有没有可能通过1.18的泛型, 写一个类似这样的Func结构 type Func[T any] struct { callCount int } 然后有这样的方法 MockFunc[T any](ps *Patches, f T) *Func[T] 那么对于只需要知道方法有没有调用的情况下, 就可以直接用这个通用的Mock结构, 甚至更进一步, 在Func中还可以存储调用的入参, 在单测中就可以精确的知道入参了. 我尝试着实现了一下我的想法, 但是由于我对反射理解有些欠缺,...

**Describe the feature you'd like** can always ignore some key let other app use i like to use spacefn as my keyboard interface, that is , will map to key...

**Is your feature request related to a problem? Please describe.** #249 #248 **Describe the solution you'd like** after generate main.go, before go run main.go, can add an optional process to...

**Describe the bug** i use dot report in .go file, it cant work fine. **To Reproduce** foo/foo.go content: ```go func Foo() { print(123) } ``` main.go content: ```go import ....

bug

**Is your feature request related to a problem? Please describe.** #249 **Describe the solution you'd like** if i select a function to run , if the function called other packeages...

LSP

Thank you for awesome plugin ! There are many file type such as markdown or vue etc. They has some Piece of Snippets to trigger, for example , in markdowns...

在没有填任何值的时候,slice的字段应该返回nil或者长度为0的slice,现在的实现,会返回一个[ "" ],非常不自然,且不利于编写业务逻辑 具体代码在170行: case reflect.Slice: sep := ";" s, exist := sf.Tag.Lookup("slice_sep") if exist && s != "" { sep = s } //我新加的 if ev == ""{ return...

## Prelude * Could you find answer in below documents? 1. [FAQ](https://github.com/brookhong/Surfingkeys/wiki/FAQ) / [常见问题](https://github.com/brookhong/Surfingkeys/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) 1. [README](https://github.com/brookhong/Surfingkeys/blob/master/README.md) / [读我](https://github.com/brookhong/Surfingkeys/blob/master/README_CN.md) no * Have you searched your problem in [issues](https://github.com/brookhong/Surfingkeys/issues)? yes ## Error...