sublime-text-3 interview questions
Top sublime-text-3 frequently asked interview questions
How can you get color into the ST3 build output window?
I'm using gccfilter to colorize my build output, but ST3 just displays the raw escape sequences. Is there any way to get it to process them? Or to remove gccfilter and just get ST3 to colorize the output (e.g. just grep on warning & error would be fine)?
Source: (StackOverflow)
How do I cut and paste a column of text in Sublime text 3 -
For example:
File A
Alpha
Beta
Gamma
Delta
File B
AAA
BB
CCCCC
I want to end up with file B having
Alpha AAA
Beta BB
Gamma CCCCC
Delta
Source: (StackOverflow)
How can I make Sublime Text (3) re-load the file currently being edited, to take into account changes having been made externally?
Source: (StackOverflow)
I use sublime text for my editors. I love it for everything else but 1 thing which is so annoying according to me. Whenever I change my branch, it brings up a pop up saying that file has changed and if I want to reload the file. I have attached an image for it as well.

I have researched a lot on this and found few preferences: ignoreChanged
and autoReloadChanged
which are set to true. It doesn't make any difference. I need some help to fix this annoying issue. Any help will be greatly appreciated.
Source: (StackOverflow)
I have the following build script for my JavaScript files in Sublime Text 3.
{
"shell_cmd": "node --harmony --use-strict --harmony_generators $file"
}
The problem is that when node returns an error, for some reason Sublime will spew out the path, which does not line-wrap, and pollutes the output.
C:\Users\JFD\Desktop\playground.js:2
console.log(b); // ReferenceError: a is not defined
^
ReferenceError: b is not defined
at Object.<anonymous> (C:\Users\JFD\Desktop\playground.js:2:13)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Function.Module.runMain (module.js:490:10)
at startup (node.js:119:16)
at node.js:827:3
[Finished in 0.1s with exit code 8]
[shell_cmd: node --harmony --use-strict --harmony_generators C:\Users\JFD\Desktop\playground.js]
[dir: C:\Users\JFD\Desktop]
[path: C:\Program Files (x86)\Microchip\xc8\v1.11\bin;C:\Program Files (x86)\CMake 2.8\bin;C:\MinGW\bin;C:\yagarto4.6.0\bin;C:\Python26\;C:\Python26\Scripts;C:\Program Files (x86)\Altium Designer S09 Viewer\System;C:\PROGRA~2\MpAM;C:\windows\system32;C:\Program Files\nodejs\;C:\Cadence\SPB_16.6\tools\bin;C:\Cadence\SPB_16.6\tools\libutil\bin;C:\Cadence\SPB_16.6\tools\fet\bin;C:\Cadence\SPB_16.6\tools\specctra\bin;C:\Cadence\SPB_16.6\tools\pcb\bin;C:\Cadence\SPB_16.6\openaccess\bin\win32\opt;C:\Cadence\SPB_16.6\tools\capture;C:\Users\JFD\AppData\Roaming\npm\;c:\altera\12.1\modelsim_ase\win32aloem;c:\altera\12.1sp1\modelsim_ase\win32aloem;c:\altera\12.1sp1\modelsim_ae\win32aloem]
How can I ask Sublime to not output the path?
Source: (StackOverflow)
I'm new to Sublime Text (using ST3) and I've managed to install the SublimeText/WordCount package via Package Control.
https://github.com/SublimeText/WordCount/blob/st3/readme.md lists enable_count_chars
as a preference that I can set to 'true'.
But I have no clue how to do that. Yes yes, I've tried googling it, but I'm having no luck finding it and I'm sure someone knows exactly how to do it :)
Source: (StackOverflow)
How do I open a file using only keyboard in Sublime Text 2/3?
Looking for equivalent of <Esc>:e /path/to/file
from Vim.
Source: (StackOverflow)
Using Sublime Text 3, is there a way to shorten the list of syntax options that are presented when changing the syntax? There are about 50 language options, and I only use about 5, so I'd like to only see those 5 to quickly select, .e.g., css, js, html, php, or sql.
I imagine there's a way to do this without deleting the syntax files, rather some kind of user settings override.
Source: (StackOverflow)
Sublime Text 3 has a default feature which makes tabs overlap each other instead of the old behavior where the horizontal length of the tab would shrink. How do you disable this?
Source: (StackOverflow)
The newest version of ST3 allows linux users to remove their menu bar, but I fail to see how to bring it back. In Windows, pressing Alt shows the menu, but not so in Linux. How can I get it back? Is there a shortcut I can set, or make it so that Alt shows it?
Source: (StackOverflow)
How to set shortcut for Copy file path
in sublime text 3?
I tried:
[
{ "keys": ["super+i"], "command": "copy_file_path" }
]
But seemingly command copy_file_path
not valid.

Source: (StackOverflow)
How to go to row number n
and column number m
in sublime text3
.
I can go to row by number. But can't find out how to move to column by its number on this row.
I need it because I got error reportings with fileName and 2 numbers: for example: 24:13
. That means row 24
and column 13
.
So I need to move to row 24
and column 13
fast without counting how many times I clicked on right arrow on my keyboard.
Source: (StackOverflow)
Are there shortcuts or plugins for Sublime Text 3 that enable the following functionality?
- Jump to the inside of the next left bracket or parenthesis
- Jump to the outside of the next right bracket or parenthesis
Source: (StackOverflow)
On Sublime Text running on Windows the Middle Mouse button acts as select range, on Linux its Shift+Right click. How can I set the middle mouse button to be select range on Linux? Specifically Sublime Text 3 on Ubuntu?
Source: (StackOverflow)