Giter Site home page Giter Site logo

atom-autocomplete-julia's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

atom-autocomplete-julia's Issues

Autocomplete is only available for a few minutes after opening

Whenever I open a Julia file with Atom, I'm able to use autocomplete in all of its glory, but only for a couple minutes. After that none of the menus or anything pop up. It appears the package just kind of goes idle or something.

Information in case it matters:

  • autocomplete-julia 0.1.0
  • Atom 1.3.2
  • Julia 0.4.2
  • Mac OS X 10.10

Let me know what other information would be helpful.

Uncaught Error: spawn julia ENOENT

I have julia available in /usr/local/bin, which isn't in $PATH by unless I run Atom from a shell session. I tried adding /usr/local/bin/ to process.env.PATH in init.coffee, and I can see from the console that it's getting added, but I still get this error when autocomplete-julia tries to launch the julia process. Apparently init.coffee is run after packages are loaded. Would it be possible to defer attempting to launch the julia process until after init.coffee is loaded?

Uncaught Error: This socket has been ended by the other party

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2
System: Ubuntu 14.04.2
Thrown From: autocomplete-julia package, v0.0.7

Stack Trace

Uncaught Error: This socket has been ended by the other party

At events.js:141

Error: This socket has been ended by the other party
  at Socket.writeAfterFIN [as write] (net.js:275:12)
  at JuliaProvider.module.exports.JuliaProvider.getSuggestions (/home/lionel/.atom/packages/autocomplete-julia/lib/julia-provider.coffee:18:18)
  at /usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:255:56
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:234:17)
  at AutocompleteManager.getSuggestionsFromProviders (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:221:19)
  at /usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands

     -8:55.7.0 editor:newline (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:53.6.0 snippets:next-tab-stop (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:53.6.0 snippets:expand (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:53.6.0 editor:indent (atom-text-editor.editor.mechanical-keyboard.is-focused)
  3x -8:49.3.0 core:backspace (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:35.7.0 core:move-down (atom-text-editor.editor.mechanical-keyboard.is-focused.autocomplete-active)
     -8:34.6.0 autocomplete-plus:confirm (atom-text-editor.editor.mechanical-keyboard.is-focused.autocomplete-active)
     -8:34.6.0 snippets:expand (atom-text-editor.editor.mechanical-keyboard.is-focused.autocomplete-active)
undefined -8:31.2.0 core:move-left (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:14.4.0 editor:newline (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -8:10 core:move-right (atom-text-editor.editor.mechanical-keyboard.is-focused)
  7x -8:09.8.0 editor:newline (atom-text-editor.editor.mechanical-keyboard.is-focused)
  2x -4:48.8.0 window:toggle-dev-tools (div.settings-view.pane-item)
     -1:36.1.0 core:backspace (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -1:32.9.0 core:save (atom-text-editor.editor.mechanical-keyboard.is-focused)
     -1:19 script:run (atom-text-editor.editor.mechanical-keyboard.is-focused)

Config

{}

Installed Packages

# User
atom-python-debugger, v0.3.4
autocomplete-julia, v0.0.7
language-julia, v0.3.1
mechanical-keyboard-1, v0.1.3
script, v2.26.3

# Dev
No dev packages

erro

Ao digitar qualquer palavra é apresentado "um Uncaught Error: This socket has been ended by the other party"

problem with popup list

When using autocomplete with a file tree view on the left side of the screen the list is partially oscured by the treeview even though it is not the focussed window. Also when there is no treeview and the editor window occupies the whole screen the popup list is hard against the left edge of the screen. It would look much better if the left edge of the popup window was indented slightly, preferably to the right of the line number gutter then it would be completely visible even when displaying the file treeview.

Greek and other unicode letters?

Looks like the latest update doesn't support greek letters ? I cant seem to do \alpha and get its equivalent unicode after the latest update.

thanks,
Nitin

Uncaught Error: This socket is closed.

[Enter steps to reproduce below:]

Tried running a non-trivial Julia instance using Hydrogen. Afterwords the auto-complete stopped working.

Atom Version: 1.0.0
System: Mac OS X 10.10.2
Thrown From: autocomplete-julia package, v0.0.7

Stack Trace

Uncaught Error: This socket is closed.

At events.js:141

Error: This socket is closed.
    at Socket._writeGeneric (net.js:634:19)
    at Socket._write (net.js:687:8)
    at doWrite (_stream_writable.js:295:12)
    at writeOrBuffer (_stream_writable.js:282:5)
    at Socket.Writable.write (_stream_writable.js:210:11)
    at Socket.write (net.js:612:40)
    at JuliaProvider.module.exports.JuliaProvider.getSuggestions (/Users/elcritch/.atom/packages/autocomplete-julia/lib/julia-provider.coffee:26:24)
    at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:255:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:234:17)

Commands

     -0:24 core:move-right (atom-text-editor.editor.is-focused)
 18x -0:23.6.0 core:select-down (atom-text-editor.editor.is-focused)
     -0:19.5.0 core:backspace (atom-text-editor.editor.is-focused)
  5x -0:16 core:move-down (atom-text-editor.editor.is-focused)
     -0:14.6.0 core:move-up (atom-text-editor.editor.is-focused)
  6x -0:14.3.0 core:select-down (atom-text-editor.editor.is-focused)
     -0:12.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:11.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:10.5.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:10.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:05.7.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:05.7.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:05.7.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:04.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:04.5.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:04.5.0 core:cancel (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "unity-ui",
      "twilight-textmate-syntax"
    ],
    "projectHome": "/Users/elcritch/proj/",
    "disabledPackages": [
      "image-copipe",
      "language-ipynb",
      "markdown-format",
      "tidy-markdown",
      "markdown-lists",
      "markdown-preview-plus",
      "zotero-citations",
      "mark",
      "wrap-guide",
      "welcome",
      "linter",
      "linter-jscs",
      "minimap"
    ]
  }
}

Installed Packages

# User
Hydrogen, v0.4.1
Sublime-Style-Column-Selection, v1.3.0
academic, v0.34.1
api-docs, v0.0.1
autocomplete-julia, v0.0.7
drop-up, v0.1.2
language-hy, v0.1.0
language-julia, v0.1.1
language-pfm, v0.69.0
markdown-preview-opener, v0.1.1
markdown-scroll-sync, v0.4.0
markdown-table-formatter, v2.5.2
repl-term, v0.1.0
twilight-textmate-syntax, v0.1.19
typewriter, v0.3.3
unity-ui, v2.0.11

# Dev
No dev packages

Uncaught Error: spawn EACCES

[Enter steps to reproduce below:]

  1. Have Mac OSX 10.11.0
  2. Install atom-autocomplete-julia
  3. Upgrade to Mac OSX 10.11.1
  4. Run atom

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: autocomplete-julia package, v0.1.0

Stack Trace

Uncaught Error: spawn EACCES

At internal/child_process.js:298

Error: spawn EACCES
  at exports._errnoException (util.js:814:11)
  at ChildProcess.spawn (internal/child_process.js:298:11)
  at exports.spawn (child_process.js:343:9)
  at new JuliaProvider (/Users/matt/.atom/packages/autocomplete-julia/lib/julia-provider.coffee:13:14)
  at /Users/matt/.atom/packages/autocomplete-julia/lib/atom-autocomplete-julia.coffee:16:23
  at /opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/src/config.js:568:20
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
  at Config.module.exports.Config.emitChangeEvent (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/src/config.js:753:29)
  at Config.module.exports.Config.setRawValue (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/src/config.js:545:19)
  at Config.module.exports.Config.set (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/src/config.js:215:14)
  at SettingsPanel.module.exports.SettingsPanel.set (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-panel.js:196:28)
  at /opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-panel.js:242:26
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
  at /opt/homebrew-cask/Caskroom/atom/1.0.19/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1276:25

Commands

 17x -0:07.0 core:backspace (atom-text-editor#autocomplete-julia.juliaPath.editor.mini.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "slime"
    ],
    "disabledPackages": [
      "bracket-matcher",
      "tabs",
      "better-brackets"
    ]
  },
  "autocomplete-julia": {
    "juliaPath": "/usr"
  }
}

Installed Packages

# User
autocomplete-julia, v0.1.0
autocomplete-python, v0.9.4
fonts, v1.0.0
language-julia, v0.4.1
linter, v1.10.0
linter-pep8, v1.0.1
slime, v1.3.0

# Dev
No dev packages

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.