When searching, VS Code has the ability to list files to include to scope the search. This is used by default when using the "find in folder" feature. For example, searching src
results in ./src
as the files to include.
Is there a syntax I can use to list multiple directories here? For example, I want to search ./src
and ./lib
in one search.
答案 0 :(得分:9)
答案 1 :(得分:0)
顺便说一下,这是“要包含的文件”的文档:https://code.visualstudio.com/Docs/editor/codebasics#_advanced-search-options
尤其是,您可以使用全局符号。另外,如果您仍然看到意外的行为,则VS Code将默认包含/排除某些目录或文件,具体取决于您的Text("Email", style: TextStyle()), <-- use custom Text widget
TextFormField(
decoration: InputDecoration(
//labelText: "Email", <-- do not use this
//labelStyle: TextStyle(), <-- do not use this
hintText: "Please enter your email",
hintStyle: TextStyle(),
)
)
。