thautwarm / Site-33

https://thautwarm.github.io/Site-33/
10 stars 0 forks source link

vscode-related #2

Open thautwarm opened 2 years ago

thautwarm commented 2 years ago

实现vscode-unitypython的两个纯种恶心点:

  1. 根据microsoft python extension选择的python环境,调用正确python版本的unitypython.exe (以及安装python包)
  2. 在要求为sync的callback里执行其他库提供的async操作。 以正常途径能解决的恶心问题: shell escape(途径:child_process.execFile)
thautwarm commented 2 years ago

vscode current selection:

vscode.window.activeTextEditor?.selection;