Shiwei Wang

Results 19 comments of Shiwei Wang

- 可以通过改进现有的go工具链来支持cgo,就如在编译带cgo的程序时加了`go build -v -x`参数时输出的详细编译链接步骤那样 - 另一个更简单的应该是直接用`go build`来编译,只不过给这个命令设置好相应的CGO相关的环境变量,如`CGO_CFLAGS/CGO_LDFLAGS` ``` add_rules("mode.debug", "mode.release") add_requires("zlib") target("xmake-go") set_kind("binary") add_files("src/*.go") add_packages("zlib") ``` src/main.go ``` package main // #include import "C" func main() { println(C.Z_OK) }...

The similar solution can be apply to `mhtml-mode` too. ``` (add-to-list 'editorconfig-indentation-alist '(mhtml-mode js-indent-level css-indent-offset sgml-basic-offset)) ```

- code, [simplify.zip](https://github.com/locationtech/jts/files/8309216/simplify.zip) - args, `-f qiantangjiang.wkt -iz 4 --preserve-topo=true`, or `-f qiantangjiang.wkt -iz 4 --preserve-topo=true -sort-lines` - modified TopologyPreservingSimplifier.java ``` public Geometry getResultGeometry() { // empty input produces an...

I have create a test repo to trying to mock electron dialog like `spectron-fake-dialog` does, but failed. Does not work, but returned `mocked` is true. https://github.com/wsw0108/electron-playwright-test/blob/master/test/test.js#L74-L81 This `console.log` does not...

@Daveiano I have found the fail cause, it's the async thing of electron ipc. The mock works actually.

Based on spectron-fake-dialog, I wrote a little library to fake electron dialog for playwright/electron, https://github.com/wsw0108/playwright-fake-dialog

@MikeJerred Elegant solution. Can I use your idea to update my repo?

https://github.com/wsw0108/electron-playwright-test/blob/e3c6ff53d9d71360270ddd37305b188b8273d2c5/app/main/index.js#L43 using 0.1.0 needs above lines in your electron main.js. If you use html input, just use filechooser from playwright.

I have same problem with ST/4084 and LSP/1.0.10. My reproduce steps: 1. input 'http' 2. input '.' 3. only show completion list with two items. If above steps can not...