Autocompletion & tab complete no longer work after Atom Package update

Juno’s debug info for me.

# Atom:
Version: 1.40.1
Dev Mode: false
Official Release: true
{
  "http_parser": "2.8.0",
  "node": "10.2.0",
  "v8": "6.6.346.32",
  "uv": "1.20.3",
  "zlib": "1.2.11",
  "ares": "1.14.0",
  "modules": "64",
  "nghttp2": "1.29.0",
  "napi": "3",
  "openssl": "1.1.0h",
  "electron": "3.1.10",
  "chrome": "66.0.3359.181"
}
# julia-client:
Version: 0.9.4
Config:
{
  "firstBoot": false,
  "juliaOptions": {
    "bootMode": "Basic"
  },
  "juliaPath": "/home/alejandro/julia-1.2.0/bin/julia",
  "uiOptions": {
    "enableMenu": true,
    "enableToolBar": true
  }
}


# ink:
Version: 0.10.12
Config:
undefined


# uber-juno:
Version: 0.2.0
Config:
{
  "disable": true
}


# language-julia:not installed


# language-weave:not installed


# indent-detective:
Version: 0.4.0
Config:
undefined


Julia Version 1.2.0
Commit c6da87ff4b (2019-08-20 00:03 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = atom  -a
  JULIA_NUM_THREADS = 4

    Status `~/.julia/environments/v1.2/Project.toml`
  [c52e3926] Atom v0.9.1
  [336ed68f] CSV v0.5.11
  [a93c6f00] DataFrames v0.19.2
  [31c24e10] Distributions v0.21.1
  [e30172f5] Documenter v0.23.2
  [e5e0dc1b] Juno v0.7.2
  [112f6efa] VegaLite v0.7.0
  [44d3d7a6] Weave v0.9.1

Can you try installing both language-julia and latex-completions, restart Atom, and check if completions/highlighting works for you?

Did that, seems to be back to normal. Thanks! However, why did I lose that after updates? Is that worth looking into?

Here’s my debug info:

# Atom:
Version: 1.39.1
Dev Mode: false
Official Release: true
{
  "http_parser": "2.8.0",
  "node": "10.2.0",
  "v8": "6.6.346.32",
  "uv": "1.20.3",
  "zlib": "1.2.11",
  "ares": "1.14.0",
  "modules": "64",
  "nghttp2": "1.29.0",
  "napi": "3",
  "openssl": "1.1.0h",
  "electron": "3.1.10",
  "chrome": "66.0.3359.181"
}
# julia-client:
Version: 0.9.4
Config:
{
  "firstBoot": false,
  "juliaPath": "C:\\\\Users\\\\Tucker\\\\AppData\\\\Local\\\\Julia-1.1.1\\\\bin\\\\julia.exe",
  "uiOptions": {
    "enableMenu": true,
    "enableToolBar": true
  }
}


# ink:
Version: 0.10.12
Config:
undefined


# uber-juno:
Version: 0.2.0
Config:
{
  "disable": true
}


# language-julia:
Version: 0.19.1
Config:
undefined


# language-weave:not installed


# indent-detective:
Version: 0.4.0
Config:
undefined


Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_EDITOR = "C:\Users\Tucker\AppData\Local\atom\app-1.39.1\atom.exe"  -a
  JULIA_NUM_THREADS = 4

    Status `C:\Users\Tucker\.julia\environments\v1.1\Project.toml`
  [c52e3926] Atom v0.9.1
  [f67ccb44] HDF5 v0.11.1
  [a770b2f2] HDF5Logger v1.0.0 #master (https://github.com/tuckermcclure/HDF5Logger.jl)
  [7073ff75] IJulia v1.18.1
  [a98d9a8b] Interpolations v0.12.2
  [682c06a0] JSON v0.21.0
  [e5e0dc1b] Juno v0.7.1
  [f0f68f2c] PlotlyJS v0.12.5
  [91a5bcdd] Plots v0.25.2
  [d330b81b] PyPlot v2.8.1
  [295af30f] Revise v2.1.6
  [90137ffa] StaticArrays v0.11.0
  [a759f4b9] TimerOutputs v0.5.0
  [ddb6d928] YAML v0.3.2

I have tried totally removing Juno and all packages from Atom. Restarting, reinstalling uber-juno, and restarting. This did not fix the LaTeX completions for me.

I wonder if there’s any disagreement between the Atom I have in my local Project and the Atom in my 1.1 environment.

Do the latex completions work in non-julia files? Do Julia completions work fine? How about the latex completions in Julia files when you disable julia-client?

Thanks. Juno’s debug info is appended below. In the editor, I would like commands like

\alpha + TAB

to be converted to

α.

This works in the REPL but not when editing a .jl file. Upon hitting TAB, it simply adds blank space. The “\alpha” is unaltered. Completions do not work in non-Julia files, and it doesn’t work when julia-client is disabled.

I was having the same problem and this worked for me. Did you try it?

Yes, I just tried

uninstall language-julia, latex-completions
restart Atom
install language-julia, latex-completions
restart Atom

However, the issue persists.

Thanks @pfitzseb. To answer your questions:

LaTeX completions do not work in non-Julia files (though they work at the REPL inside of Juno). (Should I expect them to? I’ve never used this outside of Julia.)

Julia completions do not work.

LaTeX completions do not work in Julia files when julia-client is disabled.

My case appears to be the same as @minkailin.

Yes, latex-completions should work in basically every context.

The fact that both types of completions aren’t working is kinda puzzling – can you check the Atom dev console for errors (open with Ctrl-Shift-I or Cmd-Shift-I)? Also note that Julia completions usually don’t come up instantly the first time and require a running REPL, so be sure to try twice.
Updating to Atom 1.40.1 might also be a good idea, but shouldn’t really change anything.

You don’t seem to start Julia in a local env (at least from what your settings say), so that shouldn’t matter. Do try the default environment (and no LOAD_PATH shenanings) though.

Sorry I disappeared for a while. I’ve been on travel for work.

I’m back at my desk PC now. I updated to Julia 1.2, I updated the Atom and Juno packages, and I updated anything in Juno’s package list that had an update. I’m leaving everything at its default, except as noted below.

I’m still having the same problem: I LaTeX autocompletions work at the command line but not in files that I’m editing. I made sure a REPL was started and that it would even resolve LaTeX characters before trying in the editor.

It’s like, when I press tab, it doesn’t “think” about anything like it used to. I immediately get a tab character.

I turned off some features in the built-in autocomplete-plus package of Atom a while back. That wouldn’t have anything to do with this would it? That’s pretty much the only thing that isn’t left at the default settings.

Here’s my debug info at this point:

# Atom:
Version: 1.40.1
Dev Mode: false
Official Release: true
{
  "http_parser": "2.8.0",
  "node": "10.2.0",
  "v8": "6.6.346.32",
  "uv": "1.20.3",
  "zlib": "1.2.11",
  "ares": "1.14.0",
  "modules": "64",
  "nghttp2": "1.29.0",
  "napi": "3",
  "openssl": "1.1.0h",
  "electron": "3.1.10",
  "chrome": "66.0.3359.181"
}
# julia-client:
Version: 0.10.1
Config:
{
  "firstBoot": false,
  "juliaPath": "C:\\\\Users\\\\Tucker\\\\AppData\\\\Local\\\\Julia-1.2.0\\\\bin\\\\julia.exe",
  "uiOptions": {
    "enableMenu": true,
    "enableToolBar": true
  }
}


# ink:
Version: 0.11.0
Config:
undefined


# uber-juno:
Version: 0.2.0
Config:
{
  "disable": true
}


# language-julia:
Version: 0.19.1
Config:
undefined


# language-weave:not installed


# indent-detective:
Version: 0.4.0
Config:
undefined


Julia Version 1.2.0
Commit c6da87ff4b (2019-08-20 00:03 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
Environment:
  JULIA_EDITOR = "C:\Users\Tucker\AppData\Local\atom\app-1.40.1\atom.exe"  -a
  JULIA_NUM_THREADS = 4

    Status `C:\Users\Tucker\.julia\environments\v1.2\Project.toml`
  [c52e3926] Atom v0.10.1
  [e5e0dc1b] Juno v0.7.2

There are no LOAD_PATH shenanigans or anything.

I pulled up the Atom dev console (ctrl+shift+i) and clicked the Console tab, but I don’t see any errors.

I tried this and all the other steps mentioned in this post and yet the autocomplete does not work