A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
0
votes
0answers
14 views

Select next match in Sublime Text WITHOUT wrapping to beginning of document?

I love using Sublime Text (and VSCode) for features like cmd/ctrl + D, whereby the it highlights the next instance of whatever you have selected. I'm looking to set a preference (or ideally learn of ...
2
votes
0answers
56 views

Sublime text. Keep find in files panel open after running search and/or replace operation

I am using Find in files functionality of sublime text regularly (default key binding Ctrl+Shift+F) Pannel can be hidden by hitting Esc Whenever I hit Find the pannel itself disappears after ...
0
votes
0answers
12 views

Sublime Text: escape multiple selections to original selection region instead of first in file

In Sublime text, when having multiple selections or carets, pressing the Esc key discards all additional selections, leaving only the one that appears first in the file. I would like to change this ...
0
votes
1answer
17 views

What's this mode that highlights a chunk of my code in green, and how to get out of it?

While typing in Sublime Text 3 I must have accidentally triggered some keyboard shortcut or clicked something by mistake, because suddenly I'm in some mode I can't get out of. One function in my code ...
0
votes
0answers
25 views

Extend context for found results in Sublime Text

When we search in multiple files using sublimetext, there is a button named Show Context. It allows seeing 2 lines further surrounding the found result. Is there a way to extend this to N lines ?
0
votes
1answer
38 views

Update sublime editor in cent os 7

Whenever i open sublime text editor it shows please download new version. I downloaded and file which is "sublime_text_3_build_3211_x64.tar.tbz". I got this file. Now how to install this updated ...
0
votes
0answers
9 views

Sublime Text 3: Change “Auto Correction” text to desired text

In Sublime-text 3, when I type "func" and enter "TAB" key, it enters "function" text. How can I set the result text "function()" for same operation?
0
votes
0answers
11 views

How to fold functions with multiple header lines in Sublimetext?

I like the folding function in Sublimetext, however, it seems like this does not work for functions with multiple lines of header. Please see below, before folding, the function looks like If I click ...
0
votes
0answers
51 views

SublimeLinter [WinError 267] after changing directory structure

I recently had to restructure the directory of my project. After that, Sublime throws the following error: SublimeLinter: #6 flake8 monohull.py ERROR: =========================================== ...
0
votes
1answer
33 views

Sublime Text console window

How do I change the setting of sublime text so that when I build "control+B", with python, the result of the process is displayed in a pop-up console? Thank!
0
votes
1answer
155 views

Sublime text 3 Terminus using Cygwin terminal wont accept commands (e.g ls or gcc) (Windows)

I have installed Terminus in sublime text 3 and changed the "shell_configs" to use cygwin as the terminal. To do this I edited the code to include the following. { "name": "Cygwin", "...
0
votes
0answers
40 views

How to remove “ ” from a string of characters?

I want to remove " " from a string of characters. For example: "abcde": "1234" The output I desire will be the below after removing " " abcde: 1234 Can do I do this in sublime text or notepad++? ...
0
votes
0answers
22 views

Sublime Text processes stack up

Using Sublime Text for Python scripting these days and loving it. Though what I miss is the "Ctrl+C" option to cancel the current process, which is possible in the regular terminal (and PyCharm). I ...
1
vote
0answers
42 views

Sublimetext3 jedi autocomplete: Docstrings not showing

I've just stumbled upon a problem with the jedi autocomplete package in sublimetext3 on windows. I've installed the package via package control and the code completion itself works fine. E.g. when ...
0
votes
0answers
18 views

Frozen (then crashed) Sublime Text 3 running two heavy python scripts simultaneously

I have a pretty powerful computer. For 2 years, I was able to run multiple (3+) python scripts each handling large amount of data (hundred of thousand rows) simultaneously without any issues, using ...
0
votes
1answer
81 views

Perform awk equivalant with Sublime Text

With Sublime Text 3, is it possible to modify an opened file to keep only a given column ? For instance I have an file with this content: a 1 b 2 c 3 d 4 I would like Sublime Text to transform this ...
-1
votes
1answer
19 views

Sublime text: How to get rid of the extra “window”

I use Sublime-text to type LaTeX on a Ubuntu Machine. My sublime currently looks like And I want to get rid of the extra "window" on the right, as it was before. I don't know why this happened, ...
0
votes
0answers
29 views

Sublime Text Daemon

How would it be possible to run a Sublime Text service daemon in the background in order to open client windows instantly. I mean something like emacs --daemon
3
votes
1answer
221 views

Why is Sublime Text 3.2 highlighting commas after values that start with “for” in Python dictionaries?

In the most recent version of Sublime Text (3.2 Build 3200), I have encountered what I think is a syntax highlighting error when writing in Python. Whenever I create a dictionary that has a key/value ...
1
vote
0answers
123 views

Sublime Text 3, LaTeX Tools, and compiling with LuaLaTeX via %!TEX program = lualatex not working

I'm using Sublime Text 3 with the LaTeX Tools package, and need to compile a .tex document with LuaLaTeX (in order to use the tikz graph drawing library). I put %!TEX program = lualatex as the very ...
-2
votes
1answer
93 views

Keep Sublime from using 2 levels of “tabs”

I'm using Sublime on a Mac. I've found that it uses 2 layers of tabs depending on how I open a file (see screenshot). If I open a file using File->Open it will put it in the lower level of tabs (...
0
votes
0answers
14 views

Transfer keyboard shortcuts from browser to editor

I often accidentally try to save my work (Cmd + S) in Sublime Text while my browser is the active window, resulting in me trying to save the Web page currently open, or refresh my browser while my ...
1
vote
1answer
148 views

In Sublime Text, how can I jump and select to the next empty line between paragraphs?

In Sublime Text, what's the best way to jump between / over paragraphs? For example, if my cursor is on the empty line after bar's end statement, how do I jump to the empty line between foo and bar? ...
1
vote
0answers
5 views

Select Folder option in Dreamweaver is missing

I have a question about Adobe Dreamweaver: I have two code editors, Sublime and Dreamweaver(CS6 and CC2019 ). Sublime has the option select folder to include a project at a side panel. But in ...
2
votes
1answer
2k views

Can't change Windows 10 default file type association [duplicate]

After installing Sublime Text on Windows 10, I can not change the default application for files with the .txt extension anymore. Right-clicking on Context Menu > Open With… > Choose Default ...
2
votes
1answer
2k views

Where to find the “bulma snippets” for Sublime Text 3?

In the "Laravel 5.7 From Scratch" video tutorial one sometimes can see usage of something like macros for bulma in Sublime Text editor. An example would be the lesson "Create New Project Tasks", ...
0
votes
1answer
45 views

Sublime Text 3 doesn't show separate files in tabs, how to switch between files?

If I open two files in Sublime Text 3 on macOS, the tab bar at the top only shows one item, i.e. just the last file I opened. There is no visual feedback that the first file is also still open, and I ...
2
votes
0answers
462 views

Open Sublime text 3 in read-only mode directly when opening it

I'm trying to find a way to force ST 3 into opening a file directly into read-only mode. I'm aware of plugins like toggle-readonly, but that requires user interaction and can be easily forgotten. ...
1
vote
0answers
35 views

Sublime Text 3 marks things without a reason

To me it is unclear why Sublime Text 3 marks things without having selected some other text. It bothers me because I cannot focus clearly because of this. Does somebody know how to 'reset' Sublime ...
1
vote
1answer
78 views

Key binding for character insertion won't work in sublime text 3

I am trying to make my sublime text 3 instert a "<" character if I press alt + z, and ">" if I insert alt + x since my keyboard has no <> keys. I managed to make this work properly in Sublime ...
0
votes
1answer
643 views

Find and replace only specific characters in Sublime Text

An example of what I want to do.. I have tons of: name : 'SomethingXX', I want to become: name: 'Something Else', Where Something is different for every entry, so I can find all using name : '((.*?...
0
votes
1answer
2k views

Unable to completely uninstall/remove Sublime text from Ubuntu 16.04

I had installed Sublime_text-3 in my system (Ubuntu 16.04). I want to uninstall it and i followed the link http://www.ubuntoid.com/install-sublime-text-2-3-ubuntu-16-04/ and i typed in the terminal ...
2
votes
1answer
4k views

What do “Goto Definition” and “Goto Reference” do in Sublime Text

What is the purpose of these commands?:
0
votes
1answer
614 views

Babel syntax highlighting for React not working?

I've installed the Babel package in Sublime Text 3 (I see it in Preferences -> Package Settings), but the syntax highlighting for a sample App.js still looks weird: For example, I would expect the ...
1
vote
1answer
2k views

How to shift a block by exactly one space the right/left in Sublime

I know one can move a block of text using ctrl+ ] or cmd + ]/[. Is there any way so that I can move a block by exactly one space to left or right. Thank You
0
votes
1answer
391 views

How to recursively replace a string in Sublime Text?

The title tells it all: I am wondering how can I replace a string in all files in sub-folders of a folder.
2
votes
1answer
413 views

How to insert a formfeed into a text file, using Sublime Text 3?

It a simple problem. I need to insert formfeed characters into a text file: ASCII 12/0xC CONTROL-L U+000C I've not been able to figure out how to do this in Sublime text 3.
1
vote
1answer
322 views

Sublime text: error while loading shared libraries

When I try to run sublime text 3 (installed with the official instructions) in a new debian sid chroot, it does not start, outputting: /opt/sublime_text/sublime_text: error while loading shared ...
0
votes
0answers
41 views

subl command does not invoke the editor unless cmd.exe was ran as administrator

On my Windows 10 system, when I open a regular terminal (cmd.exe), I cannot edit files using the subl command: subl myfile.txt The command does not do anything, I did not get any error message. ...
0
votes
1answer
302 views

SublimeText - add Comments *about* code?

I was wondering if there's a way, native or via plug-in, that allows me to add comments to my code. I do not mean a code comment, using python as an example: def some_function(): my_variable = ...
2
votes
0answers
111 views

How to make Sublime Text to wrap line between any two letters?

Sublime Text 3 can only wrap between words (which separated by space or other punctuations) by its default setting. I'd like something like "word-break: break-all;" in css, or say let lines may break ...
11
votes
1answer
4k views

Multiple cursor selection on a pattern in Visual Studio Code

I am looking for a similar way that I work in Sublime Text: Find All for a specific regular expression. Then it has multiple-selected the texts I need. A simple find and replace does not fulfil my ...
1
vote
1answer
817 views

Is it possible to use the hash (#, pound) key in a key binding in Sublime Text 3?

On UK keyboards, the hash symbol (#, a.k.a pound elsewhere) has its own key (with tilde above it). Presumably because it is not a standard key on US keyboards, it isn't listed in the list of named ...
0
votes
1answer
114 views

How to make each cursor a tab stop?

When editing code with Sublime Text, I often use multiple cursors to put the same text in multiple locations. Usually each location will start with some common prefix, and end with something unique to ...
1
vote
2answers
3k views

Sublime Text terminal control

I'm using Sublime Text 3 for editing my code on a remote server. I use sshfs to mount a directory from the server on my computer and make my changes using my local Sublime Text. Then I usually build ...
1
vote
2answers
1k views

Sublime text 3 change focus to next split view pane

How can I easily switch the active pane to the next pane in my SplitView ? Suppose I am working with a vertical split view of 2 screens, and I need to rapidly change the focus from view n°1 to view n°...
0
votes
1answer
997 views

Run ConEmu + Far in current folder

1. Briefly I don't find, how I can run ConEmu + Far in current folder. 2. Detail I don't set ConEmu + Far in ConEmu Open Sublime Text package. I don't set, how ConEmu + Far open in ConEmu Here. 3. ...
1
vote
1answer
993 views

How can I change default path to Sublime Text preferences?

Here is the case: I installed Sublime Text 3 on my Windows 8.1 . When I try to save my user preferences and/or keybindings, it throws following error: Unable to save C:\Users\w\AppData\Roaming\...
1
vote
0answers
307 views

Using Sublime Text as default e-mail editor in Thunderbird

1. Briefly I want to write my e-mail messages use external editor Sublime Text 3. But I don't know, how I can do it. 2. Example of expected behavior For example, I get email in Thunderbird. I click ...
0
votes
1answer
146 views

Sublime Text: how do I edit the multiple line caret insertion key binding?

I can never remember what Sublime Text calls its caret/cursor/line insertion above/below command in the key bindings. On some platforms it is Ctrl + Alt + Up (or Down) and a caret (for typing) ...