Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding a single file to Sublime Text project

Is there a way to add only one file to Sublime Text project?

The file sits in a directory with other files and directories, that should not be included in the project.

like image 235
Tzach Avatar asked Sep 08 '16 09:09

Tzach


1 Answers

Although there's no exact feature, you can add the directory and exclude all the other files and folders:

"folders": [
  {
    "path": "path/to/the/folder",
    "folder_exclude_patterns": ["**/**"],
    "file_include_patterns": ["file_to_include"]
  }
]
like image 195
Tzach Avatar answered Nov 14 '22 17:11

Tzach