Skip to main content

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

Can’t type in Sublime Text in full-screen or distraction-free modes

If I enter either full-screen mode or distraction-free mode (via their commands under the menu bar’s View menu, or via their keyboard shortcuts), I can no longer type. All keypresses that don’t ...
2540625's user avatar
  • 425
0 votes
1 answer
54 views

How to run a file (e.g. VBScript) opened in Sublime Text?

I am learning VBS and making some scripts for practice. I find it inconvinient to switch to file explorer and run my VBScripts. Is there any way to execute files right from Sublime Text?
GlydeR's user avatar
  • 1
0 votes
1 answer
237 views

How to apply lsp quick fix in sublime text using a shortcut

This an example of a angular attribute directive. @HostListener is not imported in the class. import { Directive, ElementRef, HostBinding, Renderer2 } from "@angular/core"; @Directive({ ...
user615274's user avatar
0 votes
1 answer
369 views

Make SumatraPDF open advanced settings in Sublime Text

SumatraPDF used to open the advanced settings in Sublime Text, but now all of a sudden it fires up Visual Studio Code (which albeit a fine editor is not the one I regularly use). How do I change it ...
Fredrik P's user avatar
  • 177
0 votes
1 answer
42 views

Regex: Delete the contents of all files that start, the first line, with the word ETICHETE:

I want to use Regex to delete the contents of all files that start with the word ETICHETE: For example, all my files starts, the first line, like this: Eticheta: Semifinala GBOB Crisana - Revista De ...
Rob Rob's user avatar
  • 111
0 votes
1 answer
560 views

How can I replace the numbers after the dot?

I have a json file in my hand, I want to replace the numbers here so that there are 2 digits after the dot. I am using (Sublime Text, Notepad). can you help me? for example; I want to write 32.48 ...
theoyuncu8's user avatar
0 votes
1 answer
1k views

Sublime Text Search and Replace

I want to replace all my $r->fields[variables] to $r->fields["variables"] Can anyone please tell me how to do this?
susi's user avatar
  • 1
1 vote
1 answer
464 views

Key refused in Sublime SFTP, but works in PuTTY

I've been using the SFTP package on Sublime Text to connect to AWS EC2 instances for a few years now and I've never had any problems. Today I created a new instance and for some reason I'm having ...
Júlio Pradera's user avatar
0 votes
1 answer
136 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 ...
Ghoul Fool's user avatar
2 votes
1 answer
3k 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.
Nisan Erez's user avatar
2 votes
2 answers
3k 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 "...
Lernisios's user avatar
0 votes
0 answers
27 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 "‹›". ...
Elyo's user avatar
  • 101
0 votes
1 answer
539 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 ...
Argyll's user avatar
  • 636
2 votes
1 answer
1k 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 ...
Satyajit Roy's user avatar
0 votes
2 answers
516 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 ...
Just Me's user avatar
  • 864
3 votes
3 answers
4k 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 ...
Just Me's user avatar
  • 864
0 votes
0 answers
303 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": "...
RajinCoding2007's user avatar
0 votes
2 answers
780 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 ...
David Hempy's user avatar
1 vote
0 answers
221 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 ...
Ahmed Numan's user avatar
0 votes
0 answers
64 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? ...
Armster's user avatar
  • 515
1 vote
1 answer
687 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:...
user1560100's user avatar
1 vote
2 answers
6k 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,...
blackened's user avatar
  • 261
3 votes
0 answers
559 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 ...
Art Gertner's user avatar
  • 7,319
0 votes
1 answer
708 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 ...
user56reinstatemonica8's user avatar
0 votes
1 answer
244 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 ...
Pramod N K's user avatar
0 votes
1 answer
652 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!
Michael C's user avatar
0 votes
1 answer
743 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", "...
WhoDunnett's user avatar
1 vote
0 answers
141 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 ...
seppo's user avatar
  • 11
0 votes
1 answer
421 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 ...
Pierre's user avatar
  • 175
-1 votes
1 answer
487 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, ...
Sylvester W. Zhang's user avatar
3 votes
1 answer
589 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 ...
kloddant's user avatar
1 vote
0 answers
319 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 ...
Kyle O's user avatar
  • 11
-2 votes
1 answer
518 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 (...
Stephen's user avatar
  • 824
2 votes
1 answer
1k 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? ...
Max Wallace's user avatar
1 vote
0 answers
37 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 ...
Hashaam zahid's 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 ...
Tau's 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", ...
automatix's user avatar
  • 1,435
0 votes
1 answer
287 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 ...
RocketNuts's user avatar
  • 1,202
7 votes
0 answers
1k 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. ...
tukan's user avatar
  • 2,273
1 vote
0 answers
52 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 ...
SparkleFish's user avatar
1 vote
1 answer
370 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 ...
Markski's user avatar
  • 85
1 vote
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 : '((.*?...
BillyNM's user avatar
  • 13
0 votes
1 answer
4k 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 ...
D.H.N's user avatar
  • 1
6 votes
1 answer
11k views

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

What is the purpose of these commands?:
dangph's user avatar
  • 4,913
0 votes
1 answer
1k 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 ...
Kurt Peek's user avatar
  • 175
2 votes
1 answer
4k 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
Sanjeev Singh's user avatar
1 vote
1 answer
769 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.
Karlom's user avatar
  • 309
2 votes
1 answer
1k 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.
Jeff Dege's user avatar
  • 510
1 vote
2 answers
1k 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 ...
phihag's user avatar
  • 2,777
0 votes
0 answers
96 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. ...
Hai Vu's user avatar
  • 6,110

1
2 3 4 5