Code Monkey home page Code Monkey logo

Comments (5)

lilactown avatar lilactown commented on May 29, 2024 1

I'm still seeing this issue.

Ultimately defeats the purpose of the plugin if I can't trust linting errors as someone new to the language. :(

from elixirsublime.

auxbuss avatar auxbuss commented on May 29, 2024 1

The package downloaded by Package Control in Sublime is out of date. Most issues go away if you overwrite the installed version of this file:
https://github.com/vishnevskiy/ElixirSublime/blob/master/elixir_sublime.py

Note that this script only looks through _build/dev/, so modules defined in, say, test/support/ will be reported as not load/found.

I hacked that last with the following:

def find_ebin_folders(mix_project):
    paths = []
    if mix_project is not None:
        lib_path = os.path.join(mix_project, '_build/dev/lib')
        for lib in os.listdir(lib_path):
            paths.append(os.path.join(lib_path, lib, 'ebin'))
        lib_path = os.path.join(mix_project, '_build/test/lib')
        for lib in os.listdir(lib_path):
            paths.append(os.path.join(lib_path, lib, 'ebin'))
    return paths

from elixirsublime.

NoxHarmonium avatar NoxHarmonium commented on May 29, 2024 1

Another way to get the latest version is to:

  1. Open the command palette, select "Package Control: Remove Package" and then select "ElixirSublime".
  2. Open the command palette, select "Package Control: Add Repository" and enter this repo ("https://github.com/vishnevskiy/ElixirSublime.git")
  3. Open the command palette, select "Package Control: Install Package" and then select "ElixirSublime".
  4. Restart Sublime.

Then you should be tracking the git repo rather than the official package repo.

from elixirsublime.

lATAl avatar lATAl commented on May 29, 2024

Same.

from elixirsublime.

coffee-cup avatar coffee-cup commented on May 29, 2024

Thank you @auxbuss! Your fix worked for me 😄 . A lot of frustration and googling on this.

from elixirsublime.

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.