D + Dub + Sublime +... build/run in terminal?

SuperLuigi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 13 07:37:00 PDT 2015


On Sunday, 13 September 2015 at 12:45:02 UTC, Gary Willoughby 
wrote:
> On Sunday, 13 September 2015 at 10:00:13 UTC, SuperLuigi wrote:
>> but whatever I put in messes up and I just get errors...
>
> So what are the errors?

Depends what I put in, but they're just basically saying what I'm 
putting in isn't valid... because I don't know what I should be 
putting in...

Changing the last line to:

"cmd": ["open_terminal"]
Results in:

[Errno 2] No such file or directory: 'open_terminal'
[cmd: ['open_terminal']]

Same deal for "terminal", "terminal.app" and other things I've 
tried...

I get this one:

__init__() got an unexpected keyword argument 'command'
[cmd: ['dub']]

...when trying to open the terminal the same way I'd open it with 
a key binding like so:

"command" : "open_terminal"

I can get the terminal to open fine on its own with a key binding 
in the Key binding file with this:
{"keys": ["f2"], "command": "open_terminal"},

Key command to build:
{ "keys": ["ctrl+b"], "command": "build" },



More information about the Digitalmars-d-learn mailing list