Code Monkey home page Code Monkey logo

Comments (25)

tonini avatar tonini commented on July 22, 2024

Thanks for reporting the issue.

Could you please check the variable company-backends if it's contains also the alchemist-company?

from alchemist.el.

x4lldux avatar x4lldux commented on July 22, 2024

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.

tonini avatar tonini commented on July 22, 2024

Do you have something company mode specific in your emacs setup?

from alchemist.el.

x4lldux avatar x4lldux commented on July 22, 2024

Only what emacs-prelude has set up.

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

How do you include elixir-mode and alchemist?

from alchemist.el.

x4lldux avatar x4lldux commented on July 22, 2024

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.

tonini avatar tonini commented on July 22, 2024

@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.

pigmej avatar pigmej commented on July 22, 2024

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.

x4lldux avatar x4lldux commented on July 22, 2024

Right. All version were get from inside of emacs.
Instling alchemist.el manualy solved the problem... kind of strange.

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

do you require alchemist in your emacs init file by hand?

(require 'elixir-mode)
(require 'alchemist)

from alchemist.el.

x4lldux avatar x4lldux commented on July 22, 2024

yes

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

@x4lldux can I have a look at your emacs init file?

from alchemist.el.

x4lldux avatar x4lldux commented on July 22, 2024

@tonini http://pastebin.com/GHCrzaPX

@pigmej do you have same issues when instaling from MELPA repo?

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

@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.

tonini avatar tonini commented on July 22, 2024

@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.

x4lldux avatar x4lldux commented on July 22, 2024

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.

tonini avatar tonini commented on July 22, 2024

@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.

edubkendo avatar edubkendo commented on July 22, 2024

@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.

tonini avatar tonini commented on July 22, 2024

@edubkendo That's a good idea. I'm working on it and push it soon to master.

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

@edubkendo 3b93ff3

from alchemist.el.

edubkendo avatar edubkendo commented on July 22, 2024

awesome, should be super helpful!

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

@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.

pigmej avatar pigmej commented on July 22, 2024

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.

tonini avatar tonini commented on July 22, 2024

@pigmej Yeah that's a good idea. I will try to push a branch for that soon. 👍

from alchemist.el.

tonini avatar tonini commented on July 22, 2024

12df7e3

from alchemist.el.

Related Issues (20)

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.