Code Monkey home page Code Monkey logo

Comments (5)

slashmili avatar slashmili commented on May 23, 2024

@rawkode you do share a working directory with Docker. Aren't deps and _build directories automatically created in that shared directory?

from alchemist.vim.

rawkode avatar rawkode commented on May 23, 2024

@slashmili No, I use local volumes to keep deps and _build away from my working directory, which is fantastic; until I want code completion 😕

Is adding the remote alchemist configuration not something you're likely to support?

from alchemist.vim.

slashmili avatar slashmili commented on May 23, 2024

@rawkode I couldn't find a proper solution. I can make some changes that it works for your but couldn't find a general solution.

The challenges:

  • Every time you start a Docker, you get a new IP address which makes it hard to configure one IP/port in vim config
  • People usually have multiple projects and not sure how can we have multiple ip/port config per mix project

from alchemist.vim.

rawkode avatar rawkode commented on May 23, 2024

So each of my Elixir projects runs their own alchemist, through docker-compose, with the following:

  alchemist-server:
    image: rawkode/elixir-alchemist-server:latest
    ports:
      - 50501:50501
    volumes_from:
      - application

So if I can configure this plugin to connect to localhost:50501, then no matter what project I am editing, it should work. Obviously if I am working on multiple projects at the same time, then it's not going to work. Is this a common use-case though?

from alchemist.vim.

slashmili avatar slashmili commented on May 23, 2024

@rawkode check out the new changes in #78

I hope it helps you to setup your project in docket

from alchemist.vim.

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.