Comments (25)
Thanks for reporting the issue.
Could you please check the variable company-backends
if it's contains also the alchemist-company
?
from alchemist.el.
It has. To be precise: (alchemist-company company-bbdb company-nxml company-css company-eclim company-semantic company-clang company-xcode company-ropemacs company-cmake company-capf (company-dabbrev-code company-gtags company-etags company-keywords) company-oddmuse company-files)
from alchemist.el.
Do you have something company mode specific in your emacs setup?
from alchemist.el.
Only what emacs-prelude has set up.
from alchemist.el.
How do you include elixir-mode and alchemist?
from alchemist.el.
Installed via ELPA and (require) from my-init.el file prelude's personal
folder which is loaded after prelude's is loaded.
from alchemist.el.
@pigmej you're an prelude user right? Do you have an idea what's the problem could be?
@x4lldux could you try to remove both elixir-mode and alchemist from your ELPA packages and try to install it manually?
Btw, did you get the elixir version via shell-command
inside emacs or outside?
from alchemist.el.
Everything works for me. The same emacs, company and alchemist version.
The only difference is that I have installed alchemist by hand just by:
(add-to-list 'load-path "~/.emacs.d/vendor/alchemist.el/")
(require 'alchemist)
from alchemist.el.
Right. All version were get from inside of emacs.
Instling alchemist.el manualy solved the problem... kind of strange.
from alchemist.el.
do you require alchemist in your emacs init file by hand?
(require 'elixir-mode)
(require 'alchemist)
from alchemist.el.
yes
from alchemist.el.
@x4lldux can I have a look at your emacs init file?
from alchemist.el.
@tonini http://pastebin.com/GHCrzaPX
@pigmej do you have same issues when instaling from MELPA repo?
from alchemist.el.
@x4lldux I try to invest some time into this and get back to you if I have and idea what it could be.
Thanks for your patience. :-)
from alchemist.el.
@x4lldux could you please use the function alchemist-project-toggle-complete-and-docs
and then try the completion again?
https://github.com/tonini/alchemist.el#configuration
from alchemist.el.
When I run that command and it says it's disabled, completion works. When it says it's enabled, completion doesn't work.
from alchemist.el.
@x4lldux the current master (unreleased) has the completion and documention lookup for Elixir project codebase disabled. That means your own written code won't be involved in the completion and documentation lookup. The completion failed because your Project couldn't be compiled, thats the reason the use of alchemist-project-toggle-complete-and-docs
made it working.
Please check https://github.com/tonini/alchemist.el#configuration why that is so, Elixir can't complete code which it doens't know, for that it has to compile, and if the compilation fail, completion can't work...
from alchemist.el.
@tonini It would be nice if there was some sort of debug switch one could turn on, so one could see what errors are causing completion to fail.
from alchemist.el.
@edubkendo That's a good idea. I'm working on it and push it soon to master.
from alchemist.el.
from alchemist.el.
awesome, should be super helpful!
from alchemist.el.
@pigmej suggested to enable the debug-mode by default. I consider to do that because it looks like people really having problem with that.
from alchemist.el.
And I also mentioned that there should be easyway to supress that "debug on by default", I would enable some shorcut for that buffer that disables debug for currenct session/project.
-----Original Message-----
From: Samuel Tonini [email protected]
Date: Sun, 14 Dec 2014 03:26:43
To: tonini/[email protected]
Reply-To: "tonini/alchemist.el" [email protected]
Cc: Jędrzej [email protected]
Subject: Re: [alchemist.el] Completion not working when installed from ELPA
(#23)
@pigmej suggested to enable the debug-mode by default. I consider to do that because it looks like people really having problem with that.
Reply to this email directly or view it on GitHub:
#23 (comment)
from alchemist.el.
@pigmej Yeah that's a good idea. I will try to push a branch for that soon. 👍
from alchemist.el.
from alchemist.el.
Related Issues (20)
- Jump to definition functionality broken by multi-line aliasing
- Alchemist is using wrong version
- Switch to/scroll in help HOT 1
- Multiple instances of Iex repl
- alchemist-goto-definition-at-point crashes server when editing files with multiple import
- Eldoc support
- Changing alchemist-key-command-prefix not working HOT 4
- Compilation errors and warnings when running tests aren't clickable
- `alchemist-report-filter` fails to display relevant output HOT 2
- iex run current buffer
- How to run tests and jump the test output buffer?
- question about evaluation coming from lisp/slime HOT 1
- Alchemist Emacs menu is empty HOT 1
- Can't jumping to the definition of a function which is defined in a module imported by the __using__ macro.
- Spam on alchemist-elixir.org HOT 4
- mix.el - new Emacs package for Mix HOT 2
- Alchemist Resurrection HOT 21
- Hey there.
- `alchemist-iex-run` does not find `erl`
- Alchemist alternative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alchemist.el.