New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sublime text plugin #27
Comments
Not at the moment. What would be needed from Credo for someone to implement that? I thought about adding Flycheck support in the next revision. Might that be a start? |
I'm not sure about the specifics as I have not done this myself, but I use sublime linter with the eslint - er. I have found this elixir sublime package that aims to do some basic linting, but I would really love to see if we could get credo integrated as well! |
+1 for this suggestion. I have no idea how to build a sublime plugin, but having credo as psudo, elixir linter for sublime would be fantastic. |
+1 for Flycheck support. |
Okay, I will try to get something done by the end of the week / on the weekend. 👍 We will need beta testers for this. Any volunteers? |
@rrrene feel free to ping me if there is anything to test |
@c-rack @hunterboerner I just pushed Credo
You can test the Flycheck output via |
Hi, I just got Dogma working with Flycheck and am now looking into getting Credo to work as well. My question is though, is it possible to give Credo just one file to check in stead of everything ? For example mix credo --format=flycheck ./path/to/file.ex which will only run the rule set on that file. Let me know if i can be of any assistance ! |
Doesn't it for you? |
Ah that works only in combination with the --format=flycheck I'll attempt to make a Flycheck.checker now :) |
If you are interested, here is the flycheck checker. https://github.com/smeevil/flycheck-elixir-credo I only encounter one slight problem with running credo in the flymode format, which is that every error is being output 4 times and it always gives the duplicate code warning at line 1 example : |
Definitely a bug. Will have a look tonight! |
@smeevil Fix included in |
I did a quick test and it seems like its fixed indeed :) will let you know tomorrow when i’ve done some more testing with it :) Gerard.
|
@gogogarrett I am not an atom user myself, but I gave it a shot to create a linter for it anyways, because, why not :) Is this what you are looking for : You can install it by using Please let me know what you think :) Gerard. |
@rrrene Getting a lot of positive feedback on Twitter regarding the linter for Atom. Anyways, all possible due to the read-from-stdin and flycheck format :) |
Thanks a lot for this - it works really well! Very much appreciated. |
Can anyone create a plugin for sublime as well? |
@joshjg Great! You could post that on http://elixirstatus.com and I will include it in the next ElixirWeekly! |
I just created a plugin for sublime text It's not in package control just yet (SublimeLinter/package_control_channel#37) |
@mintcore Cool! Feel free to ping me when it's merged into PackageControl 👍 |
This is a great tool!
Is there anything in the works around getting a sublime / atom linter setup?
The text was updated successfully, but these errors were encountered: