Coder Social home page Coder Social logo

ypyf / elixirsublime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vishnevskiy/elixirsublime

0.0 2.0 0.0 596 KB

Elixir plugin for SublimeText 3 providing code completion and linting.

License: MIT License

JavaScript 8.93% Python 57.36% Elixir 33.71%

elixirsublime's Introduction

ElixirSublime

Features

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

This package does not offer syntax highlighting. Use the offical Elixir TextMate bundle.

Demo

Demo

Caveats

This is built by piggybacking on IEx.Autocomplete so it can be a little naive.

  • It does not understand macros, aliases and imports and therefore will not provide completion for them.
  • Go to definition does not work on local functions.
  • Since Elixir and Erlang standard library sources tend to not ship with the install it does best effort for go to definition by opening the documentation in the browser.

Installation

  1. Install Sublime Package Control if you haven't already.
  2. Brand up the commands with CTRL+Shift+P or CMD+Shift+P and type Package Control: Install Package then ElixirSublime.
  3. Repeat the previous step for SublimeLinter if you don't already have it.

Troubleshooting

If the plugin does not seem to work then it probably cannot find your Elixir installation. Provide the path in the default user settings.

{
	"env": {
		"PATH": "path to elixir bins"
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.