简体   繁体   English

有没有一种方法可以检测在vscode中拖动了什么文件?

[英]Is there a way could detect what file be dragged in vscode?

I wanna write a VScode extension could detect what file be dragged into the TextEditor. 我想编写一个VScode扩展名,可以检测将哪个文件拖到TextEditor中。

Does anyone know which vscode api I can use? 有谁知道我可以使用哪种vscode API?

As of VS Code 1.29, there is no API for this. 从VS Code 1.29开始,没有针对此的API。

The feature request is being tracked here 此处跟踪功能请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM