Code Monkey home page Code Monkey logo

atom-elixir's Introduction

An Atom package for Elixir

Autocomplete, Go/Jump to Definition, Documentation and more.

Dependencies

Install

apm install atom-elixir

Features

  • Autocomplete (Screenshots)
    • Lists modules, functions, variables, function params and module attributes available in the current scope.
    • Lists callbacks defined in behaviours (works also when @behaviour is injected by use directives)
    • Lists the accepted "returns" specs when inside a callback implementation
    • Indicates the type of the module (Module, Struct, Protocol, Implementation or Exception)
    • Shows documentation summary for each module or function
    • Shows function and callback specs
    • Works with aliased and imported modules
    • Indicates where the function was originally defined (for aliased, imported modules or callbacks)
    • Smart snippets for functions: After |>, doesn't write first parameter. After &, writes &function/arity
  • Go to definition
    • Jump to the definition of the module or function under the cursor
    • Erlang modules and functions also supported
    • Return from definition (to previous files/positions)
    • Works with aliased and imported modules
  • Documentation View (Screenshots)
    • Shows documentation of the module or function under the cursor
    • Also shows specs, types and callbacks (when available)
    • Works with aliased and imported modules
  • Quoted Code view (Screenshots)
    • Convert selected text into its quoted form
    • Live pattern matching against quoted code
  • Expand Macro view (Screenshots)
    • Expands the selected macro. Shows expanded code using Expand Once, Expand and Expand All.
  • All features depending on aliases and imports are already supporting the new v1.2 notation.

IMPORTANT: Most of the features only work properly if you have the related .beam files in the project's _build folder. So please, before opening an issue, make sure you can successfully compile your project in the environment you're trying to use it ("dev" and/or "test"). You can also hit ALT+CMD+i to open the Atom's console (ALT+CTRL+i on windows/linux) in order to see the server's output. When successfully started, atom-elixir prints:

[atom-elixir] Initializing ElixirSense server for environment "dev" (Elixir version 1.4.0)
[atom-elixir] Working directory is "/Users/your_name/workspace/your_project/"

All error messages from the server should also be displayed in the console. Please send those messages when reporting an issue.

Shortcuts

  • Autocomplete: ctrl + space
  • Go To Definition: alt + down or alt + click
  • Return from Definition: alt + up
  • Go To Documentation: F2
  • Open Quoted Code View + quote selected text: ctrl + shift + t
  • Open Expand Code View + expand selected text: ctrl + shift + x

Notice: The keymaps were defined for my own OS X environment. If you're using Linux, Windows or even another OS X environment and the current key mapping conflicts with other commands, feel free to open an issue and report it.

Screenshots

Autocomplete

  • Listing variables, module attributes, functions and macros available in the current scope
  • Showing specs and documentation summary
  • Showing where each function was originally defined

image

  • Listing callbacks defined in used behaviours

image

  • Listing accepted "returns" when inside a callback implementation

image

Documentation

  • Showing documentation of the module/function under the cursor

image

  • Showing documentation of the module under the cursor (callbacks)

image

Expand Macro View

  • Expanding selected macro call

image

Quoted Code View

  • Quoted form of the selected code
  • Live pattern matching against quoted code

image

Credits

  • The Elixir Server is an extended version of alchemist-server by Samuel Tonini. Pay attention that the current API is no longer compatible with the original one.
  • The Expand View was inspired by the mex tool by Luc Fueston. There's also a very nice post where he describes the whole process of Building A Macro-Expansion Helper for IEx.

atom-elixir's People

Contributors

chaoqu avatar doriangrey avatar halohalospecial avatar jaimevelaz avatar jayjun avatar msaraiva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-elixir's Issues

Uncaught SyntaxError: Invalid regular expression: /\|>\s*??$/: Nothing to repeat

I was simply editing around when I got this error:

(This submit directly from atom thing is awesome)

Atom Version: 1.8.0
System: Microsoft Windows 10 Home Insider Preview
Thrown From: atom-elixir package, v0.1.4

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /|>\s*??$/: Nothing to repeat

At /C:/Users/olivermt/.atom/packages/atom-elixir/lib/elixir-autocomplete-provider.coffee:51

SyntaxError: Invalid regular expression: /\|>\s*??$/: Nothing to repeat
    at new RegExp (native)
    at RegExp (native)
    at ElixirAutocompleteProvider.module.exports.ElixirAutocompleteProvider.getSuggestions (file:///C:/Users/olivermt/.atom/packages/atom-elixir/lib/elixir-autocomplete-provider.coffee:35:43)
    at C:\Users\olivermt\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:310:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (C:\Users\olivermt\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:289:17)
    at AutocompleteManager.getSuggestionsFromProviders (C:\Users\olivermt\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61)
    at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (C:\Users\olivermt\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:276:19)
    at C:\Users\olivermt\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61

Commands

     -0:32.3.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -0:30.5.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.mini.is-focused)
     -0:29.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  3x -0:22.1.0 core:move-left (atom-text-editor.editor.is-focused)
  3x -0:21.2.0 editor:delete-to-end-of-word (atom-text-editor.editor.is-focused)
  2x -0:19.6.0 core:delete (atom-text-editor.editor.is-focused)
  5x -0:09.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:00.7.0 core:move-right (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "allowPendingPaneItems": false,
    "excludeVcsIgnoredPaths": false,
    "openEmptyEditorOnStart": false,
    "packagesWithKeymapsDisabled": [],
    "projectHome": "C:\\Users\\olivermt\\Documents\\code"
  }
}

Installed Packages

# User
atom-elixir, v0.1.4
git-control, v0.7.1
language-elixir, v0.13.1
language-groovy, v0.6.0
Sublime-Style-Column-Selection, v1.5.1

# Dev
No dev packages

Not working on Linux

I'm running Atom 1.5.3 on Ubuntu 15.10 and I've installed your package via git. The apm install went swimingly. When I tried to test out things, like autocomplete or go to docs nothing happens.

I'm new to Atom, so there's a good chance I don't have it set up correctly. I do have language-elixir installed.

ctrl-space is mapped to autocomplete-plus:activate at the moment.

I tried alt-up and though it's correctly bound it doesn't do anything.

Should I run alchemist-server or start your extended server somehow?

This package looks amazing. Thanks for writing it!

Breaks descriptions of other autocomplete packages

When using this package, other autocomplete packages stop working correctly. Their descriptions no longer show up. My current solution is to disable this package everytime I'm working on non-elixir code, and then re-enable it when I'm working on elixir code.

The culprit as far as I can tell is https://github.com/msaraiva/atom-elixir/blob/master/lib/elixir-autocomplete-provider.coffee#L25 Because it's changing the default description view, which is then affecting all packages. I'm not familiar with how autocomplete-plus is managing its views across editors, but is there any reasonable way we could have this custom description view only apply to editors currently using the .source.elixir grammar.

Show a warning if the project has not been compiled yet

Hello.

The autocomplete has slightly stopped working and the rest of the package does not work.

I have not tried reinstalling in case you wanted me to do some debugging.

Currently, only the first letter typed gives a hint of something to fill in (maybe this comes from language-elixir?).

So typing "v" gives the options that start with v, for example VideoAddressService.

Nothing else autofills and go to declaration does not work.

I am very new to atom, so I dont know where to start debugging, so if you point me in the right direction I will do whatever is needed :)

(PS: your package rocks!)

package not installed.

I followed installing instructions and package is not listed.

(master)ed@piotr-mac:~/work/atom-elixir > apm install
Installing modules ✓
(master)ed@piotr-mac:~/work/atom-elixir > apm list | grep atom
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
/Users/ed/.atom/packages (21)
├── [email protected]
├── [email protected]
(master)ed@piotr-mac:~/work/atom-elixir > apm list | grep elixir
├── [email protected]
├── [email protected]
├── [email protected]

Go to Definition is not working

When i hit with Alt at module User that is defined in another file inside lib/ nothing happens.
Console logs the following elixir-goto-definition-provider.coffee:64 Can't find "User"
Same behaviour for all modules, even standart ones.
[atom-elixir] Initializing alchemist-server for environment "dev" (Elixir version 1.1.1) is shown at the beginning and Find Documentation function is working as well as autocompletion.
Go to definition just can't find modules.

Mac OS El Capitan

Double "tab" to trigger snippets

Hi @msaraiva,

I’ve been using the package, and notice that it’s necessary to hit tab twice every time a user needs to trigger a snippet.

By disabling the package, the behavior reverts to normal: 1 tab keydown to trigger the snippet.

All the best!
Gustavo

Create a "Server Info" view

It should contain:

  • Server status (if down, show the error message)
  • Elixir version
  • Elixir bin path
  • The env (e.g. dev, test)
  • Loaded paths/modules

Go to definition not work

Hi!

I tried to use option+up or option+click but I couldn't go to definition. Could you resolve this issue?

Thanks!

Autocomplete trigger

Readme says that ctrl + space is the key combination for autocomplete feature. Can we change it to do autocomplete without ctrl + space ?

always hung up when atom not working fronted

i set erlang bin dir, elixir bin dir under mac osx
when i open phoenix controller file, then switch to open athother app, for example, chrome, just for 1-5 minites, back to atom, it hungup, when i disable it, and try again, it runs ok.

Bug Report: `atom-elixir` is breaking autocomplete in other languages

Currently atom-elixir is hooking the autocomplete-plus:confirm with its own command, in all contexts, not just in source.elixir type files: https://github.com/msaraiva/atom-elixir/blob/master/lib/elixir-autocomplete-provider.coffee#L16-L34

This is breaking autocomplete in other autocomplete plugins for other languages since the re-cast event is missing data, such as for elm: halohalospecial/atom-elmjutsu#5

A fix would be to either copy the old event and re-type it to "autocomplete-plus:confirm" and send that one, or a better fix would be to only register in elixir files, and best would be to do both.

Fuzzy autocomplete

First off, great work on the project! I'm not sure how autocomplete works in this project, but I wonder if it could use fuzzy searching (as an option) so Phnx would match Phoenix. I rely on this quite heavily from the default atom autocomplete. I wonder if this package could hook into atom's package to allow the fuzzy matching?

Jump to def, back from def, jump to def with split views.

Ubuntu 16.04, Atom 1.8.0

Steps to repro:

  1. Open two window panes with the two different pertinent source files: One where the function is declared, and one where it is consumed.
  2. In the file where the function is consumed, hit alt+down to go to the definition. This should take you over to the other pane.
  3. Now hit alt+up to return to where you just were. This returns to the correct location on the initial pane.
  4. Now hit alt+down again (as in, "what was that I was just looking at again?"). For me, when I navigate to the definition the second time, it splits the source file between the two panes.

In the correct pane, the tab still exists. But the source file is now on the left pane and things are pretty wonky at this point:

mixed_panes_jump_definition

Does anyone else have this problem?

Btw, this library is pretty freakin awesome. I ❤️ me some autocomplete and jump-to-def! 👍 (any chance for refactoring in the future? 😉 )

Server fails to connect on windows

When launched the console produces this error: "[atom-elixir] No file named C:\Users..."

It's because my user name contains a space, and when I added quotes around the path in server-process.coffee (@Args = [path.join('"' + __dirname + '"', "alchemist-server/run.exs")]) everything worked as expected.

Hope this helps, and thanks for this great plugin!

[atom-elixir] Error: spawn elixir ENOENT

Hello! My Elixir (1.2.6) version installed by asdf extension and contains in path:
/home/bloom/.asdf/shims/elixir

I get this error in atom console:

[atom-elixir] Error: spawn elixir ENOENT(anonymous function) @ /home/bloom/.atom/packages/atom-elixir/lib/server-process.coffee:85
/home/bloom/.atom/packages/atom-elixir/lib/server-process.coffee:77 [atom-elixir] Child process exited with code -2

and extension doesn`t work.

update:

Uncaught (in promise) TypeError: Cannot read property 'stdin' of null(…)
26/home/bloom/.atom/packages/atom-elixir/lib/server-process.coffee:222 
Server busy!

error http://joxi.ru/E2pMxGjuBoKN7A
which http://joxi.ru/4AkZRN7SMJQqZ2

Deprecated selector in `atom-elixir/styles/atom-elixir.less`

In atom-elixir/styles/atom-elixir.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • .elixir-expand-view .editor .gutter .line-numbers, .elixir-expand-view atom-text-editor::shadow .gutter .line-numbers => .elixir-expand-view .editor .gutter .line-numbers, .elixir-expand-view atom-text-editor.editor .gutter .line-numbers

  • atom-text-editor::shadow .editor-contents--private .highlight.keyclick > .region => atom-text-editor.editor .editor-contents--private .highlight.keyclick > .region

  • atom-text-editor:not([mini]).keyclick::shadow .editor-contents--private => atom-text-editor:not([mini]).keyclick.editor .editor-contents--private

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Allow not autocompleting arguments

Functions usually have optional arguments, but when you autocomplete functions, all arguments are autocompleted as well.

It would be nice to have an option to only autocomplete the function names, maybe with an option to add parentheses or not.

Can't run apm install

I was clone project to atom package folder.
But when I open the terminal and run apm install was not install on my machine.
I must set up apmd but it was not run.

I was run command atom-beta install it show error like:
`
Failed to load the atom-elixir package

At Cannot find module 'marked'

Error: Cannot find module 'marked'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/usr/share/atom-beta/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/utils.coffee:3:10)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/utils.coffee:1:1)
    at Module._compile (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/server-process.coffee:3:20)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/server-process.coffee:1:1)
    at Module._compile (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/atom-elixir.coffee:3:17)
    at Object.<anonymous> (/home/dapi/.atom/packages/atom-elixir/lib/atom-elixir.coffee:1:1)
    at Module._compile (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom-beta/resources/app.asar/src/package.js:720:27)

`
My computer run ubuntu 14.04 LTS.
Thanks.

Aliased Modules

If you alias modules it doesn't seem to want to autocomplete them.

jump to definition doesn't work

Trying this package out and it looks like autocomplete is working and quotes work too but jump to definition has no effect whatsoever.

Tried using alt+click, alt+down, cmd+shift+p and choosing Goto Definition. All of them do absolutely nothing. This is for an elixir 1.3, phoenix project if that makes a difference?

EDIT/UPDATE: went to the console log and saw this:

Window load time: 1093ms
/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:28 ::shadow pseudo-element is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:1021 /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
/Users/a-boss/.atom/packages/atom-elixir/lib/server-process.coffee:71 [atom-elixir] warning: the variable "new_state" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  /Users/a-boss/.atom/packages/atom-elixir/lib/alchemist-server/lib/code/state.exs:98


/Users/a-boss/.atom/packages/atom-elixir/lib/server-process.coffee:71 [atom-elixir] warning: the variable "first_item" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  /Users/a-boss/.atom/packages/atom-elixir/lib/alchemist-server/lib/api/comp.exs:46


/Users/a-boss/.atom/packages/atom-elixir/lib/server-process.coffee:71 [atom-elixir] warning: the variable "list2" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  /Users/a-boss/.atom/packages/atom-elixir/lib/alchemist-server/lib/api/comp.exs:46

at the very bottom after, I saw this which was expected according to the docs:

[atom-elixir] Initializing alchemist-server for environment "dev" (Elixir version 1.3.2)

/Users/a-boss/.atom/packages/atom-elixir/lib/server-process.coffee:71 [atom-elixir] Working directory is "/Users/a-boss/Projects/code-corps-api"

but searching for a function format_attribute_errors which absolutely exists I get the following:

elixir-goto-definition-provider.coffee:64 Can't find "format_attribute_errors"

I tried with many other functions and module definitions too, nothing is yielding success :(

Uncaught Error: spawn ENOTDIR

[Enter steps to reproduce below:]

  1. Happens on every launch of Atom

Atom Version: 1.13.0
Electron Version: 1.3.13
System: Mac OS X 10.11.6
Thrown From: atom-elixir package, v0.2.1

Stack Trace

Uncaught Error: spawn ENOTDIR

At internal/child_process.js:313

Error: spawn ENOTDIR
    at exports._errnoException (util.js:1026:11)
    at ChildProcess.spawn (internal/child_process.js:313:11)
    at exports.spawn (child_process.js:392:9)
    at ServerProcess.module.exports.ServerProcess.spawnChildProcess (/Users/minademian/.atom/packages/atom-elixir/lib/server-process.coffee:174:7)
    at ServerProcess.module.exports.ServerProcess.start (/Users/minademian/.atom/packages/atom-elixir/lib/server-process.coffee:26:14)
    at ChildProcess.<anonymous> (/Users/minademian/.atom/packages/atom-elixir/lib/atom-elixir.coffee:75:15)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

Config

{
  "core": {
    "audioBeep": false,
    "ignoredNames": [
      ".git",
      ".tmp",
      ".hg",
      ".svn",
      ".DS_Store",
      "www/lib",
      "node_modules",
      "bower_components",
      "dist",
      "app/lib"
    ],
    "projectHome": "/Users/minademian/code",
    "telemetryConsent": "no",
    "themes": [
      "one-light-ui",
      "solarized-light-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.16 (inactive)
atom-elixir, v0.2.1 (active)
atom-prettify, v0.1.3 (inactive)
atom-react-preview, v2.0.0 (active)
atom-ternjs, v0.16.1 (inactive)
autocomplete-python, v1.8.26 (active)
color-picker, v2.2.4 (active)
git-blame, v0.4.11 (inactive)
git-control, v0.8.2 (inactive)
git-plus, v7.1.0 (active)
git-time-machine, v1.5.4 (inactive)
goto-definition, v1.1.19 (active)
highlight-selected, v0.12.0 (active)
html-entities, v0.4.0 (active)
jshint, v1.8.6 (active)
jsonlint, v1.1.4 (active)
language-erlang, v3.0.0 (inactive)
language-haml, v0.24.1 (inactive)
language-swift, v0.5.0 (inactive)
markdown-toc, v0.4.1 (inactive)
node-debugger, v1.9.2 (active)
open-recent, v5.0.0 (active)
pretty-json, v1.6.1 (active)
python-tools, v0.6.8 (active)
symbols-tree-view, v0.13.2 (active)
tree-view-git-branch, v0.1.2 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (active)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (active)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Cannot read property 'getDocumentation' of null

Was really looking forward to advanced elixir support in atom, thanks for making it a reality!

I've been testing and getting this error both on atom start and feature activating in editor. Atom is updated to latest version. I'm on Ubuntu 15.04.

TypeError: Cannot read property 'getDocumentation' of null
  at ElixirDocsProvider.module.exports.ElixirDocsProvider.addViewForElement (/home/rangeomorph/.atom/packages/atom-elixir/lib/elixir-docs-provider.coffee:65:12)
  at ElixirDocsProvider.module.exports.ElixirDocsProvider.showElixirDocs (/home/rangeomorph/.atom/packages/atom-elixir/lib/elixir-docs-provider.coffee:55:8)
  at atom-text-editor.<anonymous> (/home/rangeomorph/.atom/packages/atom-elixir/lib/elixir-docs-provider.coffee:25:8)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
  at /opt/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:544:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:363:22)
  at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/opt/atom/resources/app.asar/src/window-event-handler.js:97:36)
  at HTMLDocument.<anonymous> (/opt/atom/resources/app.asar/src/window-event-handler.js:3:61)

High CPU Usage

I typically use a desktop so I'm not sure if this is an issue everywhere but on my laptop I noticed the beam.smp process that this plugin spawns ends up using 100% of my CPU. Any idea?

Autocompletion isn't work

I've installer a plugin, i've seen in console "Initializing alchemist-server for environment "dev" (Elixir version 1.1.1)", F2 works, but autocompletion isn't what am i doing wrong?

Uncaught TypeError: _this.quotedCodeGetter is not a function

[Enter steps to reproduce below:]

  1. ...quoted code command throws this error, but actually still seems to work
  2. ...

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: atom-elixir package, v0.1.2

Stack Trace

Uncaught TypeError: _this.quotedCodeGetter is not a function

At /Users/fergus/.atom/packages/atom-elixir/lib/elixir-quoted-view.coffee:70

TypeError: _this.quotedCodeGetter is not a function
    at /Users/fergus/.atom/packages/atom-elixir/lib/elixir-quoted-view.coffee:70:8
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:219:32
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:313:20)
    at DisplayBuffer.module.exports.DisplayBuffer.updateWrappedScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:327:19)
    at DisplayBuffer.module.exports.DisplayBuffer.setWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:381:14)
    at TextEditor.module.exports.TextEditor.setWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2919:35)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateClientWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:891:20)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateScrollbarDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:962:21)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateHorizontalDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:865:14)
    at TextEditorPresenter.module.exports.TextEditorPresenter.getPostMeasurementState (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:125:12)
    at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:196:38)
    at TextEditorComponent.module.exports.TextEditorComponent.becameVisible (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:283:21)
    at TextEditorComponent.module.exports.TextEditorComponent.checkForVisibilityChange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:975:16)
    at atom-text-editor.TextEditorElement.attachedCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:95:22)
    at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:138:24)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.addItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:361:14)
    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:326:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:506:18

Commands

     -8:09.9.0 window:toggle-dev-tools (atom-text-editor.editor.is-focused)
     -4:07.8.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:03.9.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
     -4:02.9.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:02.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
     -4:01.1.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:00.4.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
  3x -3:31.7.0 atom-elixir:show-elixir-docs (atom-text-editor.editor.is-focused)
     -2:32.2.0 atom-elixir:quote-selected-text (atom-text-editor.editor.is-focused)
     -0:50 atom-elixir:expand-selected-text (atom-text-editor.editor.is-focused)
     -0:00.8.0 atom-elixir:quote-selected-text (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
atom-elixir, v0.1.2
iex, v0.9.27
language-elixir, v0.12.3
linter, v1.11.3
linter-elixirc, v1.1.5

# Dev
No dev packages

Installation failed: Failed to parse package.json

I am using Fedora 24 and got this problem both on 1.10.0 and 1.10.2. First one was from the Copr repo, latter one is from the official website.

npm ERR! Linux 4.7.3-200.fc24.x86_64
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/jonas/.atom/.apm/.apmrc" "--userconfig" "/home/jonas/.atom/.apmrc" "install" "/tmp/d-116819-10139-1mcnw5i/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! file /home/jonas/.atom/.apm/space-pen/5.1.2/package/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0001' at 1:1
npm ERR! �������������������������������������������������������������������������������
npm ERR! ^
npm ERR! File: /home/jonas/.atom/.apm/space-pen/5.1.2/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR! 
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-116819-10139-1123xdo/npm-debug.log

The log file listed doesn't exist

Uncaught TypeError: Cannot read property 'stdin' of null

[Enter steps to reproduce below:]

  1. ...Threw error on install
  2. ...

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: atom-elixir package, v0.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'stdin' of null

At /Users/fergus/.atom/packages/atom-elixir/lib/server-process.coffee:150

TypeError: Cannot read property 'stdin' of null
    at ServerProcess.module.exports.ServerProcess.sendRequest (/Users/fergus/.atom/packages/atom-elixir/lib/server-process.coffee:150:12)
    at ServerProcess.module.exports.ServerProcess.setEnv (/Users/fergus/.atom/packages/atom-elixir/lib/server-process.coffee:136:8)
    at /Users/fergus/.atom/packages/atom-elixir/lib/atom-elixir.coffee:38:18
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:333:27
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:327:21)
    at atom-tabs.TabBarView.onMouseDown (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:670:19)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
atom-elixir, v0.1.1
iex, v0.9.27
language-elixir, v0.12.3
linter, v1.11.3
linter-elixirc, v1.1.5

# Dev
No dev packages

Respect autocomplete+ completion keybinding

atom-elixir binds enter in all autocomplete-active panes here, this includes autocomplete+.

autocomplete plus is allowing rebinding of the confirm key, however when atom-elixir is installed as well, enter will always confirm the completion and ignore autocomplete+ settings like shown in the keybinding helper here (autocomplete setting is on tab. Non elixir file):

screen shot 2016-08-21 at 12 01 40 pm

It would be great if atom-elixir can respect the settings made in autocomplete+, or use a more stricter selector for only elixir files and not editor wide

Uncaught TypeError: _this.matchesGetter is not a function

[Enter steps to reproduce below:]

  1. ... quoted code command throws this error but still opens the docs pane and seems to be working
  2. ...

Atom Version: 1.5.4
System: Mac OS X 10.11.3
Thrown From: atom-elixir package, v0.1.2

Stack Trace

Uncaught TypeError: _this.matchesGetter is not a function

At /Users/fergus/.atom/packages/atom-elixir/lib/elixir-quoted-view.coffee:77

TypeError: _this.matchesGetter is not a function
    at /Users/fergus/.atom/packages/atom-elixir/lib/elixir-quoted-view.coffee:77:8
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:219:32
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:313:20)
    at DisplayBuffer.module.exports.DisplayBuffer.updateWrappedScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:327:19)
    at DisplayBuffer.module.exports.DisplayBuffer.setWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:381:14)
    at TextEditor.module.exports.TextEditor.setWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2919:35)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateClientWidth (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:891:20)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateScrollbarDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:962:21)
    at TextEditorPresenter.module.exports.TextEditorPresenter.updateHorizontalDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:865:14)
    at TextEditorPresenter.module.exports.TextEditorPresenter.getPostMeasurementState (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:125:12)
    at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:196:38)
    at TextEditorComponent.module.exports.TextEditorComponent.becameVisible (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:283:21)
    at TextEditorComponent.module.exports.TextEditorComponent.checkForVisibilityChange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:975:16)
    at atom-text-editor.TextEditorElement.attachedCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:95:22)
    at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:138:24)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)
    at Pane.module.exports.Pane.addItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:361:14)
    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:326:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:506:18

Commands

     -8:10 window:toggle-dev-tools (atom-text-editor.editor.is-focused)
     -4:07.9.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:04.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
     -4:03.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:02.1.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
     -4:01.2.0 atom-elixir:goto-definition (atom-text-editor.editor.is-focused)
     -4:00.5.0 atom-elixir:return-from-definition (atom-text-editor.editor.is-focused)
  3x -3:31.8.0 atom-elixir:show-elixir-docs (atom-text-editor.editor.is-focused)
     -2:32.3.0 atom-elixir:quote-selected-text (atom-text-editor.editor.is-focused)
     -0:50.1.0 atom-elixir:expand-selected-text (atom-text-editor.editor.is-focused)
     -0:00.9.0 atom-elixir:quote-selected-text (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
atom-elixir, v0.1.2
iex, v0.9.27
language-elixir, v0.12.3
linter, v1.11.3
linter-elixirc, v1.1.5

# Dev
No dev packages

Autocomplete not working properly for specific constructs

If this can't be duplicated then I assume it's a conflict with another package, but after disabling other packages, I'm still seeing this behaviour:

For '@'-prefixed stuff (@doc, @moduledoc, @type, @spec &c), I get an extra '@', eg:
screenshot 2016-07-21 08 54 49
screenshot 2016-07-21 08 54 59

For 'IO' module function IO.puts (just this specifically), I get an extra IO., eg:
screenshot 2016-07-21 08 55 40
screenshot 2016-07-21 08 55 46

Just a slight annoyance, couldn't locate anything that might be causing it withing the repo code.

Uncaught TypeError: Cannot read property 'replace' of undefined

Repro Steps

  1. Typing along in some code with the autocomplete panel popping up

Atom Version: 1.7.0-dev-e39d200
System: Mac OS X 10.11.3
Thrown From: atom-elixir package, v0.0.0

Stack Trace

Uncaught TypeError: Cannot read property 'replace' of undefined

At /Users/Lee/Source/atom-elixir/lib/elixir-autocomplete-provider.coffee:136

TypeError: Cannot read property 'replace' of undefined
    at module.exports.createSuggestionForFunction (/Users/Lee/Source/atom-elixir/lib/elixir-autocomplete-provider.coffee:136:23)
    at module.exports.createSuggestion (/Users/Lee/Source/atom-elixir/lib/elixir-autocomplete-provider.coffee:95:7)
    at /Users/Lee/Source/atom-elixir/lib/elixir-autocomplete-provider.coffee:69:11
    at Array.map (native)
    at /Users/Lee/Source/atom-elixir/lib/elixir-autocomplete-provider.coffee:64:35
    at ServerProcess.onResult (/Users/Lee/Source/atom-elixir/lib/server-process.coffee:75:7)
    at Socket.<anonymous> (/Users/Lee/Source/atom-elixir/lib/server-process.coffee:29:10)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:110:10)
    at Pipe.onread (net.js:523:20)

Commands

  3x -0:41.6.0 editor:move-to-beginning-of-word (atom-text-editor.path-input.editor.mini.is-focused)
     -0:40.6.0 editor:select-to-beginning-of-word (atom-text-editor.path-input.editor.mini.is-focused)
     -0:39.2.0 editor:move-to-end-of-screen-line (atom-text-editor.path-input.editor.mini.is-focused)
  2x -0:35.9.0 core:backspace (atom-text-editor.path-input.editor.mini.is-focused)
     -0:33.7.0 core:confirm (atom-text-editor.path-input.editor.mini.is-focused)
  3x -0:32.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:27.9.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:24.2.0 docblockr:parse-enter (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:24.2.0 editor:newline (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:23.3.0 editor:newline-below (atom-text-editor.editor.is-focused)
     -0:21.8.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:21.2.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:20.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:20.3.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:20.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:11.1.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)

Config

{
  "core": {
    "audioBeep": false,
    "customFileTypes": {
      "text.xml.plist": [
        "plist"
      ]
    },
    "disabledPackages": [
      "spell-check-test",
      "autocomplete-elixir",
      "autocomplete-erlang"
    ],
    "followSymlinks": true,
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      ".keep",
      "._*",
      "*.pyc",
      "Thumbs.db"
    ],
    "projectHome": "/Users/Lee/Source",
    "themes": [
      "one-light-ui",
      "one-light-syntax"
    ]
  }
}

Installed Packages

# User
advanced-open-file, v0.14.2
atom-elixir, v0.0.0
autocomplete-paths, v1.0.2
block-travel, v1.0.4
bug-report, v0.7.1
docblockr, v0.7.3
file-type-icons, v0.7.4
hex, v0.6.2
highlight-selected, v0.11.2
hyperclick, v0.0.35
indentation-indicator, v0.6.0
language-asciidoc, v0.12.0
language-elixir, v0.11.1
language-erlang, v3.0.0
language-generic-config, v1.0.0
language-haml, v0.23.15
language-jade, v0.6.3
language-mediawiki, v2.0.0
language-nginx, v0.6.1
language-r, v0.4.0
language-swift, v0.4.0
language-todotxt, v0.6.1
language-treetop, v0.1.3
minimap, v4.19.0
package-sync, v1.0.0
pigments, v0.24.1
red-wavy-underline, v0.3.0
set-syntax, v0.3.0
soft-wrap-indicator, v0.7.0
tabs-to-spaces, v1.0.2
word-jumper, v0.3.0

# Dev
autocomplete-plus, v2.27.1

Documentation don't work properly

Hello.

I'm trying to use documentation for every function, but just some works.
For example: When I call F2on def, works ok with this console output:

[Server] DOCL { "def", "/tmp/vyjxlfpd8", 10 } server-process.coffee:149

When I call on String.duplicate, nothing happens and console logs this:

[atom-elixir] %FunctionClauseError{arity: 2, function: :do_lookup_docs, module: Code} server-process.coffee:55

In time, I would like to ask if you can use F2 key to open docs and after called a second time, close the panel.

Installing Atom package does not work

Installing the Atom package takes forever and does not work. If you try to uninstall you get error message below.

On Ubuntu 15.10 64-bit, Windows 8.1 64-bit and Windows 2012 R2 64-bit and the latest Atom version.

Edit:
I installed from the GUI. If I install using the command line it works but I had to disable/enable the package first. Not sure what went wrong.

atom-elixir

Communicate to alchemist via socket

Hi,
what would you think about communicating to the Alchemist elixir process via a socket instead of running the process directly?

My use case is the following: I run atom on OS X but have multiple versions of elixir running in a Linux VM. I share the files between the two via NFS thanks to vagrant. I'd like to avoid installing the same elixir versions on OS X as I do most of my work in the VM.

Does that make any sense?

Your package is making me seriously consider switching from console vim to atom for Elixir dev.

Keep up the good work!

Thanks.

Autocompletion for package from dependencies.

I am having a problem with autocompletion for packages from my dependencies.

  1. mix new some_app
  2. add ecto to mix dependencies
  3. mix deps.get, deps.compile
  4. open some_app.ex in lib directory, type Ecto. - nothing happens.

Am I missing something here ?

not working in osx

did install via apm but upon restarting atom multiple times an .ex file still doesn't have syntax on. I've also tried check the syntax list but elixir is not there.

Package not working after update

Hi!
I've just updated to v0.1.2 using Atom's package manager and it doesn't show the** Documentation Tab** anymore. I'm trying to launch it with the F2 key or the command palette, but nothing happens and no errors are shown. Is this only happening to me?
Thanks in advance.

Failed to load - cannot find module 'marked'

[Enter steps to reproduce below:]

  1. navigate to ~/.atom/packages
  2. git clone this repo
  3. Quit and re-open atom

Atom Version: 1.5.3
System: Mac OS X 10.10.5
Thrown From: atom-elixir package, v0.0.3

Stack Trace

Failed to load the atom-elixir package

At Cannot find module 'marked'

Error: Cannot find module 'marked'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/utils.coffee:3:10)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/utils.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/server-process.coffee:3:20)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/server-process.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/atom-elixir.coffee:3:17)
    at Object.<anonymous> (/Users/kevin.thompson/.atom/packages/atom-elixir/lib/atom-elixir.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:720:27)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:116:28
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:445:14)
    at PackageManager.module.exports.PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:395:14)
    at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:684:21)
    at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
    at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
    at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)

Commands

Config

{
  "core": {
    "themes": [
      "isotope-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-elixir, v0.0.3
autocomplete-ruby, v0.1.0
file-icons, v1.6.15
isotope-ui, v2.7.1
language-elixir, v0.11.1
language-erlang, v3.0.0
linter, v1.11.3
linter-python-pep8, v0.2.0

# Dev
No dev packages

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.