I have git cloned a project using git clone "url" and now I wish to look the files inside it. How am I supposed to open that project i sublime2 using mac terminal?git clone will just download the contents of the git repo locally. To open it, jus
It happens many times when we need to remove line end and unnecessary space between the HTML element. So this could be proven as a time-saving technique.open Search and replace (CTRL+H) enable "Regular Expression" (circled in red) enter \n\s+ in
All: I am pretty new to sublime( I am using ST2), I wonder if there is a plugin or shortcut that allow me to select text and add a formatted block comment like: /** * This is the comment. * */ I only know add multiLine comment with CTRL+/, but for ab
I have a log file in Sublime Text, with entries that look like the following: 51.255.65.70 - - [11/Apr/2016:21:55:43 +0200] "GET URL HTTP/1.1" 200 1537 How can I remove everything except the IPs? The file is too large for me to do it manually. T
Sorry for asking such basic question but I can't seem to find the answer anywhere. How can I get ST2 to write the basic html markup structure in new files?You can use the Emmet package. Installation The simplest method of installing Emmet (and any ot
Is it possible to configure the AutoFileName plugin for Sublime Text 2 to recognize TypeScript reference path attributes and allow auto-completion for other .ts files in my project? For example, if I had a file structure like: scripts models MyModel.
I want to know how to choose highlight language in Sublime text 2. For Example, when I am typing some text, and I want to use C++ language highlight, then I want to change to Java language highlight. Can this be done? Please advise! Thanks very much.
In Sublime (I'm using Sublime 3), typing after a colon causes the text 'key => "value"' to appear. This is an annoying behaviour. I merely want to indent the text after the colon. Why is this happening (it must have some key binding as a shor
So many Sublime Text 2 users get error (or) no action when they want to install any sublime text 2 package @via Package Control. When I'm clicked on Package Control: Install Package from Ctrl+Shift+P. I got this below error: There are no packages ava
I want to do multiple select and edit within a specified selection in Sublime Text 2. The following screenshot illustrates the situation: When I select "element" and press Alt + F3 (in Windows) I can simultaneously edit all instances of element.
Here is the exact error I get as I open the program: Error trying to parse settings: Expected value in ~/Library/Application Support/Sublime Text 2/Packages/Default/Preferences.sublime-settings:1:13677You can remove the comments and use a service lik
I see no option to sort the sidebar in Sublime, how can I do it? I'd like to sort if alpbabetically.There is a Sublime plugin for that, called SortTabs. It works both with Sublime Text 2 and 3. You can install it using Sublime Package Manger and then
The quest Turn this (with currHour being the current selection): var currHour = now.getHours(); into this: var currHour = now.getHours(); console.log('currHour=' + currHour); Should work also for these cases: currHour = now.getHours(); --> currHour =
I'm writing snippets that require -> to be part of the tabTrigger. However, they seem to be ignored entirely. My list of triggers disappears after the hyphen character. I know that $ can be added by escaping with a backslash, but that doesn't seem to
In Sublime Text 2 when inserting an html script tag using auto complete the cursor jumps to the end of the tag. <script type="text/javascript"></script>*CURSOR HERE* How can i modify the auto completion in Sublime so when I tab-compl
I want to use Sublime Text as log viewer. That's why I need to create tmlanguage file for highlighting of word "ERROR" (and some others). Is there any spec of tmlanguage xml, or can you give me basic example of syntax-highlighting file for subli
When running my python3 script from Sublime Text 2, the following error occures: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128) Furthermore, when running the same script from the terminal, the pro
While trying to write my own snippets for Sublime Text 2, I ran into the following two problems: Finding scope keys. I figured out that I can look through my packages one by one and find references to a declared "scope" property. For example in
I watched a video from YUIConf 2012 in which Douglas Crockford gives a talk about implementing monads in JavaScript. In this talk he gives a code example that utilizes what he calls "Context Coloring" which throws out the idea of coloring by lan
In sublime text 2 when you: BLOCK { <Return> It generates (where the pipe is the cursor): BLOCK { | } How can I get Vim to behave this way? I have autoindent on, and smartindent off because with smartindent it does this on return: BLOCK { |} To be m
so this is pretty much what I wanna do... I recently start using sublime text 2 as my new number 1 editor. I also want to start programming directX and I was wondering if there is way to use sublime text2 instead of Visual Studio. I was thinking of s
Is there a good tutorial on setting up SASS for Sublime Text 2 on Windows? I've been looking and I have not come up with anything.You could use the Sass build plugin (available here), and if you want to do it yourself, you can just read how the plugi
I've got myself into a bit of a problem. I left my computer at home and went to my summer home for a couple of days, when I return home and try to save files inside Sublime Text 2 I get this error: module.js:340 throw err; ^ Error: Cannot find module
Using Sublime Text 2 - Is it possible to insert a line break/text return after a specific String in a text file e.g. by using the Find ‣ Replace tool? (Bonus question: Is it possible to remove all line breaks after a specific String)Here's how you'd
Just have a quick question on how to add an alias for SublimeText to my ZSH. I've been to their site where they tell you how to do it within bash, but I don't understand how to do it within ZSH. It has been killing me, I just want to open text files
When I try to run python or any language through Sublime Text 2, all it says is [Error 2] The system cannot find the file specified [cmd: [u'python', u'-u', u'C:\\Users\\Owner\\Desktop\\RandomStuff\\python\\java\\bob.java']] [dir: C:\Users\Owner\Desk
I have two questions about the Sublime Text Editor 2. My 1st question is, I have several different .tmLanguage files ( ex: Console.tmLanguage) or .tmbundle (Ex: Handlebars.tmbundle) saved in the Packages/User folder. But it won't detect by the Sublim
I have installed Zen Coding for Sublime Text 2. It works while expanding abbreviations outside of the tags, but it does not inside those script tags (which makes sense since js is expected there). However, it would be useful while editing Handlebars
I am trying to use Sublime Text 2 as an interface to the statistics software R [update/edit: Solved!]. On Windows, I have tried the following: Installed R Tools. Turned out to be for Macintosh 64 only. Tried to program custom build file. Failed: no o
I want to set up a complete Python IDE in Sublime Text 2. I want to know how to run the Python code from within the editor. Is it done using build system? How do I do it ?Tools -> Build System -> (choose) Python then: To Run: Tools -> Build -or-