Sublime Text is a cross-platform GUI text editor for Windows, OS X, and Linux. Use this tag for version-agnostic questions.

learn more… | top users | synonyms

0
votes
1answer
15 views

SublimeText XML completions file

I apparently can't get autocompletion to work in my XML files. Here is my xml.sublime-completions file, which I added to the User folder: { "scope": "text.xml", "completions": [ { ...
0
votes
1answer
12 views

SublimeText3 double-backslash in snippet

I'm using SublimeText3 with LaTeXTools for my LaTeX work and want it to insert a double-backslash+newline when I hit ctrl+enter. Like this: asdf\\ foobar I tried inserting the following into ...
1
vote
2answers
13 views

How to search Sublime Text changelog?

I opened the Sublime Text changelog (Help / Changelog). How do I search it now? I think it's bizarre Sublime Text opens the changelog in a new window, rather than the text editor.
0
votes
1answer
20 views

Sublime User Keybindings Error

I am running sublime text 3 on Ubuntu 14.04 LTS. I added the following line to the user key bindings: { "keys": ["ctrl+alt+shift+s"], "command": "save_all" } Following this forum: Sublime Save All ...
0
votes
0answers
18 views

Sublime text colorize Build System output

Sublime Text docs provide optional syntax argument to colorize build system output. As far as I know you usually need 2 files to do syntax highlight in Sublime: .tmLanguage (which I can provide to the ...
0
votes
1answer
27 views

ST3: New Build Systems / SideBarEnhancement: Keyboard shortcut that opens files to different browsers via localhost

Using Sublime Text 3 on a mac. I'm currently learning d3.js and would like to be able to preview source codes on different browsers via the localhost, preferably, without using 3rd party browser ...
1
vote
0answers
38 views

Sublime Text 3: How to enable autocomplete with Tab and Enter / Return

When I first select a choice with the Tab key from the list of choices, the autocomplete choice is not committed, when I come back and try again, it works. Why does it work the second time and fail ...
1
vote
1answer
20 views

Determine which plugin is overriding key bindings

I'm using Sublime Text 3 on Windows 7. In Key Bindings - default: { "keys": ["f9"], "command": "sort_lines", "args": {"case_sensitive": false} }, { "keys": ["ctrl+f9"], "command": "sort_lines", ...
0
votes
0answers
11 views

Is there a way to convert indentation to tabs whenever a document is pasted into sublime text?

most documentations (of codes) are indented with space on the web these days (due to html formatting). It's a bit inconvenient to repeatedly use convert indentation to tabs command in sublime text. I ...
6
votes
2answers
1k views

How to stop Alt+Shift+1 closing the current app?

Whenever I press Alt+Shift+1, it seems to close the currently focused application window. I don't want this behavior, especially since they are used for application-level hotkeys (Sublime Text 2/3). ...
0
votes
0answers
26 views

Autocomplete method definitions with parameters

In Sublime Text, typing out a method name will prompt the autocomplete box to show all matching words in a file, and the All Autocomplete package will extend that to all matching words in any open ...
1
vote
0answers
16 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...
1
vote
0answers
18 views

Sublime Text 3: Prevent having same file in multiple windows

I use Sublime Text to edit files simultaneously on two monitors, by using two separate Sublime windows (by tearing away a tab). But if I have file A open in Sublime, then I tear away that tab, I can ...
1
vote
0answers
38 views

plugin_host has exited unexpectedly in Sublime Text 3

I keep getting this while loading Sublime Text 3: I didn't install any package lately. Now I can not type use shift and ctl and more ... What have I tried : Even if after restart Sublime - ...
2
votes
1answer
26 views

Customize “wrap” characters in Sublime Text

In Sublime Text, highlighting any text and pressing any of the following symbols: ' " ( { [ will cause the entire highlighted section(s) to be surrounded by the key you pressed (or its matching ...
0
votes
1answer
16 views

Sublime Text - Find next - go back to beggining of file like Chrome does

In Google Chrome, when you search for a string and you keep pressing the "down arrow", if you are at the last string found, and you click again the down arrow, if goes back to the first string found ...
4
votes
2answers
464 views

Does notepad++ have the quick scroll pane that Sublime Text have? [duplicate]

Sublime Text (Download) has the following feature that I use it all the time: I would like to know if notepad++ (Download) have this feature. I call this feature 'Quick Scroll Pane' as I do not ...
0
votes
1answer
17 views

When creating multiple new lines, Sublime only leaves indented the final the line I end up on, and not those above it

In Sublime, when you hit return, it auto-indents the new line, according to syntax. However, if I hit return more than once, going multiple lines down, the previous lines do not remain indented. They ...
0
votes
1answer
100 views

Custom font in Sublime Text 2 without installing it

In Sublime Text 2, is it possible to use other fonts than those which are installed on the system? If yes, how can I achieve this? I am working on a Windows 7 machine without admin privileges and am ...
0
votes
2answers
41 views

Can I use a sequential key binding like Ctrl-x Ctrl-s in Sublime Text?

I'm trying out Sublime Text. I've been an Emacs (in Evil mode) user for several years. As a result I have Ctrl-x Ctrl-s for save deeply embedded in my muscle memory (so deeply embedded that I ...
0
votes
0answers
17 views

Switch between having the cursor at the beginning or the end of a selection?

When you start selecting a text, you hold shift and move your cursor forward and the cursor always stays ahead of the selection. Unless you had begun by moving the cursor backwards, then the cursor ...
2
votes
1answer
84 views

Find UTF8 characters with RegEx

I have many files (xml, css, js, html) and would like to see everyone who has "UTF-8" characters, because some files are in ANSI and others in UTF-8 without BOM. I tried several "RegEx" to the ...
0
votes
0answers
29 views

How to copy file name, no path, in Sublime Text 3?

As a followup to this question: How to set shortcut for `Copy file path` in sublime text 3 The only way I can figure to copy the name of a file (no path), is by right-clicking on it in the sidebar ...
0
votes
0answers
139 views

Sublime text plugin usage without Admin right

I want to install sublime text 3 plugins at my workplace. I have asked my administrator to install some of the plugins but the plugin installation is local to the user. He installed plugins from his ...
0
votes
1answer
55 views

How do I see what the current “scope” is in SublimeText?

I'm trying to define some snippets for editing Markdown, but I can't get them to trigger. I have tried using source.markdown, text.markdown and markdown as the scope, but none of them work. If I ...
2
votes
3answers
69 views

Notepad++/other editors: How to view same file in multiple columns with auto scrolling?

Is there any editor that allows me to have two columns, where the second column picks up after the last line of the first column? I don't mean cloning like in Notepad++ where I have two open copies of ...
0
votes
0answers
29 views

Files don't open when I double click them. They will if I right click and select open

I changed my dot files to open with Sublime Text 3 instead of Text Edit. It sort of worked. I have to right click on them and choose open. They will not open by double clicking. Sublime still ...
0
votes
0answers
52 views

Sublime Text 3: Are disabled (ignored) packages loaded into memory?

Sublime Text 3 on my OS X 10.9 suffers from significant typing lag. Before I start start removing installed packages, I would like to ask if disabling a package (adding it to the ignored_packages ...
1
vote
0answers
27 views

Sublime Text 2/3: Arrow key navigation

In Textpad, when you press the down arrow key in a line, insert some text, and then press down again, you will stay in the same position that you were at before you inserted text. Sublime Text ...
3
votes
1answer
3k views

How to uninstall/remove Package Control from Sublime Text 3?

Searching for uninstall package control on Google, only results showing how to install packages with Package Control, or remove them, but not removing Package Control itself. How can I remove Package ...
0
votes
1answer
31 views

How do you move the cursor(s) to the next occurence of a character in Sublime Text?

Let's say we have a file containing this: name, job, age Mark, Specialist, 24 Bob Guy, Manager, 43 Susan Third, Data Generation, 30 What I want to do is navigate around the fields. Move to the next ...
0
votes
1answer
17 views

Viewing Only One Folder At A Time In Code Editor

I use FL Studio for music production, and one of the best features that it has is the ability to "View Only One Folder Content At A Time", such that if I expand a folder in the integrated file ...
1
vote
1answer
46 views

How can I get Sublime Text to show package keybindings in the code window?

Please look at the example image below: It looks like typing the package name is popping up a list of shortcuts. Can anyone tell me how to set this up? The image is from sublime-jekyll and I ...
0
votes
1answer
26 views

In Sublime 3 how can I prevent Sublime from stripping comments from my user preference file?

Each time I reopen the user preferences in Sublime 3 the comments which I carefully positioned before are lost. How can I prevent this behavior and make sure to leave my comments in, such that I ...
2
votes
1answer
56 views

How to make sublime text editor highlight left bar area on active code block

Sometimes I feal lost while coding on sublime text editor as it doesn't highlight the left bar as others ides/text editors do what I am talking about is the light violet color on line numbers as in ...
0
votes
0answers
45 views

In Sublime Text 3, how to use the search/replace “flags”?

In Sublime Text 3 (on Windows), I'm trying to replace text. The respective panel (see screenshot, highlighted parts, too) allows one to turn on or off several search/replace flags. I am trying to ...
0
votes
0answers
9 views

Any API function to save the current view to a certain place?

I am trying to implement a sublime plugin to save the current file to git-hub folder once it is completed. Because of the Salesforce settings they have to be two projects at two different places. My ...
1
vote
0answers
295 views

Outline view in Sublime Text 3

I've been advised to use SublimeText and I'm giving it a try. When I take notes in a text file, I would like to structure it with a few levels of headers (in LaTeX, that would be sections and ...
1
vote
1answer
67 views

Sublime-text command as keybinding

I want to add a keybinding for Reindent(Edit>Line>Reindent). I have tried adding "keys": ["ctrl+shift+i"], "command": "reindent" But this does nothing even after restarting sublime Other answers ...
0
votes
1answer
41 views

Working with HTML tag completion in Sublime Text

What are good secrets for improving and using HTML tag completion in Sublime? Personally, I'm looking for a way to keep the default functionality (if I type <a ...>Link text</, the closing a ...
0
votes
1answer
306 views

Can't start Sublime Text with gksu

Sublime Text 3 is my primary text editor. I run it as a regular user, but once in a while I need to start is as root to edit some system files. I am used to having edit as root in my context menu on ...
1
vote
2answers
164 views

Sublime Text 3 rectangular tabs (title bar)

This sublime theme looks so great. The thing is that only the color of text is changed when I install it. What should I do to get that rectangular tabs (title bar) in my sublime? It's operating ...
0
votes
0answers
149 views

Sublime Text 3 close unexpectedly

I downloaded and installed the Deb package of Sublime Text 3 for Ubuntu. When I try to run Sublime, it closes unexpectedly after approximately 10 minutes. Since that, I have removed all the packages ...
0
votes
0answers
26 views

Highlight other occurrences of selection regardless of word boundaries

I have match_selection turned on, so when I select a word or double-click on it, Sublime Text 3 will highlight all occurrences of it for me. How do I get this behavior for when I select part of a ...
9
votes
1answer
3k views

How can I make Sublime Text reload the file being edited?

How can I make Sublime Text (3) re-load the file currently being edited, to take into account changes having been made externally?
2
votes
1answer
57 views

Sublime Text HTML Block Comment Containing Comments [closed]

Is there a plugin to help with HTML commenting a block of code that may already contain other comments? <div class="wrapper"> <div class="container"></div> <!-- /.container ...
0
votes
1answer
215 views

Uninstall Sublime Text 2

I'm upgrading from Sublime Text 2 to Sublime Text 3 on my Windows 7 PC. Add/Remove Programs does not have any entries for Sublime Text. How do I remove Sublime Text 2 completely, including removing ...
1
vote
0answers
45 views

How to stop sublime text from adding a new extra line at the end?

I'm on OS X and using Sublime Text 3 and it's adding a newline at the end of document after I press CMD+S, which I don't want. I have already added below line in Sublime Text user settings: ...
0
votes
1answer
250 views

Change default program without changing file icon

How can I change the default program for a file without change it's icon? I want some of my files (.css, .js, .cshtml, ...) to be opened with Sublime Text. but I want them to have their original icon ...
1
vote
1answer
422 views

sublime text 3 on mac os not keeping project open

I'm using sublime text 3 on mac. Whenever I've had a project or folder open and closed the window (not quit the app) it would remember where i last left off, and open my last window. I noticed now ...