Home Download Buy Blog Forum Support

[buildSystem] args to keymap

Re: [buildSystem] args to keymap

Postby farfromrefuge on Tue Apr 17, 2012 7:39 am

Ok i ll rename my keymap file.

But there is something i dont get, you say that by doing [cmd+b] i dont call my sublime-build. But then i dont get why the working_dir i put in my sublime-build get passed to my ak_make command....
any idea?

To be true i am lost between my sublime-build and my keymap ....


Thanks for the support anyway
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: [buildSystem] args to keymap

Postby bizoo on Tue Apr 17, 2012 7:55 am

farfromrefuge wrote:But there is something i dont get, you say that by doing [cmd+b] i dont call my sublime-build. But then i dont get why the working_dir i put in my sublime-build get passed to my ak_make command....

Your keymaps wasn't used because the file have the wrong name, before renaming the keymaps file, you actually call the standard "build" command.
To know which command is triggered, open the console and type:
Code: Select all
sublime.log_commands(True)

After that, each command running by ST2 is reported to the console.
bizoo
 
Posts: 876
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: [buildSystem] args to keymap

Postby farfromrefuge on Tue Apr 17, 2012 2:39 pm

Ok you are right, and now i see that keymap is not what i want at all.
Why? Because a have multiple buildsystems and started to implement them thinking i could do a [super+b] in each one of them. If like only the currently set build system plugin was running!
Which is wrong.
So i think that what i want is customizable sublime-build where you could set your keymap and have more than one :s
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Previous

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests