Questions tagged [sublime-text-3]

Sublime Text 3 is a cross-platform GUI text editor for Windows, OS X and Linux.

Filter by
Sorted by
Tagged with
11 votes
3 answers
4k views

Reopen SublimeText as Administrator

Is there a SublimeText plugin that reopens the current file as Administrator? Notepad++ has a feature where, if you open a file and don't have the permissions to edit it, but try and save, it will ...
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
0 votes
3 answers
553 views

Regex: Find the letter (diacritics/Accent Marks) "î" in the middle of the words, but not the letter î at the beginning or at the end of the words

I must find the letter (diacritics/Accent Marks) î in the middle of the words, but not the letter î at the beginning or at the end of the words. For example: 1.stăpînii 2.înstăpanit 3.coborî 4....
0 votes
0 answers
4k views

Can’t find the “app.js” file when attempting to work on a project with React Native

I am trying to start working in React Native. After having the device connected by the expo app, it says in the “Getting Started” site: “Now that you have successfully run the app, let’s modify it....
18 votes
5 answers
10k views

How to disable only some Windows 10 global shortuts to use them in third-party applications?

1. Briefly I want to disable only some Windows 10 default global hotkeys, to use this hotkeys for run Sublime Text commands. 2. Detail I have Windows 32-bit 10.0.14393. In Windows 10 we have many ...
2 votes
1 answer
91 views

In Notepad++/Sublime Text 3, how do I make all text lowercase by regex, but only if specific phrase occured in the line?

Say I have text like that: models/players/clonespac/CloneTorsoLieutenant { q3map_nolightmap q3map_onlyvertexlighting { map models/players/clonespac/CloneTorsoLieutenant ...
2 votes
2 answers
6k views

7 Zip "access is denied" when I'm trying to edit archive

I'm trying to use Sublime Text 3 as a Java language tool and the internet says to edit the JavaC.sublime-build file in Java.sublime-package file. The problem is, when I'm trying to edit the archive ...
2 votes
1 answer
4k views

Elegant way to stop a running process in Sublime Text 3, without closing all of Sublime?

I just started learning C++, and discovered that this error, where code ran prior fails to close preventing it to run again, can force you to end the process before continuing. This can be solved by ...
3 votes
2 answers
7k views

How do I hide the title bar in Sublime Text 3 on Windows 10?

I'd like to get rid of the (very out of place) white bar at the top of the editor without having to go fullscreen. How can I do this in Windows 10?
15 votes
5 answers
24k views

Change default text editor to Sublime Text in Linux Mint

I've installed Sublime Text 3 from the .deb found here: http://www.sublimetext.com/3 Now, how to set it as the default text editor in place of gedit in Mint 16?
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 ...
0 votes
1 answer
3k views

Plaintext Syntax Highlighting and/or Custom Highlighting Syntax

How can you add custom syntax highlighting for a plaintext file? (for any filetype, not just txt) I leave this question open to any editor for those who know - I'm not picky. If you want me to be ...
9 votes
4 answers
3k views

Force Sublime Text to open on current virtual desktop in Windows 10

I often have several virtual desktops open in Windows 10 with various programs in each one. I often want to open in my current virtual desktop a new instance of a program that already has a window ...
0 votes
0 answers
189 views

SSH remote forwarding fails for root user

I'm using remote forwarding for Sublime (rmate) using the following configuration in my (local) .ssh/config file: Host host User user Hostname hostname RemoteForward /home/user/.rmate.socket localhost:...
1 vote
2 answers
818 views

How to replace Notepad with Sublime Text 3

Is there a way to completely replace Notepad with Sublime Text 3, i.e., the files that would normally open with Notepad should open with Sublime Text 3, not just with ..txt files.
1 vote
1 answer
318 views

Tie sublime text with the pdf viewer

I'm using Sublime Text 3 for LaTeX, and it works great. My only concern is that it uses an external PDF viewer (SumatraPDF), so I have 2 windows to work with. If these were the only windows I needed, ...
0 votes
3 answers
321 views

REGEX: put all the words in a paragraph on a single line

as seen below, each line in all the paraphrases is unfinished. The words at the beginning of each line in the paragraph are not a continuation of the previous line. I'm interested in connecting all ...
5 votes
2 answers
3k views

Disable file close warning dialogbox in Sublime Text

I primarily use ST as my temporary notepad. Now when I hit Ctrl+W it is producing me this dialog However 99% time my intention is "Close Without Saving". Is there a way to disable this popup? Since ...
0 votes
2 answers
135 views

Regex: Find all words that starts with `un|unui|o|unei` follow by any words, but after that words have the connecting element `de`

I want to find a regex formula, as to find all words that starts with un|unui|o|unei follow by any words, but after that words have the connecting element "de" unui model de amintire un ...
0 votes
0 answers
5 views

Sublime Vintage navigation with +,- not working?

So +, - keys are supposed to navigate to the next/prev line starting on the first non-white space character. But it doesn't do anything when I tried. Is it not supported? Don't think I have any key ...
0 votes
1 answer
49 views

Regex: Replace empty space with a dash between the words, on canonical html tag

I have this canonical link, but if you look well, there are some empty space on the html link. Those empty space I must replace it with a dash <link rel="canonical" href="https://...
-3 votes
1 answer
48 views

Regex: Find those words that doesn't have html tags on line, and add tags before and after

I have these 3 lines. The words in the second line are missing html tags. <p class="mb-40px">ARTICOL START</p> ARTICOL START <p class="mb-40px">ARTICOL START</...
0 votes
3 answers
78 views

Regex: Put the content of mutiple html tags into a single html tag

<p class="mb-40px">Decisive too, of <p class="mb-40px">otherwise, it was the opportunity to <p class="mb-40px">acquire what were to be two pillars <p ...
0 votes
1 answer
24 views

Regex: Add html link to another html link in the same html tag (Double the html Link)

I have this html class with a html links inside. The problem is not clickable on mouse over. So, I want to make it clickable. <p class="mb-40px"><strong>* Surs&#259;:</...
-2 votes
3 answers
594 views

Regex: Select and delete all lines between 2 points

I want to delete all those lines that starts with <script type="application/ld+json"> and ends with </script> For example: <script type="application/ld+json"> { &...
0 votes
2 answers
978 views

Replace between brackets content sublime & regex

I've actually got lines like this: [Sat Dec 31 18:24:18.700 2022] 0.017 sec 0.017 sec [all/2/rel 37 (0,700) @groupparentid] [post]keyword How can I delete the whole line starting with bracket [ and ...
4 votes
1 answer
1k views

My folder turned into a 'USB***' file

A folder (not the disk itself) containing misc. things in my flash drive turned into a single USBC[]ÇNY file when I was running the Sublime Text app. It has no modified-date, nothing, looks like ...
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. ...
6 votes
2 answers
7k views

Preserve unsaved files when Sublime Text 3 application is closed

I was working with Notepad++ on Windows, and now I use Mac. So, I can no longer use Notepad++, and I switched to Sublime Text 3. In Notepad++ there is a feature that I used with unsaved files. When I ...
3 votes
2 answers
2k views

How to change the width of file tabs in sublime text

I want all the file tabs in Sublime text to be of uniform size that increase or decrease uniformly depending on the number of tabs that are added or removed (Like how tabs work in Google Chrome). ...
3 votes
3 answers
7k views

Selective word highlight in SublimeText

Is there any way that i can select some words to be highlighted and their instances as well. This feature i especially used when viewing log files in Notepad++
1 vote
1 answer
252 views

Disabling package for certain file types in Sublime Text?

I've been using TabNine for autocompletion. It provides autocomplete for many languages. Now I'm trying out Kite which autocompletes only Python. If I didn't disable TabNine, then the TabNine ...
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 ...
2 votes
1 answer
245 views

alt key does not work in sublime 3 Terminus

I use Sublime 3 Terminus on a Mac. Recently, the alt key does not work. For example, to generate a |, I used alt+7. This does work in atext file, but not in Terminus. When I press alt+7, I get:(arg: ...
0 votes
0 answers
197 views

Can not connect with SFTP Sublime to OS X server

I have an SFTP server running on OS X that I want to connect to with the SFTP package in Sublime Text using macOS and connected with FileZilla without any issue. For some reason, I get a timeout every ...
0 votes
2 answers
84 views

Regex: Make search and replace up to a certain point (up to a certain line from paragraph)

So, I have this text. I need to use regex as to change the word however, and replace it with (empty space) The big problem is that I want to make the replacement in all text, but only those ...
0 votes
1 answer
421 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 ...
6 votes
3 answers
2k views

How can one rename a project in sublime text editor 3?

I would like to rename my project in sublime IDE. How do I do that? I don't want to change the name of the folder, just project name. Hope I'm clear.
-1 votes
1 answer
68 views

Regex: Add particular words from list to every 5 words - random

I have this words list: of, in the, that, as to, can, may, due to the fact that Also, I have this text/paragraph: The teaching methods represent the ways used in the school by the teacher to support ...
3 votes
1 answer
1k views

Regex: Delete all lines before STRING, except one particular line

I want to delete all the lines before <!DOCTYPE html>, but I want to keep the line that starts with: $item_id = <?<!-- ÉTOILES R -->); $item_id = 1442 ; // Remplacez-le par ...
1 vote
1 answer
231 views

Bring Window to Current Space in macOS

Background I've been using macOS's "Spaces" feature for years, and it's great. After trying a few different configurations, I use four Spaces: main work (e.g,. Xcode, Sketch), documents (...
1 vote
1 answer
1k views

Regex: delete all html tags from html tags, except some other html tags

I need to delete all html tags, such as <p style="text-align: center;"> , but except </em> and </em> from the html tag <p class="glovo"></p> EXAMPLE: ...
0 votes
2 answers
230 views

Find word that it is included in the tags, and if yes, delete that tag (with regex)

I have 2 html tags. But only the first tag has these 2 words: elementor and widget. So I want to find all html tags that has those 2 words, and if finds, delete the entire tag. <p class="jopp&...
0 votes
2 answers
6k views

Regex: Delete everything (all the text) before a particular word, but not after it

Chances are your color consultant has worked with hundreds of different clients over the years. WORD_1 They Have the Knowledge and Expertise I need to delete all text before WORD_1 but not after it. ...
2 votes
2 answers
1k views

Sublime Text: show project title before filepath in taskbar title (Windows)

Because my local server is multiple directories deep, I just see something like C:/www/projects/myp... for each sublime window, even though the full title includes the project name appended (e.g. C:/...
0 votes
1 answer
815 views

Regex: Find al words between <em> and </em> html tags, that have no space before `<em>` and after `</em>`

See this sentence below: A space of creation conceived as a <em>full</em>attributed to myself. You see that is no space before and after </em> So, I need to find al words between ...
0 votes
1 answer
463 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 ...
4 votes
2 answers
3k views

How can I input ASCII control characters in general into Sublime Text 3?

Related Question: how to type carriage return Characters like the carriage return, denoted by '^M', along with others such as '^A' '^B' etc. Currently, I'm only able to accomplish this by using ...
0 votes
1 answer
1k views

Sublime Text 3 - Regex Replace Using Conditional Match

In Notepad++, it is possible to use this kind of expression in the "Replace" box: (?{1}{$1}\n:) This means if first group matches, replace by first group followed by new line, else replace by empty ...
6 votes
1 answer
20k views

Benefit to purchasing a license for sublime text? [closed]

I'm currently using Sublime Text 3 as my primary coding application. I've noticed that after (say, 25, I really have no idea) files saves there is a notification about purchasing a license for Sublime ...

1
2 3 4 5
11