Visual Studio 查找和替换具有默认文件类型 [英] visual studio find and replace has default file types

查看:51
本文介绍了Visual Studio 查找和替换具有默认文件类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何在查找和替换中删除默认的查看这些文件类型:"?在我的 VS 中,每当我告诉 VS 只查看 *.cs 或 *.less 的罕见情况时,当我打开查找和替换"时,它会预先填充我使用的最后一个.这仅在我打开 Visual Studio 后的第一次查找和替换时发生.它在第一次启动时预填充有点烦人.

Does anyone know how to remove the default "Look at these file types:" in Find and Replace? In my VS, whenever the rare occasion I tell VS to look in just *.cs, or just *.less, when I open Find and Replace, it prepopulates it with the last one I used. This only happens on my first Find and Replace after opening Visual Studio. It's kind of annoying that it prepopulates on first start up.

推荐答案

这对我有用:

  1. 转到 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find(或您需要的任何版本 - 对我来说是 11.0)
  1. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find (or whichever version you require - 11.0 for me)
  1. 找到名为 Filter # 的项目(Filter、Filter 0、Filter 1、Filter 2 等)
  2. 查找值是不正确的文件类型字符串的那个
  3. 修改该项的值为空字符串

在这里找到答案:https://connect.microsoft.com/VisualStudio/feedback/details/577602/look-at-these-file-types-field-remembers-the-value-forever

这篇关于Visual Studio 查找和替换具有默认文件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆