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
2 answers
33 views

How to type © in Sublime Text?

This should be straight forward: To type the copyright symbol © in Notepad (on a Windows PC) you press down ALT and then (with alt still pressed down) punch 0, 1, 6, 9 on the keypad. In Sublime text 3 ...
user avatar
1 vote
1 answer
36 views

How to run a program like sublime text 4 Editor from Terminal\PowerShell on windows computer?

enter image description here I tried "start subl" in the terminal, but it didn't work. is someone can help me figure this out I would be grateful.
user avatar
0 votes
0 answers
20 views

Ctrl + Alt + Shift + P doesn't work to "Show Scope Name" in Sublime Text 4 in Linux

This answer How do I see what the current "scope" is in SublimeText? says that Ctrl+Alt+Shift+P works in Linux to "Show Scope Name". This feature is also available from the menus ...
user avatar
2 votes
2 answers
244 views

Regex to replace spaces after specific word found on any line across multiple files

I am using Sublime Text, and I was wondering if there is a way to do this with Regex: I have multiple files that have different lines and text. In each of them I have a line that starts with "...
user avatar
0 votes
0 answers
59 views

Connection timeout - SFTP Sublime text to amazon EC2 on windows

I'm trying to use the SFTP packages from Sublime Text to access a remote folder on my EC2 server. I'm getting a Connection timeout failure. I don't understand why. Here are my current SFTP server ...
user avatar
  • 101
0 votes
0 answers
48 views

In SublimeText, how do I disable bracket completion for typing only?

By default in SublimeText, when you type a paren, bracket, or quote, the closing character is placed after your cursor. I find this very annoying, since often the closing character has to be much ...
user avatar
  • 101
0 votes
0 answers
38 views

How to auto-save unsaved tabs in Sublime Text?

I am using Sublime Text on Mac OS X. During the day I keep a sublime window open and keep adding notes by opening up new tabs in it. At the end of the week I have around 50 tabs open. I don't want to ...
user avatar
  • 101
0 votes
0 answers
22 views

' being automatically replaced by ‹› in Sublime Text 4

While using Sublime Text 4 with LaTeXtools in a .tex document (this doesn't occur in an other file format, like a .txt), I get, when pressing "'" to have an apostrophe, this "‹›". ...
user avatar
  • 1
0 votes
0 answers
24 views

Is there a way to jump to mark in Sublime Text?

Is there a way to jump to mark in Sublime Text? By mark, I mean under Edit, there is a selection of actions with respect to a marked line. I need to jump between 2 or 3 places in a large file (which ...
user avatar
  • 442
2 votes
0 answers
93 views

How to create new build system on sublime text 4

I used sublime text 3. I created a new build system for C++ to take input from the command line. Recently I installed windows 10. So I have to install sublime text again. Now the version of the ...
user avatar
0 votes
2 answers
116 views

Regex: Select everything up to | but not | (between <title></title>)

I have this example: <title>Square Meters | Dragon White (en)</title> I want to use regex as to select everything up to | but not | (between ...) My 2 regex selects also the |, this is why ...
user avatar
  • 730
3 votes
3 answers
1k views

Regex: Select everything on each line, after the first 2 letters of the beginning, but up to the dash

I have several many lines like this: af - miracle asfsa am - facut asfa az - ali baba asfa be - strong asas ty - asfa asfsa ... I want to select/delete all from lines after the first 2 letters. I ...
user avatar
  • 730
0 votes
0 answers
15 views

Sublime text color scheme customization

I have installed Sublime Text 4. The default color scheme is Mariana. I like it, but I don't like how the Dollar symbol behaves in php: I would like to have the $ with the same colour of the name ...
user avatar
  • 103
0 votes
0 answers
77 views

How to setup Cygwin in Sublime Text in terminus?

I saw a post about how to set up Cygwin in Sublime Text in this link, but it's still not working in my case. [ { "keys": ["alt+o"], "command": "...
user avatar
0 votes
1 answer
174 views

Can't open files in Sublime Text 4 by clicking on paths in iTerm2 after upgrade

I just upgraded Sublime Text 3 to Sublime Text 4. (and love it!) Now, I can no longer click on filepaths in iTerm2 and have them open in Sublime. I didn't notice for a few days, so I didn't ...
user avatar
1 vote
0 answers
80 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 ...
user avatar
0 votes
0 answers
32 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? ...
user avatar
  • 375
1 vote
1 answer
74 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:...
user avatar
0 votes
2 answers
2k 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,...
user avatar
  • 241
2 votes
0 answers
260 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 ...
user avatar
  • 6,931
0 votes
1 answer
71 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 ...
user avatar
0 votes
1 answer
152 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 ...
user avatar
0 votes
1 answer
207 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!
user avatar
0 votes
1 answer
581 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", "...
user avatar
0 votes
0 answers
45 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++? ...
user avatar
1 vote
0 answers
92 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 ...
user avatar
  • 11
0 votes
1 answer
241 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 ...
user avatar
  • 173
-1 votes
1 answer
59 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, ...
user avatar
3 votes
1 answer
521 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 ...
user avatar
1 vote
0 answers
226 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 ...
user avatar
  • 11
-2 votes
1 answer
221 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 (...
user avatar
  • 725
2 votes
1 answer
486 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? ...
user avatar
1 vote
0 answers
18 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 ...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
  • 133
2 votes
1 answer
3k 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", ...
user avatar
  • 1,309
0 votes
1 answer
155 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 ...
user avatar
6 votes
0 answers
946 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. ...
user avatar
  • 1,699
1 vote
0 answers
46 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 ...
user avatar
1 vote
1 answer
246 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 ...
user avatar
  • 85
0 votes
1 answer
1k 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 : '((.*?...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 1
6 votes
1 answer
8k views

What do "Goto Definition" and "Goto Reference" do in Sublime Text

What is the purpose of these commands?:
user avatar
  • 4,335
0 votes
1 answer
865 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 ...
user avatar
  • 175
2 votes
1 answer
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
user avatar
1 vote
1 answer
543 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.
user avatar
  • 259
2 votes
1 answer
762 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.
user avatar
  • 440
1 vote
1 answer
505 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 ...
user avatar
  • 2,677
0 votes
0 answers
76 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. ...
user avatar
  • 5,472
3 votes
1 answer
627 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 ...
user avatar
  • 2,595
2 votes
0 answers
174 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 ...
user avatar

1
2 3 4 5