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

CSS style attribute autocomplete plugin for Sublime Text

I need to get the completions for style attribute in html. For eg:
Is there any plugin available which has the described feature or any other alternative approach ? Any help would be great. Thanks
djadmin
  • 1,742
  • 3
  • 19
  • 27
0
votes
1 answer

Can't get Sublime Text 2 plugins to work (uncanny ERROR)

I just installed ST2 and CoffeeScript plugin via Package Manager, but every plugin action is throwing the following issue to the console log: Traceback (most recent call last): File "./sublime_plugin.py", line 356, in run_ File…
Alvaro Lourenço
  • 1,321
  • 1
  • 10
  • 21
0
votes
0 answers

Setting up Sublime to use git aliases

I'm using sublime and would like to set it up so that the Git package 'custom command' function can see and use aliases which I've setup in my ~/.gitconfig, which works from my terminal. In my .gitconfig I have defined an alias: .... [alias] …
Martyn
  • 16,432
  • 24
  • 71
  • 104
0
votes
1 answer

How to use SublimeLinter's cmd attribute

I'm writing a SublimeLinter (a SublimeText plugin) plugin that uses luacheck for a custom syntax we use. So far I have it working with simply cmd = 'luacheck @', the @ being apparently replaced by the filename when SublimeLinter calls luacheck. The…
Chase
  • 3
  • 3
0
votes
1 answer

Running osascript with bash -c

I'm working on a Sublime Text plugin (Python) and I have some shell scripts that are a part of it. Since Package Control gives you zipped packages, these scripts can't be run as files from within the zip, so I'm storing them as strings and running…
0
votes
1 answer

Sublime Text: javascript build system with jQuery

Is it possible to have a Sublime Text JavaScript Build System with jQuery support? Screenshot below is JavaScript only example of the build, on top of the NodeJS. Would be very nice to write some jQuery code and be able to evaluate it straight…
Iladarsda
  • 10,640
  • 39
  • 106
  • 170
0
votes
1 answer

"unable to open" a sublime text macro file

When I run my macro in sublime text, I get "unable to open:'file path'". The sintax in keymap file is OK, I'm able to save it. This is the key map : { "keys": ["ctrl+="], "command": "run_macro_file", "args": {"file":…
IGRACH
  • 3,506
  • 6
  • 33
  • 48
0
votes
1 answer

Sublime 3 Win 7 x64 SideBarEnhancements plugin not working properly

Wondering if anyone can duplicate this issue or if I'm just missing something here: Win 7 x64 Install Sublime 3 Win x64 Install Package Control Restart Sublime Install SideBarEnhancements using Package Control Restart Sublime Show the sidebar, right…
user433342
  • 859
  • 1
  • 7
  • 26
0
votes
0 answers

Custom CSS completions not working for values

I was trying to create my own .sublime-completions for CSS files and ran into the following problem. The completions only work for properties, but not for their values. See the following two examples, with the pipe-symbol | representing the cursor…
idleberg
  • 12,634
  • 7
  • 43
  • 70
0
votes
1 answer

python subprocess.call() fails in Sublime Text 2 on this program

I've been stuck on a peculiar error for several hours, searching for solutions in Google and failing, probably because the problem is so specific, but it actually has broader implications, which is why I've been trying hard to fix it. I am using…
hello_there_andy
  • 2,039
  • 2
  • 21
  • 51
0
votes
2 answers

Sublime Text Sequence

As you can see in the screenshot below, I want to change all the 1's in the red box into a sequence from 1 to 1000 I done some searching and ended up with two plugins for sublime text that make sequences but still can't make use of them in this…
Taher Elhouderi
  • 233
  • 2
  • 11
0
votes
2 answers

Getting method name inside sublime snippet

JAVASCRIPT : A = { x : funciton(){ }, y : function(){ } } What do I want? I want to write a sublime snippet which when invoked inside x or y function, should be able to get the function name and put it. Example - The DocBlockr…
Praveen Puglia
  • 5,577
  • 5
  • 34
  • 68
0
votes
1 answer

Sublime multi-select with caps-lock key - How?

I use Sublime Text's incredible multi-select feature a lot. I love it. But my Ctrl key and pinky finger don't. Is it possible to map the caps-lock key to the multi-select feature? If so, how? I think I could simply remap caps-lock to Ctrl on my…
0
votes
1 answer

Side bar menu in sublime text

How can I add side bar menu(when I right click on file) only for files or only for folders? For example if I add this code to "Side Bar.sublime-menu": { "caption": "New command", "command": "my_command", "args": {"files": []} } I will get new…
0
votes
1 answer

how install specific package on sublime text 2?

I don't find in packager controller (cmd + install package => tag) the tag plug-in: https://github.com/SublimeText/Tag how can I install and use it where not in official list? thx
Matrix
  • 3,458
  • 6
  • 40
  • 76