Most voted "sublime-text" questions
Sublime Text is a cross-platform text and source code editor written in C++ language. Initially, the program was intended to be an extension of Vim.
Learn more…57 questions
Sort by count of
-
14
votes3
answers1028
viewsFacilitation in PHP projects
I work with PHP using Sublime Text and would like something similar to what it is in Eclipse. For example: In Eclipse I can open exactly where the method was declared. In Sublime Text I did not find…
-
8
votes3
answers464
viewsIDE - Divergence between Ides relative to tab [to Enter]
On grounds of hadware, I am the only one in my team that is using Sublime Text 3, the others are using Eclipse Luna or Mars, until there is nothing more. However since the exchange I’ve had some…
-
6
votes1
answer25024
viewsHow to put autocomplete in Sublime Text 3?
I use Sublime Text 3 to program only autocomplete is not working for me. I have already installed plugin Sublime Intelcode but it still doesn’t work. Suggestions don’t appear when I write the code.…
sublime-textasked 9 years, 9 months ago César Sousa 2,025 -
6
votes3
answers570
viewsHow to jump from one tab to the other in Sublime Text?
Is there a shortcut on the keyboard to jump from one tab to another in Sublime Text?
sublime-textasked 7 years, 7 months ago Sergio Souza Novak 513 -
6
votes1
answer86
viewsIs there a shortcut to go to the last edited line?
In Sublime Text, I’ve already happened to be editing a line of code and have to check a code right above to see what I’m going to implement. Turns out, when I do this, I miss a shortcut so I get…
-
5
votes1
answer2843
viewsSublime problem to run python code
In giving CRTL+B in sublime 2, to run my code in python, appears this error message, someone knows what is? Decode error - output not utf-8] [cmd: [u'python', u'-u',…
python python-3.x sublime-text sublime-text-2 sublimereplasked 10 years, 5 months ago Leonardo Villela 53 -
5
votes1
answer167
viewsLocate line that starts with negation of the expression
I have a text file with many lines. It is possible for me to find the first line that does not match the regex? Example, I want to make a regex that shows me the first line that doesn’t start with…
-
5
votes1
answer6927
viewsHow to change Default Encoding in Sublime Text 3
In my work, we program in PHP mainly and all the code files were made in ASCII, I’m making some inclusions of pages and I often need to open the existing files and add new things. I do this through…
character-encoding utf-8 sublime-text ascii sublime-text-3asked 6 years, 7 months ago LuisFelipe 100 -
4
votes1
answer193
viewsHow to create snippets for __Construct?
I use Codeintel for PHP, but when I try to create the __construct I have to do everything manual. Someone knows how to develop the snippet to create the same or have a plugin own?…
sublime-textasked 9 years, 9 months ago Fernando 63 -
4
votes5
answers25409
viewsShortcut to rename, overwrite, or replace words or variables alike in Sublime Text 3
In Eclipse, there is a feature that is triggered by the commands CTRL + ALT + U (Correct me if I’m wrong) which renames variables with the same name. Do you know any shortcut from Sublime Text 3 do…
sublime-textasked 9 years, 6 months ago Israel Sousa 1,362 -
4
votes2
answers184
viewsHow can I sort by line size in Sublime Text?
I wonder if there is any way to sort the line by its size in the Sublime Text. 'Cause I got a code like that: use ArrayAccess; use ArrayIterator; use IteratorAggregate; use Countable; use Closure;…
sublime-textasked 9 years, 4 months ago Wallace Maxters 102,340 -
4
votes7
answers185
viewsCapture year outside the regex
I am working with a text file using the sublime I want to replace some strings where: I have several strings like this: EMISSAO="2016-04-18 00:00:00" I need a regex that captures where the year is…
-
3
votes2
answers1709
viewsSaving File in Sublime Text 3 in ISO-8859-1
When I try to save a file by changing the encoding for Western(ISO 8859-1), appears the following error message: someone knows the reason ??…
-
3
votes1
answer1567
viewsHorizontal scroll bar in the sublime text3, how to activate?
I use Sublime text 3 in my cakephp projects. By default the html files in cake have the extension . ctp and when I need to tinker with a file. ctp where I have a very large line of code it gives a…
-
3
votes1
answer512
viewsHow to move a file to another folder in Sublime text?
How to move a file to another folder in Sublime text? If I have that structure -- storage/ ---- src/ -- /index.php How could I move index.php for src/storage/index.php? -- storage/ ---- src/ ------…
sublime-textasked 9 years, 4 months ago Wallace Maxters 102,340 -
3
votes1
answer1480
viewsWhich sublime t 2/3 plugin name indicates syntax error in php language?
I need to know some sublime text 3 plugin that it indicates error in the syntax of real-time debuger code like the one in phpStorm... someone knows?
-
2
votes1
answer165
viewsSet Sublime Text custom block 3
I would like to create a custom block, almost as the comment creates. The small difference is that it will be adapted to my need, example: It has a standard CSS code, it automatically when I create…
-
2
votes1
answer246
viewsAssign id according to text content
I don’t know if it’s better Javascript, PHP, or even the sublime text, but, I copied the text of cf and pasted on a txt (to get rid of those weird tags) then in the sublime text, I: selected…
-
2
votes1
answer153
viewsSublime Text read Less file with CSS syntax
Someone knows how to make Sublime Text open Less file and recognize its syntax. When I open the file . Less, tighten crt+shift+P and choose Set Sintax: CSS, but I have to do it every time. Someone…
sublime-textasked 9 years, 6 months ago Alê Moraes 883 -
2
votes2
answers2468
viewsHow to edit my JS files inside Docker container using Sublime 3?
I am using Docker 1.7 on MAC OSX and have created a container with an Apache and a WEB application. I would like to edit JS fonts using Sublime Text 3. How can I do that ?
-
2
votes0
answers256
viewsSVN - Sublime Text 3
I’m using Sublime Text 3 for development and I need a good SVN. I’m currently using the SVN, however the system of comparison of his files did not please me much, I also found the Sublimerge, This…
-
2
votes1
answer1419
viewsFind duplicate words without selecting one by one
In Sublime Text I know I can find duplicate words if I select one by one as the image shows: When I select the word Item the Sublime highlights the other references. There is the possibility to…
-
2
votes1
answer3814
viewsHow to debug PHP by Sublime Text 3?
What is the process for debug PHP for Sublime Text 3? I read in some places that the Xdebug, but most of the procedures I saw didn’t work. Note: My System is Ubuntu and I’m using PHP 7.…
-
2
votes1
answer90
viewsInsert 0 when you have 10 numbers
I have the following sequence: 3531399402 It has 10 numbers, with this regex I can list these occurrences: ^\d{10}$ I am using a text editor and I need to replace these occurrences and insert a 0…
-
2
votes1
answer78
viewsIs it possible to import a Sublime function into Vscode?
There is a function that I use a lot in the sublime that is the F12: { "keys": ["f12"], "command": "goto_definition" }, It displays all functions with the same name and even guide to the target file…
-
1
votes0
answers116
viewsHow to remove auto-complete from autofilename?
I would like to know how to remove the autocomplete automatic of self-name, every time I open the quotes it shows the directories and this is upsetting. Does anyone know how to not let it automatic…
sublime-textasked 9 years, 9 months ago Fernando 63 -
1
votes1
answer2508
viewsHow to compile and run C program using Sublime Text on Ubuntu 12.04?
You can configure Sublime Text 2 so that it will embed a C code and then run and show the result in the terminal?
-
1
votes1
answer114
viewsSublime Text - How to ignore the acquisitions sought by the shortcut (Goto Anything) CTRL+P?
In sublime text we have an option called Goto > Goto Anything, which is accessed via the shortcut CTRL + P. This is very useful as we can open a project file by simply pressing CTRL+P and typing…
-
1
votes0
answers454
viewsRemove unnecessary spaces in html tags
Good afternoon, It’s a simple question But I’ve been racking my brain for a while. Every time you save an html file to sublime 3, it puts an empty space, making the form look like this : EX:…
-
1
votes2
answers2421
viewsPython problem in sublime text
Well, guys, I’m having a problem when I put my python code in sublime text to run. The problem is, the code doesn’t work, just compile and nothing else. In case, it is not running any line (trying…
-
1
votes0
answers70
viewsRun python file(by terminal) by Sublime Text 3
I currently use Atom to write my programs in Python. However, I want to migrate to sublime text for convenience and for being a lighter program. I use a plugin in Atom called: Atom-python-run. He…
python python-3.x sublime-text sublime-text-3asked 7 years, 10 months ago Vinicius Barbosa de Medeiros 331 -
1
votes1
answer3392
viewsDelete blank lines
I have a text that has a structure like this: AJUSTE_ESTOQUE AJUSTE_PRODUCAO AJUSTE_QUALIDADE AMOSTRA I made a regex (^\s*$) to locate these blank lines, how can I remove them so that each word is…
-
1
votes2
answers1127
viewsRegex only at first occurrence
I’m wearing the sublime and would like to do a mass replace. My texts are in this pattern: ABC ("Teste regex I would like to remove the space after the ABC and it should stay that way: ABC("Teste…
-
1
votes2
answers6731
viewsShortcut in the editor to open HTML in the Navigator
I’m studying html and javascript, I wonder if there is any way inside the sublime that by pressing for example F12, the file can be opened directly by some browser. No need to save the file and…
sublime-textasked 6 years, 9 months ago Paulo Gonçalves 11 -
1
votes0
answers731
viewsHow to integrate Sublime Text with a Github repository
I own a repository on Github, like I integrate this repository into Sublime Text to commit my sources? I searched tutorials, but could not find.
-
1
votes0
answers43
viewsLatex file to open a file on the computer
Hello, I have a question about opening files through PDF. Class 02 is a file that contains links to open other files. If I click on "1-ola_mundo. c" inside the pdf, it should open the code…
-
1
votes2
answers12885
viewsHow to compile Python code in Sublime Text 3 running on the Linux operating system?
I’m editing the question to better explain what my question was. I am a linux user and am starting web projects in Python. Soon I made use of the text editor, Sublime text 3, but it has a problem to…
-
1
votes1
answer184
viewsSublimetext error
Has anyone ever had this error when starting Sublime Text: Error loading syntax file "Packages/PHP/PHP.sublime-syntax": Apparent recursion Within a with_prototype action: 25000 context Sanity limit…
-
1
votes3
answers428
viewsCtrl-Click Sublime Text on VS Code
In Sublime Text has a function where we hold the Ctrl and click on a text and it is selected. There is this function in VS Code? Here’s an example image where I selected 2 different texts in…
-
1
votes0
answers1081
viewsAutomatic tag indentation in Sublime Text 3
I am facing problems copying and pasting XML or HTML codes from other applications in Sublime Text 3. The HTML code for example, after a Ctrl + v, is in this style: <!DOCTYPE…
-
1
votes1
answer369
viewsConfigure sublime 3 to compile Nodejs
Hello! I’m 2 days looking for a solution to make the sublime 3 compile a Nodejs app that I have. I have tried several solutions found on the internet…
-
1
votes1
answer183
viewsHow to place dots at the beginning and end of the selected word as well as quotation marks
I would like to know how I can make Sublime Text 3 add a point . at the beginning and end of the word I selected, in the same way as with the characters ' and ". When we select a word in Sublime and…
-
0
votes1
answer119
viewsSublimerepl does not run the code
I’m using Sublime to write some codes in Python and Sublime REPL to "run" the codes. Anyway, I installed by package control, until then nothing strange, but when I put to run by REPL it gives "file…
-
0
votes1
answer45
viewsWhat is the difference between sublime_plugin.Textcommand and sublime_plugin.Windowcomand?
When we create a plugin, Sublime Text usually creates a sample using the class sublime_plugin.TextCommand. import sublime import sublime_plugin class ExampleCommand(sublime_plugin.TextCommand): def…
-
0
votes1
answer148
viewserror in the sublime
Yesterday I wore the sublime normally, but today when I execultei presented the following error Can you help me ?…
sublime-textasked 7 years, 6 months ago user77295 -
0
votes1
answer1173
viewsAutocomplete list ul>li*n in Sublime Text 3
Seeing various tutorials on the internet where they use Sublime Text 3 to edit HTML codes, type ul>li{item}*4 and then Ctrl+Space Sublime completes the code with: <ul>…
-
0
votes1
answer774
viewsSublime text words with accent
I use sublime text on Windows 10, keyboard (US) and I can’t put words with accents (e.g. ç, ã, (no != no)).?
sublime-textasked 7 years, 5 months ago user80447 1 -
0
votes0
answers42
viewssource code upside down
Does anyone know how it resolves? I use sublime text it got like this out of nowhere.…
sublime-textasked 6 years, 5 months ago Ivan Guilherme 1 -
0
votes1
answer198
viewsHow to drag selected text to the left with sublime text?
I can only find tutorial that shows how to drag up and down (Ctrl+Shift+arrow) or to the right (TAB). But I want to select and drag everything at once to the left.…
sublime-textasked 5 years, 4 months ago Fernandes SF 15 -
0
votes1
answer188
viewsHow can I impute values with Sublime text
How can I pass values to Sublime Text Exp: I created this simple program to make a basic account! Note: there is no box to pass value, I believe you need to use the terminal but I do not know very…