Julia Atom bracket and quote autocomplete - julia

I could not find the option to enable bracket and quote autocomplete option in Julia, and the IDE I use is Atom. Anyone knows how to do it?

You would need to install a lint for julia-lang. Basically, it provides the auto completion features present in most fully-featured IDEs.
Simply open a terminal and type in the following command:
$ apm install linter linter-ui-default linter-julia

Related

atom julia syntax highlighting

im trying to set up an editor syntax highlighting scheme for julia in atom, (using juno although i do not know if that is relevant).
i have googled around for two hours and tinkered around in atoms' settings and in the https://atom.io/packages/language-julia specific settings too.
i've found mentions about running scripts (juno) https://github.com/JunoLab/Juno.jl/issues/15 etc but i think this is not a solution, a simpler way must exist.
i had expected to be able to find someones stylesheet for julia, adapt it with my preferred colors and plug it into atom...
please, i would be grateful if someone could indicate how to do this: configure colors in editor - syntax highlighting for julia (perhaps with juno). thanks!
If you install Juno with Atom the Julia syntax highlighting will just work. Perhaps something did not get installed? Here are the installation instructions that I have tested on lots of students:
Download and install Atom (available at https://atom.io/).
Start Atom and press Ctrl + , ( Ctrl key + comma key ) to open the Atom settings screen.
Select the Install tab.
In the Search packages field, type uber-juno and press Enter .
You will see the uber-juno package developed by JunoLab—click Install to install the package.
However, sometimes the Atom installation gets stalled. In that case you need to stop Atom, delete the .atom folder that is usually found in your user home folder and restart Atom. On very rare occasions I also had to reinstall Atom as well.
Finally, note that as of today the recommended IDE for Julia is VS Code and the support for Atom Juno development has stopped.

Is there a built-in command in Julia Pkg to switch the selected environment?

The Julia Pkg documentation tells how to initiate an environment ($ activate $ENV-NAME), but it probably lacks the handy command to switch to the already created special environment. Also, I'm having trouble finding a command that shows all already created environments on the list, hence, if I have forgotten the names of the environments previously created, I need to do a manual search through the Julia-related folders...
So far, the verbatim help command in Julia REPL provides a poor description and so does the related Pkg-documentation webpage.
Another possible general answer to this predicament is to start using the Playground.jl module, which was recommended here on Medium:
However, the direct download attempt with Pkg repeatedly fails since the Pkg isn't able to find the package in the suggested GH project.
Thanks beforehand for any recommendations.
In package manager prompt just type activate # and press tab-key. The REPLs autocomplete will show you the possible environments.
If you are on a Mac or Linux
you can run this shell command to find all the "enviroment"
bash-3.2$ pwd
/Users/ssiew/juliascript
bash-3.2$ find . -name Project.toml
./Luxordir/Project.toml
./symata/Project.toml

How to search completion list in zsh just like fish shell?

In fish shell, I can use Shift+Tab to search completion list. But I don't know how to do that in zsh.
I think what you're looking for is additional functionality from zsh-users called zsh-completions.
I've just started using this, and since I also have Homebrew, I was able to install it easily with brew install zsh zsh-completions. But the linked resource has many installation options and instructions.
When you're done installing you should probably run source ~/.zshrc and then you should see the effects.

Command not found

I want use oh-my-zsh jhipster plugin. I followed Jhipster guidelines using
http://www.jhipster.tech/oh-my-zsh/
After setting up everything, whenever i try to use command jh, it doesn't work. I get response
zsh: command not found
I'm not familiar with shell scripting language. Please help me.
Yes, you need to:
install zsh
install oh-my-zsh
configure your default shell to use zsh -> it is important
install jhipster-oh-my-zsh-plugin
Here the commands we do for our jhipster-devbox (on Ubuntu):
https://github.com/jhipster/jhipster-devbox/blob/master/scripts/setup.sh#L100-L112
Did you installed zsh?
I am not familiar with MAC, but it should be something like:
brew install zsh zsh-completions
here some more in-deep instructions:
http://sourabhbajaj.com/mac-setup/iTerm/zsh.html

Atom Syntax Error Hightlighting

Can anyone list a definitive solution to getting syntax error highlighting to work in Atom? I've tried on and off throughout the last year or so, trying pretty much all the suggested methods on SO to get it working (installing linters, omnisharp, etc) and have had zero success. If packages are available, I'd like to have support for C++ and C#.
Any help is greatly appreciated.
Run this command in a terminal:
$ apm install linter linter-ui-default
The command above installs the base packages needed for to use a linter in Atom.
To use a linter for C/C++:
$ apm install linter-gcc
For C# support:
$ apm install omnisharp-atom
Just go to https://atomlinter.github.io/ to see all the available linters for Atom.

Resources