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.
211
questions
0
votes
1
answer
3k
views
Sublime Text 3 Automatically adds Javascript to Ignored Packages
I'm running Sublime Text 3 with the following Packages:
"CSSLint",
"HTML-CSS-JS Prettify",
"Javascript Beautify",
"JavaScript Completions",
"JavaScript Ultimate",
"JSLint",
"Package Control",
"Theme -...
0
votes
2
answers
78
views
When creating multiple new lines, Sublime only leaves indented the final the line I end up on, and not those above it
In Sublime, when you hit return, it auto-indents the new line, according to syntax. However, if I hit return more than once, going multiple lines down, the previous lines do not remain indented. They ...
0
votes
1
answer
517
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 ...
0
votes
1
answer
416
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 ...
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 ...
0
votes
1
answer
210
views
Notepad's .LOG command inside Sublime Text 3
I've been using notepad and notepad++ since forever, but now that i've been coding more I'm using Sublime Text 3. One feature of notepad that I miss most is the .LOG command.
When a file has .LOG on ...
0
votes
2
answers
2k
views
Is it possible to get Sublime Text's "Goto symbol" behavior on pressing Ctrl + R in Vim?
In Sublime Text, when I have a file open and press Ctrl + R, I get a type-ahead window with fuzzy matching on all function and class definitions in the file, making it possible for me to type some of ...
0
votes
1
answer
828
views
Are the shortcut keys in Sublime Text 2 the same on OS X and Windows, if you exchange Cmd with Ctrl?
I am using Sublime Text 2 on OS X, and I really like that editor. Now I need to explain the way Sublime Text 2 works to someone who is using Windows, and of course there's no Cmd key there. I guess ...
0
votes
1
answer
212
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({
...
0
votes
2
answers
502
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 ...
0
votes
2
answers
753
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 ...
0
votes
1
answer
139
views
How to make each cursor a tab stop?
When editing code with Sublime Text, I often use multiple cursors to put the same text in multiple locations. Usually each location will start with some common prefix, and end with something unique to ...
0
votes
1
answer
406
views
Trouble creating Custom Completions for Sublime Text 3
UPDATED
I'm working on Salesforce development using the MavensMate plugin for Sublime Text 3. I'm wanting to create a custom completions file that will contain some common HTML tag class names that I ...
0
votes
1
answer
382
views
What is the shortcut to "Add Next Line" in Sublime (Linux)?
In Windows is Ctrl+Alt+Arrow Up.
And "Add Previous Line" is Ctrl+Alt+Arrow Down.
My distribution is Linux Mint Rafaela 17.2
0
votes
1
answer
4k
views
How to install a Sublime Text 3 theme?
I don't understand why I'm getting all these errors:
Error loading colour scheme Packages/Material Theme/schemes/Material-Theme.tmTheme:
Unable to open Packages/Material Theme/schemes/Material-Theme....