Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [sublime-text-3]

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

0
votes
0answers
21 views

Automatically kill processes before they use up all available RAM

So I was going about my daily business, casually editing a 333 million character text file in Sublime Text on my machine with 8GB of RAM, and decided to Ctrl+A the entire text file. Needless to say, ...
0
votes
1answer
62 views

Replacing notepad.exe with sublime text

I have tried the following method: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad.exe] @="C:\\Program Files\\Sublime Text 3\\sublime_text.exe" But it doesn't do ...
0
votes
0answers
29 views

How to remove a limit of 100kB when highlighting a file with custom syntax?

I have created a custom syntax file for Smalltalk/X - smalltalk embedded with C. The highlighting file is mostly correct (still needs some love, but that is out of the scope of this question). I ...
0
votes
1answer
23 views

How do I stop the auto close of semi colons in CSS in Sublime Text 3?

When I make a property in CSS and use the open bracket semicolon it auto creates the close bracket semicolon. How can I disable this in Sublime Text 3?
0
votes
1answer
35 views

Sublime Text 3 custom select list for general-purpose autocomplete [closed]

Select list for 'multiple-choice' style input For Sublime Text 3, is there a plugin or package that enables the creation of custom-made select drop-down lists? The goal is something that works with ...
0
votes
1answer
26 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
17 views

Sublime Text 3: Customize certain syntax highlighting

(I am aware that this and similar questions have been asked already. But I am still confused.) Example case: I have installed the LaTeXing package for LaTeX and I am using the ayu-light Color Scheme. ...
0
votes
1answer
27 views

Undo sorting in Sublime

I'm pretty new at Sublime text 3 and I accidentally hit F9 and then closed sublime and did not save. The problem is that when I reopened the file it was all in alphabetical order and I can't seem to ...
0
votes
0answers
29 views

Running Sublime Text on underlined code

I am using Sublime Text as text editor. To run the code I press Ctrl+B (I use a Mac) but it runs all the code in my Sublime Text file. Is there a way to only run my desired (underlined) code? ...
0
votes
0answers
14 views

Bind Insert key in Numpad without affecting normal Insert key

Is there a way to bind 0/Insert button in Numpad without affecting normal Insert Key? Here is what I have currently: [ { "keys": ["ctrl+0"], "command": "reset_font_size" }, { "keys": ["...
0
votes
1answer
76 views

Sublime Text 3 - sporadic indentation errors on Python files

Sublime Text, build 3175, Macos Every so often I will randomly get an IndentationError: unexpected indent message on a previously working Python file. Inspecting the file in the editor does not ...
0
votes
0answers
155 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?
1
vote
1answer
38 views

How to move Sublime Text’s build window to the right side of the window?

I recently installed Sublime Text and it is on the right side. It's not moving to the center. I can't move/drag it to the center, even if I uninstall and reinstall it. Nothing works.
0
votes
0answers
13 views

Maintaining indentation when switching lines

I am using Sublime Text with the LaTexTools package. When I am working on an indented piece of text, for instance, \begin{equation} xyz + u =10 \end{equation} sometimes I purposefully ...
0
votes
1answer
79 views

How to find an open file by name in all Sublime Text windows

Answers like https://stackoverflow.com/questions/20519040/search-in-all-files-in-a-project-in-sublime-text-3 and Search all within opened tabs with Sublime Text 2 tell how to search open files using ⌘+...
0
votes
0answers
39 views

How to change a sidebar icon in Sublime?

My ColdFusion (cfml / cfc) files are represented as html / js icons in sublime's sidebar. How do I tell sublime to use a cf icon instead of the default icons? Note: I'm using A File Icon and my ...
0
votes
0answers
41 views

Show non-printable characters in Sublime

I'm looking for a way to turn back old-styles highlighting of 0x01-0x20 characters in Sublime 3. After latest update it started to show them in hex-style, like on picture: Previously it was just ...
1
vote
1answer
32 views

Sublime Text 3 autocomplete issue

I am not sure this is called an autocomplete feature but nonetheless. I used to create a new HTML container with the following: "." + className + "tab" So typing .foo + "tab" would create <...
0
votes
0answers
14 views

Sublime Text: Is there a way to edit + save files right from the Search Result in Sublime?

I sometimes find myself in need of doing a quick edit + save over multiple files for a given string. What I usually end up doing is: Find all files for which 'string' occurs in search results open ...
1
vote
2answers
41 views

How to get status code of previous command in Sublime-build “cmd”?

I want to use custom build commands for C source codes in Sublime Text 3. I am using the following code as sublime-build : { "cmd" : ["gcc $file_name -o ${file_base_name} && konsole -e ''...
0
votes
1answer
241 views

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

What is the purpose of these commands?:
0
votes
2answers
123 views

Removing duplicate paragraphs with Edit Pad Pro or Notepad++

I have a .docx file that contains mcqs which are in the format as shown below. The problem is there are many duplicate mcqs and I would therefore like to know if a regex can be created to detect all ...
0
votes
0answers
25 views

Text typed into different apps (e.g. Chrome, Sublime) find functions (Cmd-F) overwrites each other

I'm seeing unusual behavior in the interaction between some Mac programs like Firefox, Safari, Sublime, and Chrome. I'll concentrate on the last two. I have a Macbook Pro (Retina, 13-in, mid-2014) ...
1
vote
1answer
28 views

What does super+tab mean?

I am in debian9, a distribution of linux. For my emmetoneline key binds setting: [ { "keys": ["super+tab"], "command": "emmet_css_from_one_line" } ] What does super+tab mean? Which two keys will I ...
1
vote
0answers
97 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). ...
0
votes
0answers
16 views

How to re-size a image file in the Sublime text?

I have opened a png in the Sublime Text running in Mac OS and this looks like the following. I cant see the entire image on the screen. Is there any option to see the entire image altogether?
0
votes
1answer
121 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 ...
0
votes
0answers
19 views

Show parent in Sublime Text 3 Goto Symbol

In sublime, when you press ctrl+R the "GoTo Symbol" list appears. So for example if I have a class class Test: def foo(): pass def bar(): pass The "GoTo Symbol" would list: foo() bar() ...
1
vote
1answer
811 views

How to hide “unsaved changes” box at the bottom of Sublime Text 3?

I accidentally clicked "Show Unsaved Changes" in the Sublime Text 3 context menu, and it created a pull up container at the bottom of the screen showing a diff between the current state of the file ...
0
votes
0answers
187 views

VMware Horizon Display Scaling Artifacting

I'm running VMware on a Surface Pro running Windows 10, and I'm using it to connect to a Windows 8 virtual desktop. I'm using various multiple monitor setups around the place. When using the ...
0
votes
0answers
14 views

Preserving comment hierarchy in sublime 3

I use sublime for my Latex documents. In Latex, commenting a line means add '%' in front of the line. For example in the below scenario line 2 is commented, but lines 1 and 3 are not commented. Line ...
0
votes
1answer
371 views

Sublime Text auto complete custom functions php

I can't bring ST to autocomplete functions that I have defined in other scripts. Once I use it in the script, it recognizes and suggests it. Otherwise it won't, I have to jump back and forth to copy ...
0
votes
1answer
75 views

SublimeText highlighting for plain text

Sublime has highlighting plugins for almost any language, however often i use raw text format to write down some ongoing notes. When the content gets big enough it is useful to have some ...
1
vote
1answer
538 views

How to disable word wrapping in Sublime Text 3?

In Sublime Text 2 there was a menu option to disable word wrapping, now it seems the word wrapping is forced without the ability to disable it. I've tried to set: "word_wrap": false in User's Syntax ...
0
votes
0answers
276 views

View in browser PHP file xampp in Sublime Text 3

Try to view a PHP page in the browser with SublimeText 3 and XAMPP in Windows 10, but can’t seem to find the proper path. It still wants to open the browser to the directory location of the file, ...
1
vote
1answer
83 views

How do I map extensions in SublimeText

I am currently working with nodejs modules and, despite being just js files, it uses the mjs extension when I declare --experimental-modules. Is there a way I can map Sublime Text to treat mjs as js?
1
vote
1answer
245 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
0answers
84 views

Eclipse's Ctrl+k equivalent in Visual Studio Code

I am trying to use Visual Studio Code for my php projects. Coming from Eclipse I really miss Ctrl+K command which jumps to the next occurence of the same word and Ctrl+Shift+K goes to the previous. Is ...
2
votes
1answer
18 views

How can I add a list of text items to the end of another list of text items?

I have 150 lines of text which looks something like this: select * from my_table where name = select * from my_table where name = select * from my_table where name = select * from my_table where name ...
1
vote
1answer
81 views

Sublime is crashing because of huge csv file while editing content using regex

I have almost 1GB csv file and need to edit that file with using regex and have to do find and replace on sublime with regex \=\\\" for finding and =' for replacing. I can do it from spiting csv file ...
0
votes
1answer
124 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.
0
votes
0answers
15 views

Can I make Sublime Text autocomplete treat accented characters as the same as unaccented ones? E.g. A=Á, E=É

Meaning that if I have a file foo fóó // and I start to type: fo| +-------------+ |foo | |fóó | +-------------+ // ^^^ Then I'd like the autocomplete box show both `foo` and ...
2
votes
2answers
443 views

Sublime Text + LaTeXTools: How To Automatically Delete Generated Files After Compilation?

I use Sublime Text Editor 3 with LaTeXTools to write in LaTeX. I compile files by pressing Control+B. If I name my text file as main.tex, the generated files will be: - main.aux - main.bbl - ...
4
votes
1answer
563 views

How to see current column/character number of the cursor position in Sublime Text 3?

Maybe I've missed something and/or am using the wrong search terms: this seems like a standard feature but I can't find any such option to show column numbers in the View menu and can't find anything ...
2
votes
1answer
71 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
78 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
26 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
0answers
33 views

Unable to remove project from Switch Project panel even deleted from sublime_session file

OS: macOS High Sierra 10.13.1 Sublime Text 3 build 3143 I have added one project and save the project and it is visible in Switch Project Panel (^ + ⌘ + p) Now I have deleted that project from ...
0
votes
0answers
48 views

I unplugged a flash drive before a file was flushed to it. Can I recover that file somehow?

Using Sublime Text 3, I saved a file to my flash drive and unplugged it immediately (without safely removing). Unfortunately, the file was not stored on the flash drive, so I must have unplugged it ...
1
vote
1answer
444 views

Open files in existing window in Sublime Text

Currently, when I double-click on a file in Finder, it opens a new Sublime Text window, when I already have a Sublime Text window open. This results in me having to drag the tab in the new window to ...