Also GitGutter's features are not working (icons not showing up).
I am new to SublimeText 2, I did install Package Control 2 and set Git/bin/ to PATH in variables in Windows 8 and it works on command line.
If you look at SideBarGit's page on the Package Control website, you'll see that it's for Sublime Text 3 only.
Related
I have installed Sublime Text 2. I did as shown in the image. It is supposed to have Preferences -> PackageControl. But its not there.
I have tried many times to install and uninstall, but control package is not there. Is there anyone can help me out of this?
Thanks in advance.
I installed the Soda Theme on Sublime Text 3 on OSX and I was wondering where are the actual files and folder to the theme that way I could look at the theme file and make my own edits to it, along with I would like to adjust a few of the images used in the theme.
On the Git documents it says if you are to manually install Soda on Sublime you place the soda folder in the package directory, although when I install Soda via Control Package I don't see the Soda theme in package directory.
Unless explicitly designated to not use it, most packages for Sublime Text 3 use the .sublime-package format (essentially a zip file). These packages are stored one directory up from the Packages folder, in Installed Packages. If you want to work with them, I highly recommend getting the PackageResourceViewer plugin by #skuroda. Install it via Package Control.
Once installed, open the command palette with ⌘⇧P and type prv to get the PackageResourceViewer options. Choose Extract Package, navigate down to Theme - Soda, hit Enter, and you're all set - the directory Packages/Theme - Soda should now exist with all the files from the Github repo in it. The .sublime-theme files will probably be the ones you're most interested in for now.
Have fun!
This answer is similar to the accepted solution, but with little more steps if it is not working out of the box. This might help someone if they are stuck with an issue which I have described in one of the below steps.
install PackageResourceViewer using Package Control
Go to Preferences->Package Settings->PackageResourceViewer->Setting-User. copy paste the following 3 lines,save and close it.
{
"single_command": false
}
press Ctrl+shift+p to open Package Control and select PackageResourceViewer: Edit Package Resource from the list. Find the package you want to edit and click on it. In my case, I want to edit a theme which is installed via ColorSublime Package, So I selected that theme.
Now you will see that the selected package file opened in the sublime editor itself. Edit it as you want and save it and close it. The changes should reflect in sublime editor. In my case, since I changed the theme I need reload it. So I continued with the following steps too.
go to view menu select 'Show Console' and run following command to reset the theme.
view.settings().erase("color_scheme")
open Preferences->Settings and delete the "color_scheme" attribute and its value from the settings file and close it. Again select the color theme from Preferences->Color scheme. Now you should able to see the changes reflected which you made in the theme package.
Hope this helps!
You can do it as follows.
Extract Soda theme from the Sublime Text 2 ~/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default folder
In Sublime Text 3, Select Sublime Text / Preferences / Browse Packages ...
Create a folder adjacent to the Users folder called THEMES.
Drop all themes you want from Sublime Text 2 (including Soda theme or any other themes) from the folder ~/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default into your ~/Library/Application Support/Sublime Text 3/Packages/THEMES folder from Sublime Text 3.
Edit the XML in the theme you want to use.
Back in Sublime Text 3, select Sublime Text / Color Schemes / THEMES / YourTheme.tmTheme to use it.
I want to switch from Coda 2 to Sublime Text 2. The only reason I'm stuck in Coda 2 is my long collection of clips of my own.
Any idea on how to convert the clips from Coda to snippets for Sublime Text?
There is an OSX tool called clips2snippets that will help converting your Coda 2 clips into Sublime Text snippets.
Once you have it installed, just run:
clips2snippets gen HTML.clips
Replace HTML.clips with your current clips.
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory
Run this in terminal and clip2snippets will be installed without any error:
sudo gem install clips2snippets
I was trying some plugins on my Sublime Text yesterday and today I noticed that some commands were missing form my command palette window, namely:
New file into view (Not "new view into file", that one is still there)
Open in Browser as Testing Server(maybe the word "server" here is wrong)
Open in Browser as Development Server(maybe the word "server" here is wrong)
These three were really helpful to me, How can i get them back?
sublime text menu is a json PATH_TO_SUBLIME\Data\Packages\Default\Main.sublime-menu you can edit it or replace
These commands are added by a package called SideBarEnhancements. Install this package and you will get these commands back.
SideBarEnhancements on GitHub
Currently Sublime Text 2 with installed LaTeXTools bundle stumbles over Sweave/knitr code blocks. How can I tell ST to either ignore everything of the form
<<arguments here>>=
#
or, even better, to treat it as R source code?
The Sweave Textmate bundle (or at least the essential parts) will also work with Sublime Text 2. Just download the bundle from https://github.com/textmate/sweave.tmbundle and move it to the Packages directory.
There's now the SublimeKnitr bundle that's made specifically made for Sublime Text. Install from GitHub source or via Package Control.