Questions tagged [sublime-text]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
227 views

Dynamic Text Snippets?

Suppose my snippet is: <snippet> <content><![CDATA[ 1example \> ]]></content> <tabTrigger>1e</tabTrigger> <scope>text.tex.latex</scope> ...
blackened's user avatar
  • 251
3 votes
1 answer
783 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?
darksoulsong's user avatar
0 votes
1 answer
380 views

What is the shortcut to "Add Next Line" in Sublime (Linux)?

In Windows is Ctrl+Alt+Arrow Up. And "Add Previous Line" is Ctrl+Alt+Arrow Down. My distribution is Linux Mint Rafaela 17.2
Zack Stone's user avatar
7 votes
2 answers
6k views

Use Sublime Text find to highlight a regex group in search pattern

Is there a way to make Sublime Text highlight (match) only part of a regex search pattern? For example, I want to exclusively highlight Text when searching for Some(Text).
erihanse's user avatar
  • 230
30 votes
2 answers
9k views

Sublime Text, move tabs with keyboard

In Sublime Text 3, is there a way to reorganize tabs using keyboard only? I know you can switch a tab from a pane to another pane using for example ctrl+shift+2 to move a tab from pane X to pane 2 ...
Gab's user avatar
  • 1,107
0 votes
1 answer
205 views

Notepad's .LOG command inside Sublime Text 3

I've been using notepad and notepad++ since forever, but now that i've been coding more I'm using Sublime Text 3. One feature of notepad that I miss most is the .LOG command. When a file has .LOG on ...
sigmaxf's user avatar
  • 1,767
0 votes
1 answer
4k 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 Theme/schemes/Material-Theme....
Leon Gaban's user avatar
  • 2,555
0 votes
1 answer
905 views

Sublime text permissions not enough

I have a problem according to which I cannot install new packages through package control, my workspace always reset on load and etc. If I open sublime throught console sudo subl then these issues are ...
Константин Тукмаков's user avatar
4 votes
1 answer
454 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?
Aminadav Glickshtein's user avatar
4 votes
5 answers
2k views

Multiple Sublime instances using different windows credentials?

As a security minded professional I do my day-to-day work on my computer as an unprivileged account. I will start individual programs, shells or so on with my privileged Domain Administrator account. ...
Zoredache's user avatar
  • 20k
1 vote
1 answer
1k 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 ...
Aminadav Glickshtein's user avatar
0 votes
1 answer
2k 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 thinks ...
Aminadav Glickshtein's user avatar
5 votes
2 answers
6k 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 ...
Aminadav Glickshtein's user avatar
0 votes
0 answers
2k views

How to find java packages to import with Sublime Text 3?

In Java IDE's there is usually a feature that suggests/auto-completes imports, however with sublime text, I end up searching for packages to import I'm wondering whether there is an internal feature ...
Kaan Soral's user avatar
2 votes
0 answers
34 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 ...
None's user avatar
  • 1
1 vote
1 answer
738 views

Autoprefixer does not work on Sublime

I following this link to add AutoPrefixer plugin to my sublimeText. Once I press 'Cmd + Shift + P', AutoPrefix CSS is one option of the menu. However, when I choose it nothing happens. I have a ...
Jack's user avatar
  • 115
1 vote
0 answers
567 views

Sublime Text 3 vertical paste on large number of lines

This is a follow-up question for this answer. While working with vertical selection/pasting this answere works only for the destination pasting area should be selected with Command+Shift+L+for same ...
nehem's user avatar
  • 369
1 vote
1 answer
622 views

Git gui blame from Sublime Text 3

I have tried many things, but none of them worked. Expected result: I type a shortkey, and git gui blame opens the current file at the line the pointer is on. I work on Windows 7, with Sublime 3 ...
Kalissar's user avatar
  • 113
1 vote
0 answers
97 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> <content><![CDATA[...
Misiur's user avatar
  • 173
22 votes
1 answer
7k views

Change middle mouse button in Sublime Text

On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically ...
ecnepsnai's user avatar
  • 716
1 vote
1 answer
42 views

Is it possible to set a project-specific font in Sublime (2)?

Is it possible to set a project-specific font in Sublime (2)? I just naively tried adding this to the config it give you under Project > Edit Project: { "font_face": "monospace" } (Which was ...
Owen_AR's user avatar
  • 412
1 vote
0 answers
142 views

Sidebar subfolder: Sort by alphabet by not by capitalisation

It's every time confuse me that in sublime-text at sidebar subfolders sort like: Folder5 Folder8 folder1 folder7 How to force sublime-text to ignore letters case and sort subfolders like this: ...
d9k's user avatar
  • 431
4 votes
2 answers
2k views

Editing files with Sublime Text 3 slow over SSHFS

This post was originally posted on StackOverflow, where users recommended reposting here. I'm currently mounting remote server directories as local folders under OS X 10.10.3 and OSXFUSE + SSHFS. ...
Edward Grefenstette's user avatar
9 votes
1 answer
5k views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
tapsboy's user avatar
  • 93
2 votes
1 answer
736 views

Sublime: change default syntax on a per-project basis

I know you can change the default syntax associations globally with the "Open all with current extension as..." button in Sublime Text 3. Can I make this change on a per-project basis?
shadowtalker's user avatar
1 vote
3 answers
3k views

Why do my tabs in Sublime Text appear so far off in Github?

In my Sublime Text settings I have: "translate_tabs_to_spaces": true And in the editor my code looks beautiful like so (all tabs): However in GitHub the tabbing turns out terrible: If I use 4 ...
Leon Gaban's user avatar
  • 2,555
1 vote
1 answer
992 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": [ { "...
Alexei Danchenkov's user avatar
1 vote
1 answer
554 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 "...
beesteak's user avatar
  • 115
1 vote
2 answers
86 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.
Colonel Panic's user avatar
1 vote
1 answer
1k 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 ...
jlzizmor's user avatar
0 votes
1 answer
185 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 ...
lishechen's user avatar
5 votes
1 answer
11k 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 ...
Noffica's user avatar
  • 295
3 votes
1 answer
95 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", "args"...
Devon Parsons's user avatar
6 votes
2 answers
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). ...
Petter Thowsen's user avatar
2 votes
0 answers
256 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 ...
laggingreflex's user avatar
4 votes
0 answers
233 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 ...
Ben Dilts's user avatar
  • 285
3 votes
0 answers
730 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 - still ...
kula's user avatar
  • 131
5 votes
1 answer
846 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 ...
Devon Parsons's user avatar
13 votes
1 answer
4k views

How to find next occurrence and go back to the beginning of file in Sublime Text

In Google Chrome, when I search for a string and press the "down arrow", if I am at the last string found and click the down arrow again, if goes back to the first string found in the text. The ...
cafesanu's user avatar
  • 258
5 votes
2 answers
4k 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 know ...
user275517's user avatar
0 votes
2 answers
78 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 ...
Marcus Plimsoll's user avatar
1 vote
1 answer
1k 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 ...
ben's user avatar
  • 333
1 vote
2 answers
570 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 ...
ShankarG's user avatar
  • 916
2 votes
1 answer
5k 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 ...
Korvo's user avatar
  • 244
0 votes
1 answer
3k 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 ...
HalfWebDev's user avatar
15 votes
2 answers
7k 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 ...
Hubro's user avatar
  • 5,786
4 votes
3 answers
494 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 ...
curious_georgie's user avatar
6 votes
1 answer
3k 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 ...
Noffica's user avatar
  • 295
1 vote
0 answers
269 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 ...
reggie's user avatar
  • 111
34 votes
5 answers
110k 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 ...
Tamás Barta's user avatar