Skip to content

Cmd + I needs to pressed twice to execute different selections of code #936

@bbd-00

Description

@bbd-00

Hi, I'm a bit of a noob here, so I apologize if this seems like a simple issue.

I am on Mac OS X running Atom 1.7.3. I have installed the script (3.7.1) package.

I've noticed something weird when I try to run different selections of code (I'm using Python and I haven't tested this with other Grammars). Upon highlighting a selection of code, running the script from the Command Palette works fine, and then changing the selection to another one and running that selection from the Command Palette works fine as well.

However, this breaks down when I try using the shortcut cmd+I. In this case, every time I change the selection I need to press cmd+I twice before the code executes (the first time does not seem to be doing anything - no output is displayed). If I use cmd+I on the same selection of code multiple times that works fine. It only needs to be pressed twice when I change the selection of code that I want to run.

Does anyone know why this might be happening and if it can be fixed?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions