I have a problem with settings a build system to sublime text

Viewed 21

I've created a build system, which I can't see when going to tools > build system. I saw at file explorer that There aren't any packages downloaded (hope that's helpful). I'm trying to learn makefile with cpp, as part of an tutorial.

1 Answers

The build system file needs to be saved in your Packages/User directory, and with the .sublime-build extension. The Packages directory is the one opened when selecting Preferences → Browse Packages… (macOS: Sublime Text → Preferences → Browse Packages…):

  • Linux: ~/.config/sublime-text-3/Packages or ~/.config/sublime-text/Packages
  • macOS/OS X: ~/Library/Application Support/Sublime Text 3/Packages or ~/Library/Application Support/Sublime Text/Packages
  • Windows Regular Install: C:\Users\YourUserName\AppData\Roaming\Sublime Text 3\Packages or C:\Users\YourUserName\AppData\Roaming\Sublime Text\Packages
  • Windows Portable Install: InstallationFolder\Sublime Text 3\Data\Packages or InstallationFolder\Sublime Text\Data\Packages

The exact path depends on version and whether or not you upgraded from Sublime Text 3.

Please note that if you start your build system by selecting Tools → Build System → New Build System…, then hit Save when you're done, it will automatically save in Packages/User.

Related