Sublime Text 2 is a cross-platform GUI text editor for Windows, OS X and Linux.

learn more… | top users | synonyms

0
votes
1answer
31 views

Sublime Text Editor 3 doesn't show traceback when running Python code

Yesterday I installed ST3 and installed some plugins, but I noticed that if Python has a syntax error then it shows an error. But when a statement has a non-syntax error, then it shows nothing. Like ...
0
votes
0answers
10 views

sublime text 3 vim cursor in command mode same as sublime text 2

In sublime text 2 in preferences, even though it is not mentioned, you can set caret_style to wide and when in command mode it will only underline the character that you are currently on. In sublime ...
0
votes
2answers
40 views

Safe redo (Ctrl-Y)

In ST (Sublime Text for short) the redo action works very strange and inconvenient way, from my point of view. First test. Type some text, for example Foo and then press Ctrl-Y one or several ...
-1
votes
2answers
30 views

What is this texteditor's counterpart in Windows?

I am learning CSS and want to know what the following texteditor is: Is there a counterpart for Windows? There seems to be a Sublime plugin, when you type: div.classname then perhaps press ...
0
votes
1answer
30 views

How to find wild card value and append to it

I have part of the hundreds of lines similar to : [vc_single_image image="55"] How can I change the lines so they all get appended img_size="full", resulting in [vc_single_image image="55" ...
3
votes
1answer
56 views

Force Sublime Text to open on current virtual desktop in Windows 10

I often have several virtual desktops open in Windows 10 with various programs in each one. I often want to open in my current virtual desktop a new instance of a program that already has a window ...
2
votes
1answer
51 views

How To find a word and replace with changing pattern

I have a text like the following: case "UID": if (!Convert.IsDBNull(objDataReader["XYZ"])) { objQualitativeAssessmentBiz.XYZ = objDataReader["XYZ"].ToString(); } break; case "GeneratedChaseId": ...
0
votes
1answer
21 views

How to remove rectangular box around text from subline text editor

I want to remove the shitty boxes around text show in: I can't remember which package I had installed for this. Can anybody tell me how ?
0
votes
1answer
25 views

Select all mispelled words in Sublime Text at once

Is there a way to, when activating the spellchecking with F6 then noticing that bunch of red-underlined typos, to select all misspelled words? Obviously we can't do it with a simple Ctrl+D. The idea ...
0
votes
0answers
17 views

Sublime text 3 - show number of bytes selected

Sublime text 3 shows number of characters selected and number of lines.. I want to add a functionality for it to also show the number of bytes (or kb) on selected text.. The number is pretty ...
2
votes
2answers
165 views

How to remove extra invisible character in a text editor

I have two "identical" 5-character strings in my text editors (Sublime Text2 | Notepad++). The first string was copied from Gmail and the second one just typed by hand. When I select the first ...
0
votes
0answers
10 views

Running SPARQL queries via Atom

Using Sublime SPARQL Runner is possible to directly run SPARQL queries. I'm looking to fin a similar solution for Atom. I see that there is some interest in this as the language-sparql provides some ...
2
votes
1answer
45 views

How to make Sublime Text stop asking me to reload every file

I had several thousand files open in a Sublime Text project and those files were modified outside of Sublime so it started prompting me whether or not I wanted to reload the file or cancel. But if I ...
0
votes
0answers
87 views

Combing r-exec and terminal-panel functionalities in Atom

I would like to combine the functionality of r-exec in Atom with the Terminal-Panel package. In particular, I'm interested in achieving similar flexibility as illustrated in this SO answer with ...
0
votes
1answer
20 views

Changing sublime key bindings to move to the beginning and end of line

I'm currently looking at this useful answer published on SO about modifying Sublime Text key bindings. I would like to check whether it's possible to assign those arrow keys: to move to the ...
0
votes
1answer
28 views

Sublime Text 3 - Replace character in particular lines

I have a file with content like this (its a movie subtitle file) 00:21:39.168 --> 00:21:45.585 There will be 23 days, giving 00:21:48.960 --> 00:21:54.126 We'll talk, Oscar. Come back soon. ...
0
votes
1answer
84 views

Copy file as raw binary text

I do need to copy the jce_policy-8.zip from my Mac to a Citrix Desktop on Demand. The customer blocked every fileshare and Download. So I have tried to copy the .zip as raw text. Source I open the ...
0
votes
1answer
56 views

How do I revert to the default cursor in sublime text?

Since some point today, my Sublime Text is doing this: That light grey block is my cursor, focussed on a tab character. It's become a block cursor instead of a vertical line. How do I revert to the ...
2
votes
2answers
82 views

Sublime text Find Replace any Character

Is there a way to find and replace using a special character that would allow any char to be in it's place? What I mean by this is say I have the following text: ...
0
votes
1answer
42 views

How to replace with empty line in Caret?

I add unsuccessfully "\n" in the search. No regex seems to work. Caret is a clone of Sublime editor in Chromebook. How can replace with empty line in Caret's search of Chromebook?
0
votes
1answer
44 views

Trouble creating Custom Completions for Sublime Text 3

UPDATED I'm working on Salesforce development using the MavensMate plugin for Sublime Text 3. I'm wanting to create a custom completions file that will contain some common HTML tag class names that I ...
0
votes
0answers
36 views

Sublime paste in snippet

I have got a sublime snippet to get console.log in js who look like that : <snippet> <content><![CDATA[console.log('$1', $1);]]></content> ...
1
vote
1answer
93 views

Brackets Text Editor - “Go to anything” feature like Sublime Text

I love Sublime Text and I'm playing with Brackets editor for a change. One of the features I like most in ST is the "Go to anything" (CTRL+P). Is there something like that in Brackets?
1
vote
1answer
2k views

error: XDG_RUNTIME_DIR not set in the environment. Gtk-WARNING **: cannot open display:

I used to open text files with sublime, and for Read-only files, I used to do : sudo sublime. But now just suddenly the sudo sublime command gives the following error : (sublime:3931): Gtk-WARNING ...
0
votes
2answers
81 views

Sublime Text 2/3 change snippets folder

Is there a way to change the folder of user snippets? By default it's something like: C:\Users\AwesomeUser\AppData\Roaming\Sublime Text 3\Packages\User And I would like to have my snippets in, for ...
0
votes
0answers
10 views

Editing key bindings file to run a command from the package

I'm using the SPARQL runner for Sublime on OSX and I would like to tie execution of the run query command to a keyboard short cut. Presently my user key bindings file looks like that: [ { ...
0
votes
0answers
96 views

Make the Sublime SFTP Package quick panel display for longer

I have configured sublime text 3 with SFTP package for my website (which works great). There is a small annoying issue though: I select an operation like Sync Remote -> Local Once the sync has ...
0
votes
1answer
708 views

How to set symlink short cut to Sublime Text 3 in terminal? [duplicate]

I'm using the ZSH bash https://github.com/robbyrussell/oh-my-zsh I found and followed the directions here to symlink Sublime Text 3 to subl https://www.sublimetext.com/docs/3/osx_command_line.html ...
0
votes
1answer
302 views

How to install a Sublime Text 3 theme?

I don't understand why I'm getting all these errors: Error loading colour scheme Packages/Material Theme/schemes/Material-Theme.tmTheme: Unable to open Packages/Material ...
0
votes
1answer
78 views

Setting up a sublime symlink in Mac OS X while running pyenv

There are a lot of SO and links on how to setup a symlink so you can run sublime from the command line. But I'm running pyenv and it seems to have its own ~/.bash_profile as the real one doesn't have ...
1
vote
0answers
26 views

Sublime Text: “for loop” text insert?

Let's say I'm writing a JSON object with a lot of properties following this naming convention: ObjectName[x] So it looks like this: ObjectName_A: ... ObjectName_B: ... ObjectName_C: ... ... ...
2
votes
1answer
77 views

Is it possibile to attach snippet only to specific project in Sublime?

I tried to save the snippet files in the project folder but it is doesn't work. Do you have any other idea?
1
vote
1answer
394 views

View file tree in Sublime when using Cyberduck

I use Cyberduck to open remote files and edit them via Sublime on my local machine. I want to be able to see the file tree of the remote system in the Sublime Text side bar. I've tried a few things ...
0
votes
2answers
185 views

Having trouble creating symlink between the terminal in Mac OS X and Sublime Text 2 so it can be launched from the command line

I’m using Mac OS X Yosemite and I want to be able to open Sublime Text 2 from the terminal with a command like this: sublime . I’ve typed this into terminal as shown on the Sublime Text 2 website: ...
1
vote
0answers
57 views

How to preserve the Extended File Attributes in linux?

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Solid Example: When i edit the file ...
1
vote
1answer
131 views

in sublime how to abort previous build automatically when building again

I know that there is key mapping to cancel build. But I want automatically when I press Ctrl+B, that it will abort the previous built. Is it possible? Is it possible, that the "cancel" build will do ...
0
votes
0answers
13 views

In sublime, the command “set_build_system” not working

I am trying to change the build system using the "Edit Command Platte". Everything I tried didn't works. Things I tried: { "caption": "Set Build System: Mocha", ...
0
votes
1answer
63 views

How to make Sublime JSON syntax warn on extra comma

This is for how my sublime text look like when I edit a JSON file: I want that sublime will alert me when there are too many commas (like nodejs json.parse) I need it because some JSON parser ...
0
votes
1answer
1k views

Autocompletion for custom PHP classes in Sublime Text 2/3

How can I get autocomplete in Sublime Text 2 (or 3) to work with built-in and custom PHP functions, methods and classes? In Atom I've got it working with built-in functions, like this: In Sublime ...
1
vote
1answer
399 views

How to create new command to execute a batch file with Sublime Text?

I need to create a new "shortcut" command in Sublime Text to run a BAT file. I know how to use build_systems and even build_systems per project. I want to add the command to the command palette list ...
0
votes
0answers
60 views

How can I create a RAM disk and install Firefox into it?

I've a Fedora 22 64-bits system running under a notebook with Intel Core i3 processor and 7.7GB of RAM. I only use about 2~3GB of RAM (with everything I need) and I want to speed up my system, so I've ...
0
votes
1answer
62 views

How to correct IdeaJ IDE on Win7 font setting bugs? Or just the fonts bug itself?

I try to use fixedsys for IDEA IDE which downloaded from http://www.fixedsysexcelsior.com/ Set the font size to 16 and then the A and B character just overlapped each other. other size will be fine ...
1
vote
0answers
494 views

Sublime text opens an xml file in HEX view

I have an xml file(rename to .xml) and I need to open this in Sublime text. But if I try to open and view it, it displays the data in Hexadecimal values. But I want this to be displayed in xml format. ...
1
vote
0answers
19 views

How do I tell which sublime plugin(s) are resource hogs?

Just what the title says, the rest is detail :) Relatively often my ST3 instance hangs for a couple of seconds (or just now, which prompted this post, it hung indefinitely and I had to kill the ...
0
votes
0answers
44 views

Running “subl” command started crashing ITerm 2.1.1 with Oh-My-ZSH

Up until a few days ago, when I would type subl it would open Sublime Text 2. I would use the subl command frequently to open files and directories. Today, I tried to run subl from the command line ...
0
votes
1answer
36 views

Equivalent of JavaImport in Sublime Text 3?

I've got ST2 on my Windows machine which I've installed the JavaImport package which is a great tool for automatically writing the 'import' statements for various functions. Unfortunately it is not ...
1
vote
1answer
23 views

OS X - Why does Firefox know my search query in other programs?

Environment: OS X Yosemite 10.10.3, Sublime Text 2.0.2, Pages 5.5.3, Firefox 38.0.5 Observation: When I find a word in Sublime Text 2 / Pages, and switch to Firefox, wanting to search the same word ...
0
votes
0answers
60 views

Sublime: hide path in tabs for files with same name

I am aware that the same question was asked 2 years ago here: Removing file path from tab name Since there has been no answer given and sufficient time has passed, I'm asking this again. Also that ...
0
votes
0answers
30 views

Add space before braces for functions and if/else's in Sublime text

id like to change Sublimes default behavior toleave an empy space before a brace in Javascript. I'm used to just typing func.. And sublime creates a function block for me. How can I make it so there ...
1
vote
0answers
64 views

Sublime snippet in many places with different placeholders

In my scaffolding snippet I'd like to be able to remove two chunks of optional code, with a single button press. However my attempts were unsuccessful. <snippet> ...