Elixir的好IDE [英] Good IDE for Elixir

查看:190
本文介绍了Elixir的好IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个至少可以完成以下某些操作的IDE




  • 输入变量名时代码完成且可能
    后的功能。

  • 显示功能签名和文档

  • 导航到功能/变量/模块的定义



如果它还可以



    会很好
  • 警告错误

  • 代码生成

  • 支架基本项目


解决方案

有一个很好的崇高整合叫做



<还有强大的Elixir扩展支持a href =https://code.visualstudio.com/ =noreferrer> Visual Studio Code ,目前有2个扩展程序可以将该语言添加到该工具中,我的偏好是< a href =https://marketplace.visualstudio.com/items/mjmcloug.vscode-elixir =noreferrer> vscode-elixir 。您可以通过按ctrl + P然后键入ext install vscode-elixir来添加它。



此扩展为VS Code添加了丰富的elixir语言支持,包括:




  • 语法着色

  • 小片

  • Intellisense




I am looking for an IDE that does atleast some of the following

  • Code completion when typing variable names and possible functions after pressing .
  • Show a functions signature and docs
  • Navigate to the function/variable/module's definition

It would be nice if it could also

  • Warn about errors
  • Code generation
  • Scaffold basic projects

解决方案

There is a a good sublime integration called ElixirSublime. It definitively does most of the things you're looking for. It's not hard to setup and only took me around 15 mins to get everything working.

Some features:

  • Syntax highlighting
  • Code completion for modules and functions.
  • Go to definition for modules and functions with Shift+Click
  • Errors and warnings via SublimeLinter3.

There is also great Elixir extension support for Visual Studio Code and there are currently 2 extensions to add the language to the tool, my preference being vscode-elixir. You can add it by hitting ctrl+P then typing "ext install vscode-elixir".

This extension adds rich elixir language support to VS Code including:

  • Syntax Coloring
  • Snippets
  • Intellisense

这篇关于Elixir的好IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆