vindvaki / atom-autocomplete-julia Goto Github PK
View Code? Open in Web Editor NEWAn autocomplete+ provider for the Julia language
License: MIT License
An autocomplete+ provider for the Julia language
License: MIT License
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:
Let me know what other information would be helpful.
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?
[Enter steps to reproduce below:]
Atom Version: 1.0.2
System: Ubuntu 14.04.2
Thrown From: autocomplete-julia package, v0.0.7
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
-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)
{}
# 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
Ao digitar qualquer palavra é apresentado "um Uncaught Error: This socket has been ended by the other party"
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.
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
[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
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)
-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)
{
"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"
]
}
}
# 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
[Enter steps to reproduce below:]
Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: autocomplete-julia package, v0.1.0
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
17x -0:07.0 core:backspace (atom-text-editor#autocomplete-julia.juliaPath.editor.mini.is-focused)
{
"core": {
"themes": [
"atom-dark-ui",
"slime"
],
"disabledPackages": [
"bracket-matcher",
"tabs",
"better-brackets"
]
},
"autocomplete-julia": {
"juliaPath": "/usr"
}
}
# 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
Pretty much what it says on the title. Happens randomly, around 30% of the time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.