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:

4056 questions
2
votes
2 answers

How do I get Sublime Text 2 to work with Ruby on Rails?

I'm new to Ruby on Rails. Here’s what I’ve done so far: I’ve installed XCode, Homebrew, RVM, Ruby and Rails. Now how do I get Sublime Text 2 to work with Ruby on Rails?
LuisW
  • 29
  • 1
  • 2
2
votes
1 answer

Sublime Text 2 (OSX) lags when editing a remote file

When I first start editing a file in SublimeText 2 remotely (hosting a git repo on a VirtualBox-ed copy of Ubuntu) saves are speedy as expected. After having the file/connection open for a while it starts to lock up every time I save, forcing me to…
KhalilRavanna
  • 4,679
  • 3
  • 22
  • 23
2
votes
1 answer

SublimeText - sort json list alphabetically

I have a json formated list of countries and their ISO codes: . . {"cod":"NC", "nombre":"Nueva Caledonia"}, {"cod":"NE", "nombre":"Níger"}, {"cod":"NF", "nombre":"Islas Norkfolk"}, {"cod":"NG", "nombre":"Nigeria"}, {"cod":"NI",…
Albert Prats
  • 736
  • 4
  • 15
  • 31
2
votes
1 answer

Sublime Text 2 Ctrl+P doesn't work

Why Sublime Text 2 Ctrl+P doesn't work on some projects while it works on other projects? Thanks for skuroda's tips, the log in console after hitting ctrl+p is as folows: command: show_overlay {"overlay": "goto", "show_files": true} Unable to auto…
feisky
  • 1,443
  • 3
  • 12
  • 16
2
votes
2 answers

ScriptCS with Sublime

I'm getting the exception in Sublime: Unbehandelte Ausnahme: [Decode error - output not cp1252] by running this code: Console.WriteLine("fsdfsd") I installed Sublime Text 2 and 3 by installer and scriptcs by Chocolatey. Then I added a file with…
user278618
  • 16,934
  • 41
  • 117
  • 192
2
votes
1 answer

What is the use case of marks?

Both Sublime Text 2 and VIM have a feature called marks. However, I've not been able to find a use case for it. It feels like everything you can do with it can also be done with other things, often even better. So the question is: what is the use…
Chiel ten Brinke
  • 12,091
  • 12
  • 60
  • 104
2
votes
2 answers

Boundary sensitive Cmd+D in Sublime Text

I'm using Sublime Text 3 on OSX. Using cmd + D, I want to select the next instance of es but not if it's part of another word Given this code I select the first instance of es and see this Perfect! However, when I tap cmd + D a couple times, it…
maček
  • 69,649
  • 33
  • 159
  • 193
2
votes
2 answers

Make sublime text recognize .block filetype as a .html file

I have been working with SquareSpace. The developer mode allows you to customize some of their files which consist of filetypes like, .block, .region, wtc. However, they are just html files with json-t scattered throughout. Is there anyway I can…
Ricky Mason
  • 1,750
  • 4
  • 29
  • 58
2
votes
1 answer

When using sublime text 2, how can I have the built executable run in terminal?

I am using sublime text under Ubuntu. As every sublime text user knows, we can build from a .cpp file in sublime using Tools->Build, and run it using Tools->Run. This is really convenient! The problem is the executable can only run inside a local…
duleshi
  • 1,796
  • 2
  • 19
  • 32
2
votes
1 answer

Ubuntu strange encoding issues using sublime text 2

I'm running ubuntu 13.04 64bit, using sublime text 2 writing PHP. I sometimes seem to get the following error: Parse error: syntax error, unexpected 'Â ' (T_STRING) in /home/afflicto/public_html/html/HTML.php on line 10 It is solved by removing the…
Petter Thowsen
  • 1,577
  • 1
  • 16
  • 24
2
votes
1 answer

sublime text 2 dart build error

I have configured sublime text 2 according to this video from Dart site. I have added this "dartsdk_path": "/home/green/dart/dart-sdk", to the Preference -> Setting-user. The syntax highlighting and and line indention works perfectly. But when i…
sgetachew
  • 331
  • 1
  • 2
  • 12
2
votes
0 answers

Sublime Text: view tasks in namespace within Ruby code

Sublime Text does a great job of showing methods available within a file (Cmd R) however it doesn't seem to be able to show a list of the task statements within a namespace. Any suggestions on how you do this?
Snowcrash
  • 66,400
  • 60
  • 203
  • 323
2
votes
1 answer

Where is the module sublime_api?

Some ST2 plugins have references to module sublime_api in their Python files. I've found such text in several github.com projects. What is this sublime_api module? Where can I see it and/or where does it come from? Maybe it's somehow sitting in…
Prog1020
  • 3,938
  • 6
  • 25
  • 58
2
votes
1 answer

What does the orange color marker mean in Sublime text2?

This is the screenshot of the orange color marker in Sublime text2. Best regards.
Jack Hu
  • 1,135
  • 2
  • 9
  • 23
2
votes
0 answers

Sublime Text 2 mac in vintage mode: recorded macro only works once

I use q to record macro to 1 then use @1 to invoke the macro. The macro basically works once and after that @1 does nothing. However, even when @1 is not working, I can still use the default hotkey ctrl+shift+q to replay the macro.
AZ.
  • 6,663
  • 6
  • 38
  • 61
1 2 3
99
100