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
0answers
13 views

Is there a way to autosave after every 2-5 mins in sublime text?

I have come across ways to save on focus up "save_on_focus_lost": true, or save on every change like this https://packagecontrol.io/packages/auto-save but I am looking for time based saving ...
0
votes
0answers
15 views

Sublime Text 3: How to select multiple lines and paste them sequentially in a specific place? - For example:

Here is what I would need to do with some build-in shortcuts or similar: PAGE A 50 LINES <div class="wrapper ratio" style="padding-bottom: 138,75% ;"> <div class="...
0
votes
0answers
37 views

KIll last build automatically when creating a new build Sublime Text

How can I make Sublime Text cancel the last build automatically when I do Ctrl+B or press "Build"? Here is an example of whats going on, Sublime doesn't kill the last build when I create a ...
0
votes
0answers
24 views

How to stop Sublime Text 3 from outputing “junk” when a build fails?

Sorry I know my question is a bit unclear but this is what I mean: As you can see, on a build that fails, Sublime outputs a lot of this so called "junk." How can I stop this from happening? ...
1
vote
1answer
30 views

How can I delete everything from X to Y in a text document?

Lets say, given a text document with the content: zeep XXX fleem flerb floot flop YYY zoop yim XXX abc def jpg gif YYY yam i want to delete everything in between XXX and YYY so it looks like:...
0
votes
2answers
598 views

Find the every nth occurrence of a string

Despite the many similar questions, I am still confused. qx|o1|md|4SAK9H7DQ876CAJ943,SJT8642H2DKT2CQ76,SQ5HKT653DAJCKT52|rh||ah|Board 1|sv|0|pg|| qx|o2|md|4SKQJ7642H9DQJ8CK8,STHAK8762D74CQJ65,...
2
votes
0answers
145 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
1answer
22 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
1answer
60 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
1answer
118 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
404 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
42 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++? ...
1
vote
0answers
72 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
1answer
143 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
34 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, ...
3
votes
1answer
397 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
175 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
140 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 (...
2
votes
1answer
294 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
12 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 ...
3
votes
1answer
3k 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
67 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 ...
3
votes
0answers
708 views

Sublime Text 3: Open file in read-only mode directly upon opening

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
39 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
174 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
897 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 ...
4
votes
1answer
6k views

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

What is the purpose of these commands?:
0
votes
1answer
756 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
3k views

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

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
453 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
609 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
380 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
58 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. ...
2
votes
1answer
468 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 = 123 ...
2
votes
0answers
144 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 ...
20
votes
1answer
6k 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
1k 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
119 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
4k 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°...
1
vote
1answer
1k 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
1k 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
375 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
157 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) ...
1
vote
0answers
45 views

Sublime Text 3 keyboard shortcut to jump from Find Bar to text

I would like to jump from the Find Bar back to the text being edited, while keeping the Find Bar open. Currently I do it with a mouse click. Is there a keyboard shortcut for this, or how do I create ...
1
vote
1answer
2k views

sublime text 3 keybinding save with encode + utf8

As the title says. I want to make keyboard shortcut for save with encoding + UTF-8 . Anyone has idea how to do that in key bindings file of Submlime text 3?
1
vote
0answers
67 views

Is it possible to create a word preprocessor with a plugin?

I am wondering whether it is possible to create a plugin that would act as a kind of a word-preprocessor. Here is an example to make things more clear: Let's say I want to be able to highlight words ...
2
votes
0answers
265 views

Custom-defined type highlighting in Sublime Text

I am looking for a configuration/combination of plugins + clang (or any other parser) that can allow sublime text to highlight all custom defined types just like it highlights native types such as int,...