Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    fr1zle
    @fr1zle
    Did you create just a ex file before? Try opening an existing project
    Maybe this is a bug with non project files
    Peter Bruinsma
    @23min
    Other elixir projects (folders) work fine. When copy this entire project (cp -r) to my home folder, intellisense and documentation work. Spooky.
    fr1zle
    @fr1zle
    Ok, can you open a github issue? And detailing what exactly you did? Would be super helpful 😀👍
    Peter Bruinsma
    @23min
    Yeah I don't mind, except that I don't have a good repro scenario. Seems to mess up on one project folder only that's under Dropbox.
    fr1zle
    @fr1zle
    Is this a mix project?
    Peter Bruinsma
    @23min
    yes
    created with elixir 1.4.2
    Peter Bruinsma
    @23min
    It doesn't seem path related. It's intermittent.
    fr1zle
    @fr1zle
    Can you cd into that project and run 'elixir path/to/alchemist-server/run.exs dev'
    Peter Bruinsma
    @23min
    I read that in the readme and did that. It just stays at:
    Initializing alchemist-server for environment "dev" (Elixir version 1.4.2)
    fr1zle
    @fr1zle
    Weird
    Peter Bruinsma
    @23min
    Is node involved in this somehow? I'm running 7.2.1.
    fr1zle
    @fr1zle
    I think vscode bundles it's own node version
    I'm currently at a conference with no WiFi, so it will be a few hours before I can look into it more.
    Peter Bruinsma
    @23min
    Ok :) Let me know how I can help. I don't want to be w/o this extension :)
    fr1zle
    @fr1zle
    okay, so @23min how did you create the new project? did you run mix compile already?
    Peter Bruinsma
    @23min
    mix new myapp --sup
    Yes, it's got a couple of dependencies (incl Ecto) and I've done mix get deps, mix compile, mix test, etc.
    Bart ten Brinke
    @barttenbrinke
    Hey, I've just installed VSCODE with Elixir and there is something stange going on when I try to autocomplete things. If I type def test, it does autocomplete the test name, but when I type something like Enum. nothing happens whatsoever. How can I debug this?
    And ofcourse it sometimes does work :)
    fr1zle
    @fr1zle
    @barttenbrinke did you try running mix compile?
    Bart ten Brinke
    @barttenbrinke
    Yes @fr1zle this a big project , I think alvhemist is taking a long time to process small changes.
    When autcomplete is not working i see a beam running in the a activity monitor
    fr1zle
    @fr1zle
    Okay. Does this only happen in test sources or other sources as well?
    Bart ten Brinke
    @barttenbrinke
    All modules
    When I open up a module and type Enum. It works once, then I see a bean spinup and it stops working for 30 seconds. Then everything works again.
    Beam
    fr1zle
    @fr1zle
    Okay... I have never actually tried using it in a big project (sadly elixir is only a hobby for me).
    Bart ten Brinke
    @barttenbrinke
    :smile: is there a simple way to see some debug info ?
    fr1zle
    @fr1zle
    So i will have to find a big project and do some testing.
    Bart ten Brinke
    @barttenbrinke
    Maybe I can narrow down the search a bit
    fr1zle
    @fr1zle
    You can open the developer console via the "Help" menu. It's basically chrome dev tools. Maybe you will find something of interest there in the console
    Bart ten Brinke
    @barttenbrinke
    Ill try that tomorrow!
    Thanks!
    kk
    @0radek
    hey everyone
    with latest update is the auto complete not working right for some people? for example, i used to be able to do something like defmodule MyProject.Whatever do <--- autocomplete do
    except now it recommends defoverrideable first
    instead of do
    fr1zle
    @fr1zle
    @ScaryWolfMan latest vscode or plugin update?
    B Kunto Adji
    @bromoapp
    Hi .... guys :P
    Frank Kumro Jr
    @fkumro
    With the latest vscode and latest vscode-elixir plugin, would anything prevent auto-indentation to not work?
    def x do <enter> and the next line doesn't indent. also end isn't being inserted.
    fr1zle
    @fr1zle
    Hmm that doesnt sound right. Let me check
    image.png
    there should be a snippet that does it... otherwise it seems to indent correct for me. but it won't insert "end" if you don't choose the snippet
    Frank Kumro Jr
    @fkumro
    if I select the snippet all is well, if I don't then it doesn't indent. The lack of end makes sense.
    fr1zle
    @fr1zle
    Ok, weird... It does for me. also when I add the "end" it does indent it as well... hmm
    Frank Kumro Jr
    @fkumro
    my settings file is small
    {
        "workbench.colorTheme": "One Dark Pro",
        "workbench.iconTheme": "vscode-icons",
        "vim.disableAnnoyingNeovimMessage": true,
        "editor.fontFamily": "'Panic Sans'",
        "editor.fontSize": 16,
        "editor.tabSize": 2,
        "editor.renderWhitespace": "all",
        "editor.cursorStyle": "block-outline",
        "editor.tabCompletion": true,
        "editor.rulers": [
            80, 100
        ],
        "editor.autoIndent": true,
        "editor.cursorBlinking": "phase"
    }
    fr1zle
    @fr1zle
    Hmm, did you try to disable the vim plugin?