Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydrogen: Run running everything after function definition #1229

Closed
onepan opened this issue Feb 16, 2018 · 1 comment
Closed

Hydrogen: Run running everything after function definition #1229

onepan opened this issue Feb 16, 2018 · 1 comment

Comments

@onepan
Copy link

onepan commented Feb 16, 2018

Description:

Calling Hydrogen: Run or Hydrogen: Run And Move Down when the cursor is on a def line runs the entire document. E.g., below code would immediately output "bye again" "hi again" when you start at either def a(): or def b():.

This happens whether it's called via hotkey or from command palette

example code:

def a():
    print("hi")

def b():
    print("bye")

print("bye again")
print("hi again")

Steps to Reproduce:

  1. put cursor on either def line in example code
  2. call Hydrogen: Run or Hydrogen: Run And Move Down

Versions:

Atom : 1.24.0
Electron: 1.6.16
Chrome : 56.0.2924.87
Node : 7.4.0
OS: Windows 10
Hydrogen: 2.2.2

Logs:
-1518819562665.log

@krystalzeng
Copy link

I am having the same issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants