vscode - 完全从项目

时间:2016-11-17 18:58:06

标签: typescript visual-studio-code

我在Visual Studio代码中从项目的.tmp目录中排除typescript文件时遇到问题。当通过Windows + P搜索(快速打开)时它们仍然出现,但是当按下F12以打开typescript类/方法的定义时,更令人烦恼的是VS代码转到了错误的文件。 (我有我的服务器提供的文件的副本,以便我的源映射在firefox中调试时工作)。最好我希望visual studio不知道.tmp目录是否存在。我可以将其隐藏在资源管理器视图中,但这还不够。

以下是我的问题的截图:

screenshot of search http://image.prntscr.com/image/31bb50ab35a745cd965f321da5871441.png

1 个答案:

答案 0 :(得分:1)

看看at this VSCode issue

看起来排除的文件可能来自编辑器历史记录。 This issue tracks applying search.exclude to the editor history as well