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
-1
votes
1 answer

Sublime Text Pretty JSON: pretty_on_save not working

I've just reinstalled Pretty JSON which works fine with OS X: cmd+ctrl+j. I'm just unable to make it work with "pretty on save", even though the default pretty_on_save setting is true. { "use_entire_file_if_no_selection": true, "indent": 4, …
Emma
  • 27,428
  • 11
  • 44
  • 69
-1
votes
1 answer

how to set selection current line to end of file in sublime plugin

i want to loop through current line to end of file set to selection Blockquote for region in view.sel(): Blockquote
-1
votes
1 answer

Recognize internal files as JSON

What's the way to tell Sublime automatically open it's own files, i.e. .sublime-settings .sublime-keymap .sublime-theme etc. as JSON-files? (I mean, with proper syntax highlighting).
james
  • 139
  • 1
  • 2
  • 18
-1
votes
3 answers

"if" condition for boolean settings: == 1, == True or just omit?

Here is simple ST plugin. Is there a difference between commented lines? Personally, I don't see any difference in how they work, just a difference in visual appearance. However, some plugin developers prefer second version (== 1), which looks just…
user90726
  • 939
  • 1
  • 8
  • 28
-1
votes
1 answer

Sublime Text 3 FileBrowser plugin: how to open in new tab by default

I am using the Sublime Text 3 FileBrowser for file navigation on keyboard. While usually I open files in new tabs, with FileBrowser, it opens On the official documentation (https://packagecontrol.io/packages/FileBrowser), it says: Open all marked…
Claire
  • 639
  • 9
  • 25
-1
votes
1 answer

SFTP file alignment issues

I have sublime text 3 with SFTP plugin installed. Using it im able to download the code but the python files that are opened are not aligned properly. I opened a ticket in SO but its not…
user1050619
  • 19,822
  • 85
  • 237
  • 413
-1
votes
1 answer

All in one compiler

So guys I just finished an intro to c class and learned I really like programming. We used Codeblocks for the course, I branched off and used Sublime code when I was learning HTML CSS and PYTHON on my own. My question is sublime text doesn't compile…
WatchTower
  • 15
  • 5
-1
votes
1 answer

GitGutter ocd Alignment annoyance

Using Sublime text 3 along with GitGutter, I cannot help but feel constantly annoyed that alignment of the deleted item isn't aligned like the addition and change icons. Multiple themes and setting changes later and the issue still shows. Though it…
Pleb
  • 21
  • 2
  • 3
-1
votes
1 answer

Why I found this error during opening sublime text

When I start my sublime text3, I found the following command. What is the problem? How I can solve it? I use Ubuntu 16. Error trying to parse file: Unexpected character, expected a comma or closing bracket in Packages/User/Default…
Rasel
  • 50
  • 7
-1
votes
1 answer

Google Closure Compiler JSDoc annotations in Sublime Text or Atom editor

Does Sublime Text or Atom editor have plugin for Google Closure Compiler JSDoc annotations? Especially, code completions or error checking features like in WebStorm?
Matt
  • 8,195
  • 31
  • 115
  • 225
-1
votes
1 answer

the package can prompt file path prompt like Bracket while editing HTML

It is really handy in Bracket Editor that can prompt the file path while typing. After search for a while I still cannot find a package that accomplish the same thing Bracket does. Can you suggest or name one package providing similar feature in…
XY L
  • 25,431
  • 14
  • 84
  • 143
-1
votes
1 answer

Sublime plugin how to write text in the background (not interactable)

I'm trying to write a plugin that will show text that is not user-interactable. In other words, the text is part of the background--visible but does not affect the text on screen. Is this possible?
-1
votes
1 answer

Gist plugin erroring out in Sublime Text 3

I'm using Sublime Text 3 on OSX Yosemite and installed the Gist plugin. I could not find the Gist.sublime-settings file via browse packages, so I just went to preferences and found it that way and entered in my Github username and password. This is…
Leon Gaban
  • 36,509
  • 115
  • 332
  • 529
-1
votes
1 answer

Is it possible to change key bindings in Sublime Text dynamically from a plugin?

Is it possible to change key bindings in Sublime Text dynamically from a plugin or from the console, like in Vim? A related question: is it possible to choose a keymap file based on the current keyboard layout?
Alexey
  • 3,843
  • 6
  • 30
  • 44
-2
votes
1 answer

Sublime Text Plugin using applescript can not open FirefoxDeveloperEdition

I am having an issue getting applescript in a sublime text plugin to open Firefox Developer Edition. cmd = """tell application "FirefoxDeveloperEdition" activate end tell""" call(['osascript', '-e', cmd]) This works in the applescript editor…
swudev
  • 283
  • 5
  • 18
1 2 3
51
52