question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code completion not working

See original GitHub issue

Hello,

Is there anything else i should do to make this work? I have elixir installed, i have my env settings like:

"env": {
    "PATH": "/usr/lib/elixir/bin"
},

And i also Elixir, and ElixirSublime packages installed. But code completion is not working like showed on gif in your readme. Any ideas how to make it work?

image

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:52 (5 by maintainers)

github_iconTop GitHub Comments

17reactions
radik909commented, Apr 22, 2016

It works for me now 🚀

Changes made regarding this plugin:

In Sublime Text 3, Preferences -> Package Settings -> SublimeLinter -> Settings-User

        "env": {
            "PATH": "/usr/local/bin/elixir"
        }

(I use ubuntu 14.04 and the “PATH” above is from running which elixir in terminal)

Go to sublime_completion using cd ~/.config/sublime-text-3/Packages/ElixirSublime/sublime_completion (which is a mix project)

In mix.exs file, add iex as an application

  def application do
    [
      applications: [:iex, :logger, :poison],
      mod: {SublimeCompletion, []}
    ]
  end

In config.exs file, add the configuration for iex

  use Mix.Config

  config :iex,
          autocomplete_server: IEx.Server

Restart the Sublime Text 3

Note: My elixir version is 1.2.3 and I am not sure whether these changes(under sublime_completion) will persist if the package gets updated by Package Control. But for time being, it works 👍

3reactions
potterdaicommented, Dec 29, 2015

@Angarsk8 @seanpowell You guys should check @YurkoHoshko 's repo https://github.com/YurkoHoshko/ElixirSublime

I downloaded it and replace all the files in my ElixirSublime folder, then it works

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense in Visual Studio Code
If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the...
Read more >
Visual Studio IntelliSense Not Working? What To Do.
Visual Studio IntelliSense Stopped Working. What To Do? · Workaround #1: Restart Visual Studio · Workaround #2: Restart Your Machine · Workaround # ......
Read more >
Code completion | IntelliJ IDEA Documentation
If automatic completion is disabled, press Ctrl+Space or choose Code | Code Completion | Basic from the main menu. basicCodeCompletion.png. If ...
Read more >
Code completion not working in 10.2
Issue persists in Xcode 11.5 and 11.6 as well. Only solution that seems to work is to move the current file into the...
Read more >
Code completion not working · Issue #177 · processing ...
The internal issue is that javaCode is not being set when the code cannot compile, which for code completion is always the case....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found