corvofeng

Results 10 issues of corvofeng

VSCode的行为很奇怪: 针对有prefix的代码片段, 因为我们调用编辑器做了一次修改, 将原始的prefix删除了, 具体代码见: https://github.com/corvofeng/Vsnips/blob/eb2e0d7559572d40055a9033390851ec211d8cb1/src/script_tpl.ts#L294 ```javascript if (prefix !== "") { const editor = vsContext.getActiveEditor(); if (editor !== undefined) { const startPos = new Position(vsContext.position.line, 0); const endPos =...

下面是all.snippets中的一个片段 ``` snippet todo "TODO comment" bw `!p snip.rv=get_comment_format()[0]` ${2:TODO}: $0${3: } `!p snip.rv=get_comment_format()[2]` endsnippet ``` 片段中比较重要的部分就是:`!p snip.rv=get_comment_format()[0]` 该模板需要被分为两部分解析: `get_comment_format`,与`[0]` 其中, `get_comment_format`用于获取当前源代码的注释方式, 需要在补全时方能知道

https://github.com/connorferster/handcalcs 这是一个将Python中手写的表达式转换成latex的库, 是否可以写一个类似的库, 将任意文档中的手写表达式转换为Latex语句

https://mp.weixin.qq.com/s/8s_esHNbTG53oG9-UI4A8A

![Peek 2020-05-17 15-51](https://user-images.githubusercontent.com/12025071/82138868-41fe0f80-9856-11ea-92c1-9ec2a5ebbec2.gif)

相关的进度放在此处, 请大家参阅. https://taiga.yjzq.fun/project/corvofeng-vsnips/ ![image](https://user-images.githubusercontent.com/12025071/72246788-7a82a800-362e-11ea-8d34-334e3150a0b4.png)

![Peek 2019-08-03 20-54](https://user-images.githubusercontent.com/12025071/62412148-14cad280-b631-11e9-8d9c-01a65a2550ef.gif) ![Peek 2019-08-03 21-36](https://user-images.githubusercontent.com/12025071/62412552-19928500-b637-11e9-8335-dfe3f0ca0688.gif)

In tornado.BaseStream.__init__, The `io_loop` argument (deprecated since version 4.1) has been removed. Signed-off-by: corvofeng

When I passed `{hello: '1'}`, the hello's value should be a string '1' not a number 1, but code will give this: ``` ------------------------ TESTING: { hello: '1' } OUTPUT:...