Giter Site home page Giter Site logo

brackets-command-line-shortcuts's People

Contributors

amoilanen avatar eight04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eight04

brackets-command-line-shortcuts's Issues

Nothing happens when I press the key combination

I created a configuration like so:

[
  {
    "name": "Check Puppet File",
    "dir": "$PROJECT_ROOT",
    "cmd": "puppet parser validate $SELECTED_ITEM",
    "shortcut": "Ctrl-Alt-X",
    "autohide": false
  },
]

When I press the key combination (and I tried several different combinations), nothing happens. I checked the error console and nothing there either.

Not sure what else to check for.

Shortcuts don't work after once a command failed

As soon as a command failed no following command will work at all.
E.g. your second shotcut in example config (listing JS files) fails for me:

RUNNING 'find . […]'
ERROR: execvp(): No such file or directory

So after this error no shortcut works until I restart Brackets.

Closing Programs started with shortcuts

There dose not seem to be a way to close long running programs. I would expect the to close when I close the Feedback Panel or be able to use CTRL+C to kill the currently running process. now i have to start Task manager find the cmd.exe and "kill process tree"

FYI: I'm using it to start the Django Dev Server.

Suggestion: Make dir optional

Since most of the time you'd want to run commands from the project root (e.g. for most git actions), wouldn't it be easier to default the dir setting to $PROJECT_ROOT?

Console not showing

I am using this extension to run a .bat file which builds and executes my LOVE2D game. If I run the file manually there is a console along with the game which contains debugging info.

However, when running with this extension, the console does not show, and any info the game outputs to console doesn't show in the feedback panel.

Is there an option to enable the console again?

        {
            "name": "Run with LOVE",
            "dir": "$PROJECT_ROOT",
            "cmd": "build",
            "shortcut": "Ctrl-Shift-Z",
            "autohide": true
        }

Choose project dir in config

I want to configure a command which executes a script from within my project directory.
Currently I have to set an absolute path to my project folder so I cannot use this command for several projects.

So it would be nice to be able to set dir to use the project root. Maybe with a variable or something.

Menu Item Missing

I installed the plugin, forgot about it, and later opened the shortcuts file from the Edit menu. I commented out the commands already inside, and then started writing a command. I deleted it, saved the file, and closed with the old commands still commented out. I closed Brackets. I reopened it later, and looked for the menu item, but it was gone.

I went into the Extensions Manager, and was looking for the extension to see if I still had it installed (I had uninstalled a bunch earlier), and I did, except where the Installed button was there was a little message that told me there was an error with the plugin. I unfortunately don't remember exactly what it said. There was a link next to it to uninstall, so I did. I restarted, reinstalled the plugin, restarted, and the menu is still gone, though there's no error message in the Extensions Manager.

Is there a way I can fix this?

Here's my Developer Tools console log, though I looked through it and I don't think any of them have to do with this plugin:

Download the React DevTools for a better development experience: http://fb.me/react-devtools
/C:/Users/Tierney/AppData/Roaming/Brackets/extensions/user/tjeffree.extensionhighlighter/main.js:221 Calling CSSStyleSheet.insertRule() with one argument is deprecated. Please pass the index argument as well: insertRule(x, 0).
/utils/EventDispatcher.js:100 Registering for deprecated event 'currentDocumentChange'. Instead, use MainViewManager.currentFileChange. Error
    at Object.on (/utils/EventDispatcher.js:100:43)
    at file:///C:/Users/Tierney/AppData/Roaming/Brackets/extensions/user/zeid.autosave-on-view-change/main.js:24:24
    at Object.context.execCb (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:1658:33)
    at Object.Module.check (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:869:55)
    at Object.Module.enable (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:1151:22)
    at Object.Module.init (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:782:26)
    at callGetModule (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:1178:63)
    at Object.context.completeLoad (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:1552:21)
    at HTMLScriptElement.context.onScriptLoad (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/requirejs/require.js:1679:29)
/command/KeyBindingManager.js:730 Cannot assign Ctrl-Alt-C to codefolding.collapse. It is already assigned to extension.commandline.run.3
/LiveDevelopment/MultiBrowserImpl/transports/NodeSocketTransport.js:87 NodeSocketTransport - start
/C:/Users/Tierney/AppData/Roaming/Brackets/extensions/user/brackets-html5codehints/main.js:523 AppInit
/utils/AppInit.js:95 Exception when calling a 'brackets done loading' handler: TypeError: number is not a function
/utils/AppInit.js:96 TypeError: number is not a function
    at _callHandler (/utils/AppInit.js:93:13)
    at Object._dispatchReady (/utils/AppInit.js:113:13)
    at Object.eval (/brackets.js:290:33)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26860)
    at Object.k.add [as done] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27169)
    at Object.d.always (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:28045)
    at Object.eval (/brackets.js:288:30)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26860)
    at Object.k.fireWith [as resolveWith] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27673)
    at Object.e.(anonymous function) (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:28653)
/command/KeyBindingManager.js:730 Cannot assign Ctrl-Alt-B to io.emmet.balance_outward. It is already assigned to extension.commandline.run.0
/command/KeyBindingManager.js:730 Cannot assign Ctrl-Shift-Up to io.emmet.increment_number_by_1. It is already assigned to edit.lineUp
/command/KeyBindingManager.js:730 Cannot assign Ctrl-Shift-Down to io.emmet.decrement_number_by_1. It is already assigned to edit.lineDown
NodeDebugUtils.js:117 [node-log 9:19:31 PM] �[36m[2015-01-29 21:19:31.719] [DEBUG] logfile - �[39mStarted parent.
NodeDebugUtils.js:114 [node-error 9:19:31 PM] log4js.fileAppender - Writing to file \tmp\DiagnosticsDomain.log, error happened  { [Error: ENOENT, open 'C:\tmp\DiagnosticsDomain.log']
  errno: 34,
  code: 'ENOENT',
  path: 'C:\\tmp\\DiagnosticsDomain.log' }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.