I've tried to use Script and atom-js-console on atom but when I run code using script I get this message 'env: node: No such file or directory'. How can I get a console that works with running javascript code on atom.
I recommend you hook it up to a web but if you want it inside of the atom-editor itself then there are packages for running it inside of the atom editor it self. Note: These packages copy chromes"inspect" view so don't expect it to be very optimised.
Related
I recently installed atom text editor and start using it. I want to use it mainly to run Python codes. for that, I am trying to install a few packages like 'script'. I am not able to find this package.
Have you tried downloading it directly from the site and opening it with atom https://atom.io/packages/script
Make "Atom" as Default atom:// Protocol Handler by clicking on the "Settings" and "URI Handling" then go to the link atom.io/packages/script, you will find the package and install it
In Atom text editor, after saving a file, I'd like to have a hotkey like ctrl-alt-b that will run "npm build" and display the results in an embedded terminal.
I'm also hoping that after seeing the terminal output, I'd be able to click anywhere outside that embedded terminal to make it go away, (instead of having to mouse-travel to some small exit button and click it).
It may be relevant to mention that my OS is Ubuntu 16.04.5.
I did find a really nice tool called the atom build package, but it seems to take over the whole build process, which is something I've already got setup via "npm build".
Setting up a hotkey is the trivial part, but you need some package that provides the actual build command. You can add something like the following to your Atom keymap:
'atom-workspace atom-text-editor:not([mini])':
'ctrl-alt-b': 'package-name:command-name'
Other than that, I recommend using a general purpose package like process-palette. It lets you define a command (or a chain of commands) and run it in your project directory at the press of a custom hotkey.
I'm using atom for 2 months to run Julia files and it works.
I would like to run some python files too
To do that, I installed the IDE-python package
When Atom is started, there is the following picture:
I can run a Julia file without problem, but I can't run a python file (and there is not a python console...)
How can I add it and run the python file ?
You should load the Script module into Atom. Once loaded, it will show up under the packages menu or you can use the command-I keystroke to run your python code.
To use a shell to run python install the module platformio-ide-terminal. When you click this under packages you'll get an option to toggle a terminal window. It will show up in the bottom third of Atom window.
I'm a newbie and I am trying to run my first "Hello World!" program using atom editor. I have installed the build package but when I tried to build I get an error message saying 'no eligible build target. No configuration to build this project exists.' I am using ruby. What am I doing wrong?
This seems to be an old question, however I faced the same issue, hence would like call out on the solution I followed:-
When using "atom-build" package in Atom Editor, whenever you upgrade the package, you may have encountered this issue.
To fix this issue in your environment, what you need to do is:-
Atom Editor Menu:-
File -> "Add Project Folder"
Select your existing JS Project.
Once done, you should be able to use the "atom-build" package again, by invoking the build commands.
Refer:-
https://github.com/noseglid/atom-build/issues/230
I write my .py files using Pycharm JetBrains editors. When I run my codes, the output is shown in a console entitled "Run", without any prompt. Therefore, I dont have access to the variables of my code output. How can I force the pycharm to show the output of my codes in ipython console?
You can edit the Run Configuration and check the box "Show command line afterwards". This will run your script, but leave you in an interactive prompt. Everything from your script will have been imported and available.
As a note, if you install the IPython package (Preferences -> Project -> Project Interpreter, click + to add packages) then you can get a nicer console interpreter.
Finally, a different way to accomplish what you are looking for: run under Debug rather than Run. You can set a breakpoint and then use the debugger's Console right at the line you might be interested in.