Sublime Text - 忽略搜索中的文件

时间:2015-07-08 12:38:46

标签: sublimetext3 sublimetext

有一种方法可以在崇高文本中从我的搜索中排除文件(javascript compresed)吗?

2 个答案:

答案 0 :(得分:6)

查找>在文件中查找...(在Windows上为Ctrl+Shift+F,在Mac上为Cmd+Shift+F

查找:string to find

其中:path/to/folder, path/to/another/folder, -*.min.js

您可以手动将逗号分隔的路径键入“Where”输入字段,也可以单击该字段右侧的...按钮以选择条件。要排除缩小的js文件,您需要添加-*.min.js

答案 1 :(得分:1)

是!

"binary_file_patterns": ["*.svg", "*.png", "*.otf", "*.pdf", "*.jpg", "*.png", "package-lock.json", "node_modules/*"] 将有效。

@Entity
@Table(name="COURSE")
public class Course {
    @Id
    @Column(name="COURSE_ID")
    @SequenceGenerator(name = "COURSE_ID_SEQ", sequenceName = "COURSE_ID_SEQ", allocationSize = 1)
    @GeneratedValue(generator = "COURSE_ID_SEQ", strategy = GenerationType.SEQUENCE)
    private int courseId;

@OneToMany(cascade = CascadeType.ALL, 
            mappedBy = "noteBatch",
            fetch = FetchType.EAGER,
            orphanRemoval = true)
    private List<NoteID> notesIds;
}



@Entity
@Table(name="NOTE_IDS")
public class NoteID {

    @ManyToOne
    @JoinColumn(name="note_course_id", nullable = false)
    private Course noteBatch;

    @Id
    @Column(name="note_id")
    private int notesId;
}