corvofeng
corvofeng
Signed-off-by: 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

相关的进度放在此处, 请大家参阅. https://taiga.yjzq.fun/project/corvofeng-vsnips/ 
 
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:...