Ignore a folder in search results

前端 未结 7 2151

I\'m searching for a string and getting matches in a source folder, and a build folder (file in source gets copied to build during build).

I do not need the build fo

7条回答
  •  心在旅途
    2020-12-22 23:52

    Excluding files and folders from projects

    Article last modified: 08 June 2020

    • Mark a file as plain text
      1. In the Project tool window, select the desired file.
      2. From the context menu of the selection, choose Mark as plain text:

    • Exclude files and folders by name patterns

      1. In the Settings/Preferences dialog Ctrl+Alt+S, click Directories .
      2. In the Exclude files field, type the masks that define the names of files and folders to be excluded, for example, *.min.js or lib. Use semicolons as separators.
        • If the name of a file matches any of these patterns, the file is treated as excluded.
        • If the name of a folder matches a pattern, all the files in this folder and in its subfolders are excluded.


    Source: https://www.jetbrains.com/help/phpstorm/excluding-files-from-project.html

提交回复
热议问题