Questions tagged [sublime-text-plugin]

Sublime Text is a multi-language, multi-platform code editor with a Python-based plugin API. Use this tag for questions relating to Sublime Text plugin programming.

Sublime Text is a multi-language, multi-platform code editor with a Python-based plugin API. Use this tag for questions relating to Sublime Text plugin programming.

768 questions
492
votes
11 answers

Comparing the contents of two files in Sublime Text

I have two cloned repositories of two very similar open-source projects, which I have been working on in different instances in Sublime Text 2 to arrive at my desired result. Code from both of these projects was used. I have been using Git as…
LanceLafontaine
  • 5,680
  • 4
  • 20
  • 34
370
votes
21 answers

Eslint: How to disable "unexpected console statement" in Node.js?

I'm using eslint with Sublime Text 3 and I am writing gulpfile.js. /*eslint-env node*/ var gulp = require('gulp'); gulp.task('default', function(){ console.log('default task'); }); But eslint keeps showing error : "Error: Unexpected console…
Jean Y.C. Yang
  • 4,382
  • 4
  • 18
  • 27
64
votes
12 answers

Fatal: could not read username for 'https //github.com' device not configured

I am trying to push code to github with SublimeGit plugin, but something weird occurs to me. Pushing to https://github.com/username/username.github.io.git fatal: could not read Username for 'https://github.com': Device not configured Have been…
Tangoo
  • 1,329
  • 4
  • 14
  • 34
41
votes
1 answer

Sublime Text - Goto line and column

Currently, the Go to line shortcut (CTRL+G in windows/linux) only allows to navigate to a specific line. It would be nice to optionally allow the column number to be specified after comma, e.g. :30,11 to go to line 30, column 11 Is there any plugin…
Leo Gallucci
  • 16,355
  • 12
  • 77
  • 110
39
votes
4 answers

How to show invisible line endings in Sublime Text 3?

I would like to display invisible line endings in Sublime Text 3, as for example in Notepad++. How can we do that? This is useful because when the automatic word wrap mode is ON for example, because it becomes hard to distinguish soft line breaks…
sdive
  • 2,047
  • 1
  • 20
  • 20
34
votes
3 answers

Run Python Debugger (pdb) in Sublime Text 3

How can you set python debugger (pdb) breakpoints in Sublime Text 3? Both SublimeREPL or Python Breakpoints fail with default python build system: print "hello" # code runs fine without this breakpoint import pdb; pdb.set_trace() print…
ecoe
  • 4,994
  • 7
  • 54
  • 72
31
votes
2 answers

How to align texts in Sublime Text 3?

I use Sublime Text 3 Plug-in called AlignTab to align my code like this: Version : 1.4.1 Author : Ken Wheeler Website : http://kenwheeler.github.io Docs : http://kenwheeler.github.io/slick Repo : http://github.com/kenwheeler/slick …
code-8
  • 54,650
  • 106
  • 352
  • 604
31
votes
6 answers

How to integrate Sublime Text with GitHub?

I thought it would be perfect if ST would have a plugin for syncing repo with the one on GitHub account, but I can't find such a thing. There is Github Tools and sublime-github but they don't provide commit or push commands. I can always use…
van_folmert
  • 4,257
  • 10
  • 44
  • 89
25
votes
4 answers

How to install sublime package without package control?

How can I install a sublimetext3 package manually, without the package control. I am trying to fix a bug in an existing package, therefore I need a way to test my changes. what are the naming conventions to be followed when naming the zip…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
23
votes
1 answer

Sublime Text 3 - ensure _only_ one trailing newline at end of file

I'm using Sublime Text 3 and want to ensure I get only a single new line at the end of a file on save. At the moment, 90% of the time my whitespace works perfectly, using: "ensure_newline_at_eof_on_save":…
SRack
  • 11,495
  • 5
  • 47
  • 60
23
votes
2 answers

Bad autocompletion in SublimeText3 when pressing tab in PHP array

I'm using SublimeText3. When i work in an array in PHP, the autocompletion proposed by pressing Tab totally annoys me. I just want to add some tabulations, but at each time i press Tab, sublimetext propose me : array() Create a PHP Array. If…
kaal
  • 335
  • 3
  • 12
18
votes
1 answer

Colorize files in SublimeText tree-view based on git status?

I love sublimeText, use it everyday since a year now. There is a feature I am looking for : in my list of files (left panel), I would like to colorizes folders and files that are untracked, ignored, and modified. This feature is part of Atom but I…
18
votes
1 answer

debug mode for logging any commands in the sublime console

I used that command but forgot how to turn it on: In sublime console, which is invoked by ctrl+` I typed something like ... turn_on_debug_mode ... and sublime console started to log every command I run. For example, if I press right mouse button on…
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
17
votes
0 answers

Sublime Text Typescript auto import plugin

I am working with the new angular 2 beta, and I am getting to love typescript. However, there has been one thing to really annoy me and that is having to constantly go to the top of the page and do an import statement. ex: Take notice of the 1) and…
Alex J
  • 3,085
  • 3
  • 19
  • 29
16
votes
2 answers

How to edit multiple files through "Find results" in Sublime Text

When I search multiple files via Command + Shift + F, the result is returned as something like a text file. This text file is editable, but changes made don't affect the original files. Is it possible to do such that changes in "Find Results"…
Adam Pietrasiak
  • 12,773
  • 9
  • 78
  • 91
1
2 3
51 52