23

Ok this is very trivial question, but just cannot find answer anywhere.

I know there must be a JSON file with all the build systems somewhere, but I just cannot find it?

mklement0
  • 382,024
  • 64
  • 607
  • 775
galdikas
  • 1,609
  • 5
  • 19
  • 43

4 Answers4

24

Here is the doc on ST2 build systems

The Ruby build file, for instance, is located here:

~/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build

AGS
  • 14,288
  • 5
  • 52
  • 67
  • 17
    You shouldn't edit the default, but instead make a copy in your User preferences. This will supersede the default, and be retained as you upgrade Sublime. – dbn Dec 17 '12 at 07:36
  • 1
    but what should I doing with long list unnecessary default build systems? – vp_arth Mar 28 '14 at 13:47
  • 1
    **See:** [**This Answer**](http://stackoverflow.com/a/37177400/4955183) for an easy way to edit default files without overwriting them. ( *as mentioned in the first comment on this answer* ) – Enteleform May 12 '16 at 04:41
12

Mac:

Preferences ► Browse Packages will open the finder window where all the foo.sublime-build files are stored.

Build sys scripts you have created yourself should be in:

/Users/YOURUSERNAME/Library/Application Support/Sublime Text 3/Packages/User/

Rowe Morehouse
  • 4,451
  • 3
  • 28
  • 28
3

As dbw said, basically you should make a copy of default setting file to your User folder and edit it to override default one. And on ST3 most default setting files are packaged, use PackageResourceView will make your work easier.

For example edit default ST3 python buid setting on Windows:

  • ctrl+alt+p, type "prv" and select "open" to call PackageResourceView's open.
  • select "python" > "Python.sublime-build"
  • notice default file path is "...\Sublime Text 3\Packages\Python\Python.sublime-build", so create a user copy to Users "\AppData\Roaming\Sublime Text 3\Packages\Python\Python.sublime-build" and edit it.
visitantz
  • 161
  • 2
  • 8
1

In sublime use this step

Tools -> Build System -> New Build System

Than a new build file will be opened . On saving this file , sublime will prompt the file dialogue option to save the file . Than you can see the location where sublime saves all the native build files . From this location you can edit the existing native build files .

ip_x
  • 172
  • 2
  • 6