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
15
votes
3 answers

What is the most practical way to list all the installed packages in Sublime Text 3?

I installed a bunch of packages lately on my Sublime Text 3 Editor. I don't keep track of what I installed, but now I would like to know all the packages that I've installed, just to keep as a reference. I tried type : cmd + shift + P , then type :…
code-8
  • 54,650
  • 106
  • 352
  • 604
15
votes
5 answers

How to Enable MathJax Rendering in Sublime Text Markdown Preview

Using Sublime Text 3, I'm writing a Markdown document that includes math. The Markdown Preview package enables real-time rendering of the document in the browser (Chrome). So as I write, the changes are visible. The following is my markdown text.…
Youngsup Kim
  • 2,235
  • 5
  • 13
  • 18
14
votes
2 answers

Sublime text 3 plugin to get JSON path

I am after a plugin or technique in sublime text 3 to get what I will call the fully qualified path of the json element that is selected in the editor window. Somethink like: http://jsonpath.com/ I want to get a result somewhere that I can copy, I…
MattG
  • 5,589
  • 5
  • 36
  • 52
14
votes
3 answers

Sublime: Good plugin for git history

In Atom Editor, there is a plugin that lets you view the commit history of a single file. Does sublime have a similar plugin?
Rich
  • 5,603
  • 9
  • 39
  • 61
14
votes
4 answers

Does sublime text 3 supports "find usages"("go to references" or "list references") or any plugins support this?

I want to konw if sublime text can do something like function lookup in eclipse or intellij idea.
roger
  • 9,063
  • 20
  • 72
  • 119
14
votes
1 answer

Sublime Text 3 API : Get all text from a file

I am trying to create a plugin for sublime text 3. For now I only get possible to select all text in a window and copy it in another window. Code : import sublime, sublime_plugin class PrintCodeCommand(sublime_plugin.WindowCommand): def…
nobe4
  • 2,802
  • 3
  • 28
  • 54
13
votes
9 answers

Sublime Text 3: Anaconda package error connection to localhost timed out

I am getting a bizarre error message when starting up sublime text 3. upon startup, I get the error below. Here's some background on my system: Windows 10 Sublime Text 3 (Anaconda Package installed through Sublime Text package installer) From…
13
votes
3 answers

Xdebug unable to connect to client, where do I start debugging the debugger?

I'm setting up xdebug for php within sublime text, and xdebug keeps on logging errors related to being unable to connect: Log opened at 2016-08-18 21:06:01 I: Connecting to configured address/port: localhost:9988. E: Could not connect to client.…
Kzqai
  • 22,588
  • 25
  • 105
  • 137
13
votes
4 answers

Merging files in Sublime with Sublimerge via command line

I'm trying to find a better merge file option and wanted to try out Sublime as of my work is done using it. so I installed Sublimerge and now am stuck. I know I can compare two already open files or compare via the Sidebar but what I want to do is…
12
votes
1 answer

Edit a build system in Sublime Text 3

How can I edit a build system in Sublime Text 3, whether its a native one or one I installed through Package Control? For instance, for the Sass Build package, it outputs .map files recently, so I'd like to configure it so that it stops doing…
Gary
  • 3,891
  • 8
  • 38
  • 60
12
votes
2 answers

Which is the best PHP beautifier extension for Sublime Text?

I have been working in Sublime Text for the last three months. I've found the extensions HTML Beautifier, JS and JSON beautifier. Now I want a PHP beautifier extension. So can someone please suggest which extension I should use as a PHP beautifier?…
Rituraj ratan
  • 10,260
  • 8
  • 34
  • 55
11
votes
1 answer

Trigger an action for every alphanumeric keypress

I have the following lines in a plugin's Default (Windows).sublime-keymap file: ... { "keys": ["ctrl+shift+a"], "command": "table_editor_align", "context": [ { "key": "setting.enable_table_editor", "operator": "equal", "operand": true,…
Basj
  • 41,386
  • 99
  • 383
  • 673
11
votes
1 answer

Get all scope names on Sublime Text 3

I am creating a plugin for ST3 and need the list of all defined scopes. I know that hitting ctrl+alt+shift+p shows the current scope in the status bar but I can't do it for every file extension. Edit: In addition to simple .tmLanguage files I am…
webNeat
  • 2,768
  • 1
  • 20
  • 22
11
votes
1 answer

How can I change tab name in Sublime Text?

Is it possible to change tab names for files with strange names? They can not be renamed on disk but it is difficult to keep up with mad file names in Sublime :D
zored
  • 2,718
  • 3
  • 19
  • 23
10
votes
3 answers

Sublime Text 3 Custom Layout

I want a custom layout for my ST3 - specifically, I want this layout structure. Can someone tell me how can I do it ?
1
2
3
51 52