![]() More documentation about Sublime packages here ( archive link). OS X: ~/Library/Application Support/Sublime TextĪccording to this, if Sublime 4 is installed on top of Sublime 3, it uses the ST3 directory.In full installations, it is one of the locations indicated above." Sublime 4įor Sublime 4, when cleanly installed, the locations are the following: Note that the Data directory only exists with that name in the portable version. Here, Application refers to the directory to which you’ve extracted the compressed portable files and where the executable resides. Start typing LaTeXTools and when you see it, select it. This will bring up a quick panel with a list of installable plugins. Type 'install' in the Command Palette input box, which should autocomplete to 'Install Package Control'. Once, you have Package Control installed, launch the Command Palette by pressing Ctrl+shift+p (Windows / Linux) or +shift+p (OS X) and select the Package Control: Install Package option. Open the Command Palette: Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (OS X). ![]() This information is available here ( archive link).įor the portable version the documentation above states: "If you’re using the portable version (Windows only), look for Application/Data. Install Pretty JSON packages via CMD + SHIFT + P > Install package > Search for Pretty JSON and install. OS X: ~/Library/Application Support/Sublime Text 3.Sublime 3įor Sublime 3, the locations are the following: This information is available here ( archive link). OS X: ~/Library/Application Support/Sublime Text 2.That directory should be on these locations: It’s a monument to engineering, and it incorporates almost everything in the API.According to the documentation, in Sublime 2, the package directory is located under the data directory. If you want to get really serious, check out GitSavvy, one of the best packages for ST3. Checking out this package is a good way to learn more about ST’s developer API. Update: I recently wrote Requester, an HTTP client built on top of Requests. People searching for your package will see the latest release. If you need to update your package, push another tag to your package’s repo to create a new release. Once you’ve worked through any issues your package may have, and everything looks good to the maintainers, they will merge your pull request, and your package will be available on Package Control. ![]() The Package Control maintainers will vet your package and give you feedback. When someone searches for your package by invoking Package Control: Install Package, the description will be pulled from your repo, so make sure to give your repo a sensible, succinct description. Release a Versionīefore you submit your pull request to package_control_channel, make sure you have pushed at least one semver compliant tag to your package’s repo. You can download and run this tool yourself, or you see a list of such errors in the package_reviewer wiki. If it raises any errors, your package will be rejected. Open package_control_channel in Sublime Text and run ChannelRepositoryTools: Test Default Channel from the command palette.Īlso, be aware that a tool called package_reviewer will be run against your package. To make sure you pull requests for package_control_channel is valid, install the ChannelRepositoryTools package. ChannelRepositoryTools and package_reviewer Including “sublime” in the package name adds noise and makes it less likely that people will think you are a h4x0r. ![]() All Sublime Text packages are obviously, well, Sublime Text packages. Because you can name your package’s GitHub repo anything, you might choose to give it a name that alludes to the fact it’s a Sublime Text package, like sublime-, but don’t include any variation of “sublime” in your actual package name. Package Control recommends you use camel case or underscores in your package name. ![]() The name field will be the name of your package on Package Control, regardless of the name of your GitHub repo or the top-level module that runs your package. The details field must point to your package’s GitHub repo. The above config indicates your package works for all platforms and all versions of Sublime Text. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |