ezhilvendhan / import Goto Github PK
View Code? Open in Web Editor NEWAn Atom package to clone and open a git project to the Atom Editor
License: MIT License
An Atom package to clone and open a git project to the Atom Editor
License: MIT License
Hi!
This issue has reappeared. Am I the only one?
Atom Version: 1.1.0
System: Unknown Windows Version
Thrown From: import package, v1.6.0
Uncaught TypeError: atom.views.getView(...).append is not a function
At /C:/Users/amicheli/.atom/packages/import/lib/import-view.coffee:131
TypeError: atom.views.getView(...).append is not a function
at C:\Users\amicheli\.atom\packages\import\lib\import-view.coffee:69:46
at ChildProcess.exithandler (child_process.js:199:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:764:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:467:12)
2x -1:57.7.0 core:backspace (atom-text-editor.editor.is-focused)
2x -1:56.2.0 core:save (atom-text-editor.editor.is-focused)
-1:43.6.0 core:undo (atom-text-editor.editor.is-focused.autocomplete-active)
3x -1:42.1.0 core:save (atom-text-editor.editor.is-focused)
-0:48.4.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:46.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:46.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:21.1.0 core:copy (atom-text-editor.editor.is-focused.hyperclick)
-0:20.8.0 find-and-replace:show (atom-text-editor.editor.is-focused.hyperclick)
-0:20.7.0 core:paste (atom-text-editor.editor.mini.is-focused)
5x -0:20.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:19.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:19.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
{
"core": {
"disabledPackages": [
"language-c",
"language-clojure",
"language-coffee-script",
"language-csharp",
"language-gfm",
"language-go",
"code-links"
]
}
}
# User
atom-import-sort, v0.5.0
autocomplete-modules, v1.3.1
autocomplete-paths, v1.0.2
hyperclick, v0.0.32
import, v1.6.0
js-hyperclick, v1.4.0
language-babel, vundefined
minimap, v4.16.0
node-debugger, v1.1.9
react, v0.12.10
riot, v0.2.5
visual-bell, v1.0.0
# Dev
No dev packages
The Ctrl+Shift+I dialog never closes, irregardless of tabs, settings, git clone, etc., except on the close of Atom.
Atom v0.136.0
Import v0.3.0
OS: Windows 7 SP1 x64
Hi atom says my project home is under /users/<username>/github
but this plugin clones the repo to /users/<username>
Good to have autocomplete to list out all the relevant projects in the Atom Project Home
as title say
Hi, thanks for this usefull plugin!!!
I am having an issue on windows, when opening files.
TypeError: Cannot read property 'append' of undefined
at C:\Users\amicheli.atom\packages\import\lib\import-view.coffee:69:29
at ChildProcess.exithandler (child_process.js:199:7)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:764:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:467:12)
[Enter steps to reproduce below:]
Atom Version: 0.165.0
System: linux 3.13.0-44-generic
Thrown From: import package, v0.3.0
Uncaught TypeError: Cannot read property 'projectHome' of undefined
At /home/marcello/.atom/packages/import/lib/import-view.coffee:41
TypeError: Cannot read property 'projectHome' of undefined
at ImportView.module.exports.ImportView.doImport (/home/marcello/.atom/packages/import/lib/import-view.coffee:41:42)
at atom-text-editor.<anonymous> (/home/marcello/.atom/packages/import/lib/import-view.coffee:70:39)
at atom-text-editor.handler (/usr/share/atom/resources/app/src/space-pen-extensions.js:115:32)
at atom-text-editor.jQuery.event.dispatch (/usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-text-editor.elemData.handle (/usr/share/atom/resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:243:29)
at /usr/share/atom/resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app/src/window-event-handler.js:167:20)
-0:02.4 import:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:01.0 core:paste (input.hidden-input)
-0:00.0 core:confirm (input.hidden-input)
{}
# User
import, v0.3.0
script, v2.11.2
# Dev
No dev packages
/cc @atom/core
At the moment, if I import an Github URL, the project is placed in home folder.
Any way to make it import into the Downloads folder? Or perhaps allow the user to pick a default location.
Use activationCommands
instead of activationEvents
in your package.json
Commands should be grouped by selector as follows:
"activationCommands": {
"atom-workspace": ["foo:bar", "foo:baz"],
"atom-text-editor": ["foo:quux"]
}
Package.getActivationCommands (/usr/local/share/atom/resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/usr/local/share/atom/resources/app.asar/src/package.js:733:20)
<unknown> (/usr/local/share/atom/resources/app.asar/src/package.js:185:24)
Package.measure (/usr/local/share/atom/resources/app.asar/src/package.js:163:15)
Package.load (/usr/local/share/atom/resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/usr/local/share/atom/resources/app.asar/src/package-manager.js:355:14)
I installed the package but the key binding ctrl-shift-I is not working as expected. I verified to see if any conflict is present with the keybinding, but there was none.
Below is my atom version information.
Atom : 1.10.2
Electron: 0.37.8
Chrome : 49.0.2623.75
Node : 5.10.0
Let me if you need any other information.
[Enter steps to reproduce below:]
Atom Version: 0.190.0
System: Mac OS X 10.9.5
Thrown From: import package, v1.1.0
Failed to load the import package
At Cannot read property 'prototype' of undefined
TypeError: Cannot read property 'prototype' of undefined
at __extends (/Users/s.thabti/.atom/packages/import/lib/import-view.coffee:4:199)
at /Users/s.thabti/.atom/packages/import/lib/import-view.coffee:15:5
at Object.<anonymous> (/Users/s.thabti/.atom/packages/import/lib/import-view.coffee:194:5)
at Object.<anonymous> (/Users/s.thabti/.atom/packages/import/lib/import-view.coffee:196:4)
at Module._compile (module.js:452:26)
at Object.requireCoffeeScript (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:357:17)
at require (module.js:376:17)
{
"core": {
"projectHome": "~/workspace",
"excludeVcsIgnoredPaths": false,
"followSymlinks": true,
"showIndentGuide": true,
"useShadowDOM": true,
"zoomFontWhenCtrlScrolling": true,
"themes": [
"one-dark-ui",
"one-dark-syntax"
],
"disabledPackages": [
"hide-files",
"term2"
]
}
}
# User
autocomplete-plus, v2.6.0
formatter, v2.12.2
import, v1.1.0
language-ejs, v0.1.0
language-gradle, v0.0.3
linter-jsonlint, v0.1.2
linter-scss-lint, v0.0.14
markdown-pdf, v1.3.5
minimap, v4.6.0
npm-autocomplete, v0.1.2
open-terminal-here, v0.5.0
pretty-json, v0.3.2
react, v0.9.11
# Dev
No dev packages
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.