rodwatkins

rodwatkins

Hi all,

I just published a post on Medium on developing Elixir/Phoenix on Windows 10. I thought it might be useful to others.

Rod

Showing Posts 25 to 16

Azolo

Azolo

My environment is Windows 10 with Vim and Powershell.

Every once and awhile I go for something a little bit more risqué and do explorer ..

Are you really trying to tell me that there is ANY other way to code? Nonsense.

LordZed

LordZed

Thanks @NobbZ I’ll try my luck :slight_smile:

NobbZ

NobbZ

I’m not aware of any articles, tutorials or stuff.

I just opened my first *.ex, got a banner which told me that there were plugins for this language, which I installed and then dropped about three weeks ago after the ElixirLS has been released.

VScode just worked for me, not like atom where credo didn’t work correctly, it also didn’t crash in the last 6 month.

LordZed

LordZed

I’m currently searchin for the best environment for elixir coding on windows. Are there some articles like the one above but for VScode?

NobbZ

NobbZ

As you can see from the linked issue, it’s been a while it was discussed. Roughly at that time I also had a chat with other people hit by that problem and the only people that we were able to find were running on linux. None of the windows folks had luck.

Anyway. Since even my workspace is moving away from atom in favor of VScode and emacs, I do not care any more for atom.

OvermindDL1

OvermindDL1

Really? linter-elixir-credo is working on Windows 10 here for me, though I do have the entire mingw suite of tools installed so that may help.

NobbZ

NobbZ

The atom-credo-linter is fundamentally broken by design. It will not work unless you are using a linux system (not even mac, well, but sometimes it will…) and are on an english locale and mix is installed at a certain location where it was found by the creator of the plugin.

Also the creator of the pliugin does not use atom by himself, so the problems will probably never get fixed: How to actually use this plugin? · Issue #10 · smeevil/linter-elixir-credo · GitHub

LordZed

LordZed

Hey! I know the last reply here been a while but I hope you can help me…

I’ve been setting up my elixir environment as described in the article but got two problems with credo:

  1. It does show some strange characters instead of vertical lines and symbols and no colors. Color in iex work fine. I guess there’s something I need to configure or install for it to work in the command line (I’m using cmder) :

    mix credo

    Code Readability
    Ôöâ
     [R]  Modules should have a @moduledoc tag.
    Ôöâ lib/credo-test.ex:1:11 #(CredoTest)

    Consistency
    Ôöâ
    Ôöâ [C] Ôåù File is using windows line endings while most of the files use unix line
    Ôöâ endings.
    Ôöâ lib/credo-test.ex #()

    Please report incorrect results: Issues · rrrene/credo · GitHub

    Analysis took 0.1 seconds (0.01s to load, 0.09s running checks)
    3 mods/funs, found 1 consistency issue, 1 code readability issue.

    Showing priority issues:    (use --strict to show all issues, --help for options).

  2. It does not show the credo results in linter. It always shows “0 0 0” (see screenshot below)

I’m new to atom and elixir, so please be patient and nice with me :wink: Hope someone can help me solve my problems.

ibgib

ibgib

I no longer am using Windows because I found that setting up Ubuntu + Erlang was actually quite easy and painless. I started off with Hyper-V and Ubuntu VMs, and then gradually transitioned myself to running it on bare metal as my experience with VMs in Ubuntu has been less than fruitful. Then I found Elixir and this made the process even easier, since Elixir does documentation so ridiculously well. :heart:

As for my current tooling, I point you to the Atom thread. Emacs has too many chords for my taste,
and I’ve become more adept at Vim, but I’ve found Atom to be the most productive. I also use VS Code some when working on the javascript side of things.

(Thanks for moving this question @AstonJ…I had asked that it be moved when starting to write this thing!)

AstonJ

AstonJ

…done :slight_smile:

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apz
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews