OvermindDL1
/an-aside
Why is it not completing the module name too? Atom’s does. Also why does it not fill in the arguments with defaults that you can <tab> between like in Atom as well? Can you ctrl+click (or some other hotkey) to go to the definition of a function call or a module as well?
/me has tried VSCode a few times and not been impressed as of yet, but it’s been a while and is always up for replacing Atom if finding at least feature-parity
I keep trying intellij’s elixir, but intellij is just soooooo sloooooooooow… ![]()
Trending in Dev Env & Tools
Other Trending Topics
In the previous part of this series, we built a Worker Pool from scratch, exploring point-to-point communication where a coordinator assi...
New
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
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
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security











Showing Posts 42 to 33- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
seanwash
True.
The biggest thing I miss from vscode is the integrated terminal. I’ve used a couple for atom but they didn’t feel that great.
OvermindDL1
That is what credo does. ^.^
I’ve had no performance issues though, but yeah, Credo can eat a core or 6 for a good few seconds on decently sized projects, that is just how credo works.
seanwash
yeah, I figured it was unrleated to the plugin itself. In upgrading to Phoenix 1.3 from 1.3-RC2 I noticed I made a small type. For some reason things were still funning fine, IE the tests, but compilation by atom-elixir wasn’t. We’re all good now! There are some small things I miss from vscode, but atom-elixir is great so far!
How do you fare with linter-credo? I found that my CPU was spiking often on saves because of the constant recompiles.
OvermindDL1
Hmm, I don’t get that. Wonder if a plugin of mine or yours changes that… Hmmm…
law
I got the compile window on the right popping up each time. It pops up on compile, then closes when it’s done. I would really have liked to have that info in a new tab instead, but I don’t think that’s supported.
I was saying I didn’t work in a linear fashion - or at least a one file at a time fashion, not the compiler.
You’ve got me wanting to try the build on save feature again, so maybe I’ll give it another stab.
OvermindDL1
I only see the errors in the file that has the errors (red squiggles on the lines and I can get details at the bottom optionally), along with a red dot at the bottom that says the project has errors somewhere (which I can click on for details). What do you mean by linear fashion? Compiling is very very linear as it is, extremely linear.
Everyone should really be using credo already, heck even many root Elixir libraries itself use credo. ^.^
In Elixir everything is a function,
defs are function, macro’s are functions,defmodules are functions, everything is functions. So to quote it straight out is not ‘pretty’, though perfectly correct:See how even
defis just a function call to a function nameddef(macro, well, special form) that takes a first argument of, say,bloopand a second argument of, say,[do: 42]? So just printing it out does not always work. Even if you special-case things in your custom formatter likedefanddefpand others you will miss all the otherdefblah’s that libraries add, they may not even start withdef. The lack of knowing the types of everything makes formatting a really really really hard problem. Formatting becomes almost trivial when you know the types of everything in the AST in comparison.tmbb
This looks like a good fit for some invariant testing. Just pick a corpus of elixir files (from hex packages for example), and do something like:
This is basically what exfmt wants to preserve, right?
law
I think it’s not so much parsing the file, as parsing the ast the file generates, and converting that back to elixir. Some of the limitations are due to the information they get back from the ast.
tmbb
This is strange. Couldn’t they just parse the file into a quoted form and then render that (unambiguously and correctly) using the style guide? Or is there a problem with this I’m not seeing?
law
Links to exfmt and exfmt-atom
The alpha warning is a bit scary but I’m definitly going to check this out.