pohmelie / run-in-terminal

Atom package for run some commands in terminal, or just run terminal
MIT License
17 stars 7 forks source link

Run a golang file #21

Open jocko1984 opened 6 years ago

jocko1984 commented 6 years ago

How can the terminal execute a .go file ?

f9 only opens the dir of the file in focus

f5 opens terminal but says - The filename, directory name, or volume label syntax is incorrect.

pohmelie commented 6 years ago

What is your settings and OS?

jocko1984 commented 6 years ago

OS is Win 10 home I've attached file containing settings, keybinding and f5 error message capture f5 error capture settings

pohmelie commented 6 years ago

You should add launcher for .go files. Look at List of launchers by extension. I'm not familiar with running Go programs, actually.

jocko1984 commented 6 years ago

Thanks and Tried suggestion, exited aton, restarted atom and tried f5. Same message; see

capture setting after capture f5 error

jocko1984 commented 6 years ago

Sorry hit the wrong button.

pohmelie commented 6 years ago

Hm... is there some errors in atom debug console?

jocko1984 commented 6 years ago

I closed the issue by accident. I still cannot execute the .go file .. . Tried your suggestion capture f5 error , but could not execute the .go file by f5.

pohmelie commented 6 years ago

I need debug output from atom debug console. Paste it here please.

jocko1984 commented 6 years ago

Not sure what debug output you need? I installed atom. installed some packages see attach , created basic go file . opened atom went to the project dir containing the .go file opened the .go file. cursor in file . pressed f9 terminal opened and able to dir ok. hit f5 term opened and .go did not execute /go file also unable to execute .py file

jocko1984 commented 6 years ago

file attached

capturepack

pohmelie commented 6 years ago

I mean https://flight-manual.atom.io/hacking-atom/sections/debugging/