Atom Syntax Error Hightlighting - atom-editor

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.

Related

How to install the Heroku CLI without HomeBrew on MacOS

I would like to install the Heroku CLI in my Macbook without using HomeBrew. Is there a way to do this? Perhaps by using a native command via terminal? Or some other way that does not depend on another bit of software? I have searched online but have not found a way to do so.
Note: I have had issues with HomeBrew so I no longer use it, and hope to continue installing without it. I also did a search on Stackoverflow, as well as check the suggested similar questions while composing this one.
For anyone else seeking answers: I just figured out how to install Heroku without Brew or using npm. Use the command below (it is in Heroku's instructions page):
curl https://cli-assets.heroku.com/install.sh | sh

Julia Atom bracket and quote autocomplete

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

Does guile have a package manager?

I'd like to discover the guile ecosystem. I looked at how to install a library and I didn't find a package manager, like python's pip. Does such a thing exist for guile ?
Looks like guildhall is the closest thing to pip out there. There has been some discussion on the Guile mailing lists recently around it. The posts by Wingo, Boubekki, Zaretskii, and a few others who are heavily involved with Guile development indicate a push towards making guildhall an upstream source for something called Guix that is a more general package manager intended to be independent of platform.
If you consult the Guix list of packages you will see guile there and a number of other guile related items (e.g. guile-json, guile-ncurses, etc..). I'd give that a shot. Otherwise you're on your own and you'll have to either fall back to the OS package manager or pull down the source yourself, build, and install.
Full disclosure: I haven't tried Guix myself but I've been meaning to. I'd be very interested to see how it turns out for you so if you do go this route it'd be awesome if you could provide an update with your Guix experience.
There's also been a recent call to update the libraries page and from a quick inspection there's been some small number of updates that you may find useful.
#unclejamil This is an update of my attempt to install the guix package manager.
Documentation
First of all, the links:
the official page: https://www.gnu.org/software/guix/
the download page: http://alpha.gnu.org/gnu/guix/ (guix-the-system and guix the package manager are listed together)
Installation (Debian)
Guix needs Guile-2.0-dev and more dependencies, which are present in Debian's repositories:
apt-get install guile-2.0-dev guile-2.0 libgcrypt20-dev libbz2-dev libsqlite3-dev autopoint
Download guix. See the above links to download a binary. Or get the sources:
git clone git://git.savannah.gnu.org/guix.git
The installation goes with a classical ./configure && make && make install.
make will take several minutes and make install needs root access. If you install from source, make will build guile objects of the 346 base packages (python, zsh, abiword,…) so it'll take a long time (the database is included into guix-the-program, so we must do that. You can still tweak this list in the Makefile, at MODULES) .
Note: Your current directory must not contain non ascii characters.
Note: see also this complete tutorial, with the focus on how to install guix locally, i.e. not to run make install: http://dustycloud.org/blog/guix-package-manager-without-make-install/
Usage
To install packages with guix, we need a running server.
The first method, for testing purposes, is simply to run the server in a terminal:
sudo guix-daemon
and the client in another one:
guix package -s "guile.*curses" # search with regexps
sudo guix package -i guile-ncurses # install. All start with the "package" command.
For the proper method, see https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setup.html#Build-Environment-Setup
To be continued.
This answer is a community wiki, feel free to complete it, thanks !
I am building Guix right now and encountered the same error about not finding guile-2.0. I managed to fix it by installing the development files for guile-2.0
sudo apt-get install guile-2.0-dev
I encountered some more errors later on and it just meant I needed to install the development files for it.

install danish dictionary in emacs on windows

I haven't been able to find the help I need on (on dummie level) for installing a new dictionary (danish) in emacs. To be honest I somewhat confused about ispell vs aspell. When typing "M-x ispell-buffer" a spelling control starts using english as default. I can change directory typing "M-x-ispell-change-dictionary" it suggest "dansk" but I get an error saying that the file /.../aspell/dict/danish" can not be opened for reading. I can deduct that the dictionary is not installed - but I cannot seem to finde a guide (step by step) on how to do this.
And then I have a bonus question. I have managed to install flyspell (or is that actually 'installing' as I have just addet the .el file to my emacs load path and loaded in my .emacs file?). This seem to work (wauw), and as I understand it flyspell is using the same dictionaries as ispell/aspell hence solving my probleme above would enable me to use flyspell in danish?
Any help is appreciated.
/Kira
If you are on Ubuntu or Debian system you can install the Danish aspell package from the commandline with
sudo apt-get install aspell-da

installing Aspell and R

I've installed Aspell where I get a desktop icon-as in I can drag and drop text files in it and the spell check works as expected. However, when I try using the aspell function in Rstudio, I get this as a message: No suitable spell-checker program found. I am unsure of the steps I need to take to remedy this so R picks up on the fact I've installed Aspell. Any help would be greatly appreciated.
I am now getting this as my error
Error in aspell(visit1total) : Running aspell failed with diagnostics:
Error: No word lists can be found for the language "en_US".
Again, I would appreciate any help anyone can offer. I am using Windows 7. Thank you for your time.
To elaborate the first answer from:
https://superuser.com/questions/601928/how-do-i-add-missing-dictionaries-for-aspell
Download and untar the latest english dictionary (http://ftp.gnu.org/gnu/aspell/dict/en/ - currently v7.1.0):
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2
tar xvjf aspell6-en-7.1-0.tar.bz2
Then follow the README to install as follows:
cd aspell6-en-7.1-0/
./configure
make
make install
This is a problem with not having fully configured Aspell for use on Windows. Consider reviewing my post on performing a full installation of aspell on Windows

Resources