Questions tagged [sublimetext2]

DO NOT USE THIS TAG UNLESS YOUR QUESTION IS SPECIFICALLY ABOUT SUBLIME TEXT ITSELF. Do not tag your IDE or source code editor in questions about unrelated topics. Sublime Text 2 is a multi-language and cross-platform sophisticated code editor developed by Jon Skinner. Please note that version 2 is obsolete and Sublime Text 3 is now the default version. Version 4 is currently in development.

Sublime Text 2 is a multi-language, multi-platform code editor developed by Jon Skinner. Please note that version 2 is obsolete and Sublime Text 3 is now the default version. Version 4 is currently in development.

Features of Sublime Text 2:

  • Slick and Fast UI
  • A text minimap (zoomed out view of your entire file)
  • Multi-select (make changes in multiple pieces of selected text at once)
  • Goto anything (quick navigation within files and projects)
  • Snippets and macros
  • Supports plugins written in Python

TextMate snippets and themes port over nicely to Sublime Text.

Useful links:

4042 questions
2
votes
1 answer

Advance new file in sublime text 2

I have beed using Advance new file package in Sublime Text 2 and when I press shortcut for creating new file is in my main directory C\users\%name\. Is it possible (or with another package) to set path to be in folder that I'm currently at.…
IGRACH
  • 3,506
  • 6
  • 33
  • 48
2
votes
2 answers

Search and replace selectively across whole project in Sublime

I need to change occurrences of a term only in certain places in my project. Is there a way in Sublime Text to navigate the search results (across an entire project) and only replace the occurrences of my choice? ⌘ShiftF opens the "search and…
Nelu
  • 16,644
  • 10
  • 80
  • 88
2
votes
2 answers

Building Gnuplot from Sublime2 OSX

I am struggling to execute gnuplot scripts from Sublime2. Gnuplot is installed and I can execute it from Terminal (OSX). My build configuration in Sublime 2 looks like this: { "cmd": ["gnuplot"] } when Building it get the following…
N_2
  • 113
  • 5
2
votes
1 answer

Language-specific package settings in Sublime Text

How can I make a package-specific setting differ by language? It's easy to make general Sublime Text settings differ by language (e.g., I can use Python.sublime-settings to set the number of spaces to indent specific to Python). But I can't figure…
cauchy
  • 198
  • 8
2
votes
1 answer

Sublime Text - using backslash in Key Bindings

Switching from TextMate to Sublime Text I am trying to get my custom key bindings from one editor to the other. Using LaTeX and being german I am using quite a few umlauts like äöü which the usual LaTeX installations can't compile. I would like to…
sebastian
  • 478
  • 8
  • 22
2
votes
3 answers

AltGr key in Sublime Text 2 on Linux

Is it possible to bind the AltGr key in Sublime Text 2 on Linux as a modifier? In Windows one can use "keys": ["ctrl+alt+"]. How would i do this in Linux as "keys": ["altgr+"] doesn't work.
Benjamin
  • 333
  • 1
  • 2
  • 7
2
votes
3 answers

Unwrap text in Sublime Text 2

I'd like to unwrap lines so that I can turn them from lines with hard line-breaks to no line breaks. Specifically, this means that contiguous runs of lines with non-whitespace should be joined together Essentially, any \n with no whitespace on…
Alex Feinman
  • 5,393
  • 1
  • 30
  • 48
2
votes
2 answers

How to wrap selection in curly brackets in sublime text 2 with correct indentation?

Is there a way to improve Sublime text 2's curly bracket wrapping? For example, I have the following PHP code: $isThisPointless = true; $uselessString = 'Meh.'; $uselessInt = 83; Let's say I want to wrap it inside an if statement. So I go ahead,…
2
votes
1 answer

Sublime Text 2 do not prompt for new file name

I got a problem with Sublime Text 2. It is always creating new, untitled file and never prompt for name while creating. It does it for folders and I see on web tutorials that this should be default behavior also for files. Does anybody had ever…
ArturSkowronski
  • 1,722
  • 13
  • 17
2
votes
0 answers

How to display quick help for any keyword in Sublime Text 2?

Recently I used Brackets. It displays quick help on any keyword when ctrl-K is pressed. A link to the correponding doc on docs.webplatform.org is also displayed. How to achieve similar functionality in Sublime Text 2 ? Support for at least CSS and…
Aamir Rizwan
  • 827
  • 5
  • 13
  • 34
2
votes
2 answers

purpose of vertical bar in programming IDEs/Editors

In this example. I'm using Phpstorm Code Editor and I wonder the purpose of this Vertical Bar
user753661
  • 151
  • 1
  • 6
2
votes
2 answers

Sublime Text 2 Code Hinting

This is my first time with Sublime Text 2. I am trying it because people say it works best with Laravel. I have also installed some package such as Laravel Blade, Laravel Snippets, and etc. However, when I tried to play around with it, I found that…
user1995781
  • 19,085
  • 45
  • 135
  • 236
2
votes
1 answer

Sublime Text does not open Stata13 anymore after build

I recently migrated from Stata12 to Stata13 and want to keep using Sublime Text 2 for editing. I am using a Win7 System. My Stata build file in Sublime Text 2 looks like this: { "selector": "source.stata", "working_dir": "$file_path", …
johaschn
  • 123
  • 3
2
votes
0 answers

Sublimetext 2 and 3 (beta) rendering extremely slow with X-server for larger size screen

When I ssh to my linux server, that's 'CentOS release 6.2 (Final)'. And use XServer to display sublimetext. Found that both Sublimetext 2nd and 3rd (beta) render extremely slow under screen size 1024*1080, when typing or scrolling. After I…
oyjh
  • 1,248
  • 1
  • 9
  • 20
2
votes
2 answers

How do I treat spaces as tabs in SublimeText?

I want my files to be saved as 4 spaces per tab. However, when navigating through the file, I want 4 spaces to be navigated over as if it was a tab. How do I do that?
theanine
  • 986
  • 3
  • 10
  • 21
1 2 3
99
100