Coder Social home page Coder Social logo

atom-project-plus's People

Contributors

chuckhendo avatar danielbayley avatar gee-forr avatar int3h avatar mehcode avatar mikekolganov avatar shemerey avatar willdawsonme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-project-plus's Issues

Merge with Project Manager

@danielbrodin

If we start with this codebase and add:

  • Read from both the state store AND projects.cson (by default).
  • Explicit "save" command — just serializes the current state to the state store AND adds it to projects.cson
  • Config to only show explicitly saved projects — So only read from projects.cson instead of reading from the state store AND projects.cson. Need a good config name / description.
  • Explicit rename or "set title" command — the other half of your current save function — #15

I don't mind doing the heavy lifting. It's not that much to add. We'd have nearly a feature parity.

Better (mostly visual) support for multiple paths

  • Adding/Removing a path to a project makes a new project with the current path set joined with the new path. It leaves the old project in the project finder.

This is intended behavior in the state store of atom (as states are keyed by the path array). This is not necessarily a bad thing for crash restore.. but it's a bit odd.

Still mulling about how to fix this nicely. My current idea is to add a listener to when a path gets added/removed to the project and archive the old state. This would mean it still exists for atom (and crash restore) but it wouldn't exist for the finder. We could add a property to the project state ("+archive": true perhaps).


  • Projects that share paths could look similar in finder. The finder just uses project.paths[0] for the visual part of it.

We should at least indicate that it contains multiple projects in the primary title.

Remove a project from the project-plus list

Hello,

I inadvertently created a project which contains two folders (different projects) with atom.

When I remove the project folders from the left sidebar, this one project stays in the list when I I activate the keybinding 'CTRL+ALT+P'.

ee

Do you have an idea to solve my problem ?
Thank you !

How to delete old projects ?

Hi, I worked with several projects, which I don't want to show up anymore when I tried to switch between projects. Is it possible to delete these entries ?

Thank you!

Finder shortcut no longer works

I'm on Atom 1.8.0 and the Toggle Finder command doesn't seem to be working.

According to the Keybindings page Alt-Ctrl-P is used by the command window:run-package-specs. It seems to be occluding the project plus keybinding.

Is there a procedure in place for situations like this? Does someone change their default shortcut?

Service to fetch project settings

Hello

I already hinted at such a feature in another ticket ([1]), but wanted to make an official request for a (much) simpler version of it: currently there is a project.cson file that contains the title and paths of each project. It it also easy to edit this file by hand and add additional settings (i.e. specific to each project). Would it be possible to expose a service from this package that allows fetching the currently active project's data (i.e. title, paths and any other keys that were present) from this file? A feature such as this would help immensily with other packages that want to depend on project-specific settings (such as compiler flags, linter settings, ...).

At a later stage, someone could even build an interface for it and flesh it out by allowing other packages to supply the supported settings to it, but even a simple service that just fetches manually appended data would be of a great help.

Also, at the risk of going off-topic, I read you mentioned at some point in the Atom discussion forums that you may even (try to) push some API's to Atom itself. To take this even further, I think it would be great if this package could become part of Atom's core packages. Project switching and settings are a vital feature for users looking to turn Atom into more of an IDE and having it in the Atom core centralizes the community around a single package (much like autocomplete-plus).

Thanks in advance

[1] #36

include/exclude project in a list

I would like to implement include/exclude functionality, so your opinion is really important.

General idea is implementing some kind of .gitignore functionality. It can be setting in a plugin itself or config file in Atom config dir.

Main goal is to add basic filtering functionality include/exclude and clean up project list

Project Discovery is slow

Hey,
in the settings I've disabled to look for projects outside of the projects.cson and even though I have less than ten projects in there it always takes up to 2secs of Discovering projects.. when I toggle project-plus menu. Is this considered as normal behavior? are the results cached in any way?

Regards from Germany,
Dennis

Remove blacklist and rename the whitelist config to make it more visible

@shemerey

More on blacklist in specific. As I talk to people that use this package, I find that nobody uses blacklist and everybody either uses whitelist or wants to use it (and doesn't understand that it is what it is).

  • Remove blacklist
  • Rename whitelist to Project Home (or similar/better name) with a slightly adjusted description.

Broken with atom 1.9.3

flushed, cleared, wiped and committed all kinds of deep inside genocide action on my atom install.

Plugin still broken. stuck on "Discovering projects" regardless of the command i use.

Uncaught TypeError: Cannot read property 'map' of undefined

[Enter steps to reproduce below:]

  1. start atom
  2. press ctrl+alt+p

Atom Version: 1.5.4
System: Ubuntu 15.10
Thrown From: project-plus package, v0.7.0

Stack Trace

Uncaught TypeError: Cannot read property 'map' of undefined

At /home/iisbwil/.atom/packages/project-plus/lib/util.coffee:70

TypeError: Cannot read property 'map' of undefined
    at /home/iisbwil/.atom/packages/project-plus/lib/util.coffee:70:30
    at Array.map (native)
    at filterProjects (/home/iisbwil/.atom/packages/project-plus/lib/util.coffee:68:15)
    at /home/iisbwil/.atom/packages/project-plus/lib/util.coffee:166:19
    at /home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:52:16
    at /home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:361:13
    at /home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:52:16
    at done (/home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:246:17)
    at /home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:44:16
    at /home/iisbwil/.atom/packages/project-plus/node_modules/async/lib/async.js:358:17
    at /home/iisbwil/.atom/packages/project-plus/lib/util.coffee:162:15
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands

     -0:35 application:add-project-folder (atom-text-editor.editor.is-focused)
     -0:03.5.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -0:02.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:02.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:00.9.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "audioBeep": false,
    "disabledPackages": [
      "spell-check"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      "*~"
    ],
    "themes": [
      "atom-light-ui",
      "solarized-dark-syntax"
    ]
  },
  "project-plus": {}
}

Installed Packages

# User
git-diff-details, v0.23.0
html-entities, v0.4.0
language-apache, v1.4.0
language-dot, v1.6.0
language-generic-config, v1.0.0
language-puppet, v0.17.0
language-txtasmarkdown, v0.1.0
linter, v1.11.3
linter-erb, v1.0.2
linter-puppet, v1.0.0
markdown-table-formatter, v2.8.0
minimap, v4.20.0
minimap-git-diff, v4.2.0
project-plus, v0.7.0
recent-projects, v0.9.5
tree-view-open-files, v0.3.0

# Dev
No dev packages

DOM Exception when trying to close or switch projects

I've not been able to pin down exactly when this happens and the console doesn't provide much detail. Seems to be when the current project has been open for a while and/or is quite large? Sorry this is vague.

Uncaught (in promise) DOMException: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned.

`at Error (native)
at dbPromise.then.db (/Applications/Atom.app/Contents/Resources/app.asar/src/state-store.js:33:12)`

Uncaught TypeError: Cannot read property 'replace' of undefined

[Enter steps to reproduce below:]

  1. Ctrl-Cmd-P
  2. Input something into search input
  3. Remove everything in the search input

Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: project-plus package, v0.4.3

Stack Trace

Uncaught TypeError: Cannot read property 'replace' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:319

TypeError: Cannot read property 'replace' of undefined
    at Builder.text (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:319:29)
    at Function.View.text (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:92:34)
    at Object.content (/Users/vasa/.atom/packages/project-plus/lib/project-finder-view.coffee:61:12)
    at Builder.tag (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:281:19)
    at Function.View.(anonymous function) [as div] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:83:49)
    at Object.content (/Users/vasa/.atom/packages/project-plus/lib/project-finder-view.coffee:60:10)
    at Builder.tag (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:281:19)
    at Function.View.(anonymous function) [as li] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:83:49)
    at Function.<anonymous> (/Users/vasa/.atom/packages/project-plus/lib/project-finder-view.coffee:56:8)
    at Function.View.buildHtml (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:123:10)
    at Function.View.render (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:129:19)
    at exports.$$ (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:627:24)
    at ProjectPlusView.module.exports.ProjectPlusView.viewForItem (/Users/vasa/.atom/packages/project-plus/lib/project-finder-view.coffee:55:5)
    at ProjectPlusView.module.exports.SelectListView.populateList (/Users/vasa/.atom/packages/project-plus/node_modules/atom-space-pen-views/lib/select-list-view.js:206:29)
    at /Users/vasa/.atom/packages/project-plus/node_modules/atom-space-pen-views/lib/select-list-view.js:350:26

Commands

     -0:07.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:05.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:05.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:02.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:02.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "customFileTypes": {
      "source.js.jsx": [
        "js",
        "jsx",
        "es6"
      ]
    },
    "disabledPackages": [
      "atom-ctags",
      "linter-scss-lint",
      "autosave",
      "autocomplete",
      "linter-python-pyflakes",
      "project-manager"
    ],
    "packagesWithKeymapsDisabled": [
      "color-picker",
      "highlight-line"
    ],
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
angularjs, v0.3.4
atom-django, v0.3.2
atom-material-syntax, v0.4.3
atom-material-ui, v1.2.0
autoclose-html, v0.23.0
autocomplete-modules, v1.4.1
autocomplete-paths, v1.0.2
autocomplete-python, v1.7.0
block-travel, v1.0.4
color-picker, v2.1.1
compare-files, v0.6.2
django-templates, v0.5.0
editorconfig, v1.2.4
emmet, v2.4.1
file-icons, v1.6.17
git-diff-details, v0.23.0
git-log, v0.4.1
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-babel, v2.15.4
language-elixir, v0.11.1
language-elm, v1.3.3
linter, v1.11.3
linter-eslint, v7.0.0
linter-flake8, v1.12.1
linter-jsonlint, v1.1.6
linter-less, v2.4.2
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-pigments, v0.1.7
pigments, v0.24.2
project-plus, v0.4.3
python-isort, v0.0.7

# Dev
No dev packages

Feature Request: Allow adding nuclide remote project paths

It would be great if this worked well with Nuclide and remote server development. Right now my projects.cson has remote files that look like this (substitute in your server's IP/port):

www:
  title: "www"
  paths: [
    "nuclide://127.0.0.1:8084/data/users/kyldvs/www"
  ]

When I switch to this project I always have to manually add this path back to the file-tree. Ideally it would be automatically added.

I'm not familiar enough with any of this to know whether this is something that would need to be added to this project or Nuclide itself, but I may try digging into it later.

Projects found from inside an already found project

Hello

After testing the package out I found that when viewing the projects found it looks recursively(?). And if I have a folder with the same name inside an project folder it shows up multiple times, example:

Include: /home/user/workspace/

* project1
/home/user/workspace/project1

* project1
/home/user/workspace/project1/include/project1

Making a new project from an existing window

Currently this package works great on existing projects. To make a new project you need to use the open folder command and that creates a new window. A project-plus:new command would be nice.

Way to update existing projects

First let me say that project-plus does seem to be awesome.

But the way to update projects seems sort of clunky. If I turn off auto-discovery and have a project with the D:\foo\ directory (on Windows 10, for example), I can save it and edit the projects and give it a cool name such as... FooBar! Now FooBar will appear in my projects when I want to switch.

But then I remember that I forgot to add the D:\bar\ directory to my project. No problem; I switch back to FooBar and add it. Then I switch to the Example project. But when I go back to the FooBar project, D:\bar\ is no longer there?

Ah, I forgot to save it; apparently project-plus doesn't support auto-save of projects. OK, it's not a big deal; I just go to the menu and select Save Project. Whoops---now I have a FooBar project and a foo,bar project. Jeepers...

Sure, I can now go in and muck around with projects.cson, but... is there an easier way that I'm missing? Is this something that can be improved?

No projects listed when whitelist is empty

I'm using Atom 1.6.0-beta7 on Windows. I recently upgraded to Project Plus 0.7, and found all my projects had disappeared!

On a hunch I added ~ to the whitelist, and the projects within the home directory are now listed. To have everything showing, I'll need to add each drive (C:, D:). Good ol' Windows...

Would you agree that if the whitelist is empty, no whitelist behaviour should occur?

Doesn't save projects.

Not sure how it works, but I set the "Project Home" setting to ~/.atom/session, and then I run the Project Plus: Save command, which shows the green success notification, but when I press cmd-ctrl-p to see projects, the list is empty.

Uncaught TypeError: Cannot read property '0' of undefined

[Enter steps to reproduce below:]

  1. Open Atom
  2. Click Ctrl-Cmd-P

Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: project-plus package, v0.4.2

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At /Users/vasa/.atom/packages/project-plus/lib/util.coffee:41

TypeError: Cannot read property '0' of undefined
    at /Users/vasa/.atom/packages/project-plus/lib/util.coffee:41:45
    at Array.map (native)
    at sanitize (/Users/vasa/.atom/packages/project-plus/lib/util.coffee:38:17)
    at /Users/vasa/.atom/packages/project-plus/lib/util.coffee:96:19
    at /Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:52:16
    at /Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:361:13
    at /Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:52:16
    at done (/Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:246:17)
    at /Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:44:16
    at /Users/vasa/.atom/packages/project-plus/node_modules/async/lib/async.js:358:17
    at /Users/vasa/.atom/packages/project-plus/lib/util.coffee:93:13
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands

     -0:29 project-plus:toggle-project-finder (atom-pane.pane.active)
     -0:11.9.0 command-palette:toggle (atom-pane.pane.active)
  3x -0:07.6.0 editor:delete-to-beginning-of-word (atom-text-editor.editor.mini.is-focused)
     -0:06.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  3x -0:04.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:02.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:02.2.0 project-plus:toggle-project-finder (atom-pane.pane.active)

Config

{
  "core": {
    "customFileTypes": {
      "source.js.jsx": [
        "js",
        "jsx",
        "es6"
      ]
    },
    "disabledPackages": [
      "atom-ctags",
      "linter-scss-lint",
      "autosave",
      "autocomplete",
      "linter-python-pyflakes"
    ],
    "packagesWithKeymapsDisabled": [
      "color-picker",
      "highlight-line"
    ],
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
angularjs, v0.3.4
atom-django, v0.3.2
atom-material-syntax, v0.4.3
atom-material-ui, v1.2.0
autoclose-html, v0.22.0
autocomplete-modules, v1.4.1
autocomplete-paths, v1.0.2
autocomplete-python, v1.6.1
block-travel, v1.0.4
color-picker, v2.1.1
compare-files, v0.6.2
django-templates, v0.5.0
editorconfig, v1.2.4
emmet, v2.4.1
file-icons, v1.6.16
git-diff-details, v0.23.0
git-log, v0.4.1
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-babel, v2.15.4
language-elixir, v0.11.1
language-elm, v1.3.2
linter, v1.11.3
linter-eslint, v7.0.0
linter-flake8, v1.12.0
linter-jsonlint, v1.1.6
linter-less, v2.4.2
minimap, v4.19.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-pigments, v0.1.7
pigments, v0.24.1
project-plus, v0.4.2
python-isort, v0.0.7

# Dev
No dev packages

Project plus does not update enough state

When i use project plus along side with stylus + pigments, i get all of my stylus variables in my auto-complete for one of my random projects ive worked on rather than the variables for the current project.. Pigments also still recognizes the color as well, even though it doesn't exist in the project

Packages enable/disable?

I'm not sure if this is a feature suitable for this package, if you know of an existing one that would compliment this package or request please let me know as searching for one is difficult due to keywords used.

I'd like to enable/disable packages per project or project type(based on files). This should avoid loading of packages not required for certain projects(language/environment focused packages that have no relevance in the active project). A good example might be switching between IDE packages, doing React development, use Nuclide, Arduino use Platform.io, not working on a project that would use these IDE packages, none are enabled.

Currently I have to manually change these when switching between projects, would be great to have it as part of project specific settings. Even if it's just a whitelist/blacklist of some packages to enable/disable.

Uncaught TypeError: Cannot read property 'paths' of undefined

  1. $ apm install project-plus
  2. open atom
  3. hit cmd+ctrl+p

notes: I've also attempted to disable auto-discovery and manually save projects, and I still get this problem. Hope you can help.

Hit me up if you need extra info to help debug.

Atom Version: 1.6.1
System: Mac OS X 10.11.4
Thrown From: project-plus package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'paths' of undefined

At /Users/gabrielf/.atom/packages/project-plus/lib/provider/session.js:114

TypeError: Cannot read property 'paths' of undefined
    at /Users/gabrielf/.atom/packages/project-plus/lib/provider/session.js:114:34
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands

     -1:09.8.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused.vim-mode.normal-mode)
     -1:00.8.0 settings-view:open (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
  2x -0:41.8.0 core:backspace (atom-text-editor#project-plus.projectHome.editor.mini.is-focused)
     -0:25.1.0 core:close (input#project-plus.showPath.)
     -0:23.9.0 project-plus:toggle-project-finder (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:20.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:20.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:08.9.0 command-palette:toggle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:03.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:03.5.0 project-plus:save (atom-text-editor.editor.vim-mode.normal-mode)
     -0:00.7.0 project-plus:toggle-project-finder (atom-text-editor.editor.vim-mode.normal-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "markdown-toc"
    ],
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store",
      "tmp",
      "bower_components",
      "log",
      "node_modules"
    ],
    "themes": [
      "one-dark-ui",
      "gruvbox"
    ]
  },
  "project-plus": {
    "autoDiscover": false,
    "projectHome": "/Users/gabrielf/projects",
    "showPath": true
  }
}

Installed Packages

# User
atom-pair, v2.0.10
file-icons, v1.6.19
gruvbox, v1.0.5
linter, v1.11.4
linter-rails-best-practices, v0.2.2
linter-reek, v2.1.5
linter-rubocop, v0.4.7
project-plus, v0.8.0
relative-numbers, v0.5.1
vim-mode, v0.65.0

# Dev
No dev packages

Clear auto-discover cache

To reproduce: Rename or delete a project/git repo that is being auto-discovered by project-plus

Result: The deleted project still lingers in auto-discover list or the old name of the renamed project still lingers in the auto-discover list

Reading projects out of projects.cson not working

Hey,

So, the latest patch fixes the exception, but I can't seem to get the project switcher to list any projects... I've checked my projects.cson file, and it's getting populated, but when I cmd+ctrl+p, I get an empty list with a status of 'No saved projects'.

Let me know if I can give you any debug info at all.

Call for Ideas / Discussion of how to move forward

What is missing from your workflow when dealing with projects in Atom? What is the pain point? I'd like to try to create a better project experience in Atom. The more 👀 the better.


@shemerey
@subesokun
@jccguimaraes
@danielbrodin
@bripkens
@vellerefond
@Lixquid
@prrrnd
@danielmahon
@t9md
@crot4lus
@guileen
@chuckhendo
@chocoelho
@hokaccha
@Ener-Getick


I mentioned everyone from a 2-page search that has worked on or is working on a project management-esque package in atom. The fact that I found this many is proof that we all feel that were all doing it wrong or not doing enough. I'd like to chat about this and figure out if we can pool our efforts into making one really good project package (instead of a few dozen packages that just confuses atom's user base). I think we all want the same thing here.

Uncaught TypeError: Cannot read property 'isUnloading' of undefined

[Enter steps to reproduce below:]

Switch to another project or close the current project with any open buffers (tabs).

Atom Version: 1.7.0-dev-bf5dea0
System: linux 4.4.3-1-ARCH
Thrown From: project-plus package, v0.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'isUnloading' of undefined

At /usr/local/share/atom/resources/app.asar/src/project.js:135

TypeError: Cannot read property 'isUnloading' of undefined
    at /usr/local/share/atom/resources/app.asar/src/project.js:135:36
    at Array.map (native)
    at Project.module.exports.Project.serialize (/usr/local/share/atom/resources/app.asar/src/project.js:132:41)
    at AtomEnvironment.module.exports.AtomEnvironment.serialize (/usr/local/share/atom/resources/app.asar/src/atom-environment.js:766:31)
    at atomSerialize (/home/ryan/Workspace/project-plus/lib/util.coffee:188:15)
    at saveCurrentState (/home/ryan/Workspace/project-plus/lib/util.coffee:15:18)
    at Object.exports.closeProject (/home/ryan/Workspace/project-plus/lib/util.coffee:280:3)
    at atom-workspace.subscriptions.add.atom.commands.add.project-plus:close (/home/ryan/.atom/packages/project-plus/lib/project-plus.coffee:41:14)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/local/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/local/share/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/local/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/local/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/usr/local/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/local/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/local/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/local/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/local/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/local/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/usr/local/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:11.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:10.3.0 project-plus:toggle-project-finder (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:09.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  3x -0:09.4.0 core:close (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:08.1.0 project-plus:toggle-project-finder (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:07.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.3.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:04.3.0 advanced-open-file:toggle (atom-text-editor.editor.mini.is-focused)
     -0:04.0 core:confirm (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.3.0 editor:consolidate-selections (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.3.0 core:cancel (atom-text-editor.path-input.editor.mini.is-focused)
     -0:03.0 project-plus:toggle-project-finder (atom-text-editor.editor.is-focused)
     -0:02.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.3.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)
     -0:00.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.4.0 project-plus:close (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-vivid-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "audioBeep": false,
    "autoHideMenuBar": true,
    "disabledPackages": [
      "styleguide"
    ],
    "themes": [
      "one-dark-ui",
      "one-dark-vivid-syntax"
    ]
  }
}

Installed Packages

# User
Stylus, v3.0.0
advanced-open-file, v0.14.3
atom-import-sort, v0.6.0
file-icons, v1.6.18
language-babel, v2.15.5
linter, v1.11.3
linter-stylint, v2.1.2
minimap, v4.20.0
one-dark-vivid-syntax, v1.1.2
pigments, v0.24.4
project-plus, v0.7.2
remember-file-positions, v0.2.2

# Dev
No dev packages

Uncaught SyntaxError: Unexpected token /

[Enter steps to reproduce below:]

  1. Install the plugin
  2. Press ctrl-cmd-p

Atom Version: 1.7.1
System: Mac OS X 10.10.5
Thrown From: project-plus package, v0.8.2

Stack Trace

Uncaught SyntaxError: Unexpected token /

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22initialPaths%22%3A%5B%22%2FVolumes%2Fnas-data%2FDocuments%2FProgramming%2Fcrystal%22%2C%22%2FVolumes%2Fnas-data%2FDocuments%2FProgramming%2Fruby%22%5D%2C%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FVolumes%2Fnas-data%2FDocuments%2FProgramming%2Fcrystal%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%2C%7B%22pathToOpen%22%3A%22%2FVolumes%2Fnas-data%2FDocuments%2FProgramming%2Fruby%22%2C%22initialLine%22%3Anull%2C%22initialColumn%22%3Anull%2C%22forceAddToWindow%22%3Afalse%7D%5D%2C%22windowInitializationScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Finitialize-application-window.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22clearWindowState%22%3Afalse%2C%22env%22%3A%7B%22TMPDIR%22%3A%22%2Fvar%2Ffolders%2Fvk%2Fk2tnbxwx1t5drbqg2vg35ml80000gn%2FT%2F%22%2C%22__CF_USER_TEXT_ENCODING%22%3A%220x1F5%3A0x0%3A0x0%22%2C%22HOME%22%3A%22%2FUsers%2Finfinity%22%2C%22SHELL%22%3A%22%2Fbin%2Fbash%22%2C%22Apple_PubSub_Socket_Render%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.ncwsX7IaFe%2FRender%22%2C%22SSH_AUTH_SOCK%22%3A%22%2Fprivate%2Ftmp%2Fcom.apple.launchd.WXL57fDvnX%2FListeners%22%2C%22PATH%22%3A%22%2Fusr%2Fbin%3A%2Fbin%3A%2Fusr%2Fsbin%3A%2Fsbin%22%2C%22LOGNAME%22%3A%22infinity%22%2C%22XPC_SERVICE_NAME%22%3A%22com.github.atom.285168%22%2C%22USER%22%3A%22infinity%22%2C%22SECURITYSESSIONID%22%3A%22186a5%22%2C%22XPC_FLAGS%22%3A%220x0%22%2C%22GOOGLE_API_KEY%22%3A%22AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q%22%2C%22ATOM_HOME%22%3A%22%2FUsers%2Finfinity%2F.atom%22%7D%2C%22appVersion%22%3A%221.7.1%22%2C%22atomHome%22%3A%22%2FUsers%2Finfinity%2F.atom%22%2C%22shellLoadTime%22%3A946%7D:1

SyntaxError: Unexpected token /
    at Object.parse (native)
    at /Users/infinity/.atom/packages/project-plus/lib/provider/session.js:87:31
    at tryToString (fs.js:414:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

Commands

     -4:27.8.0 settings-view:open (atom-pane.pane.active)
     -4:19 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.6.0 project-plus:toggle-project-finder (div.package-detail.panels-item)

Config

{
  "core": {
    "disabledPackages": [
      "language-ruby",
      "spell-check",
      "wrap-guide",
      "wrap-guide",
      "deprecation-cop",
      "symbols-view",
      "define-jump",
      "goto",
      "haxe",
      "nuclide-click-to-symbol",
      "nuclide-find-references",
      "one-tab",
      "atom-ctags",
      "linter-crystal",
      "linter-ruby",
      "atom-slime",
      "ruby-navigator",
      "language-ruby-on-rails",
      "snippets",
      "text-pastry",
      "tab-switcher",
      "fun-files",
      "SFTP-deployment",
      "line-ending-converter"
    ],
    "ignoredNames": [
      ".*",
      "flxg_stats.txt"
    ]
  }
}

Installed Packages

# User
Parinfer, v1.14.0
Stylus, v3.0.0
arpeggio, v1.1.2
atom-dlang, v1.1.2
autocomplete-ruby, v0.1.0
build, vundefined
cargo-test-runner, v0.0.5
color-picker, v2.1.1
fold-functions, v0.4.3
indent-guide-improved, v1.4.5
language-crystal-actual, v0.28.2
language-dylan, v0.7.3
language-felix, v0.0.2
language-haml, v0.24.0
language-haxe, v0.4.3
language-lisp, v0.2.0
language-livescript, v0.0.2
language-onyx, v0.1.0
language-ruby-without-erb, v0.60.0
language-rust, v0.4.6
linter, v1.11.4
linter-rust, v0.4.5
minimap, v4.21.0
multi-wrap-guide, v0.23.5
navigation-history, v0.1.8
pigments, v0.26.0
project-plus, v0.8.2
project-viewer, v0.2.31
racer, v0.20.0
regex-railroad-diagram, v0.16.0
remote-sync, v4.0.1
ruby-block, v0.3.5
rust-api-docs-helper, v0.5.1
simple-drag-drop-text, v0.3.0
tabasco, v0.4.0
terminal-plus, v0.14.5
toggle-gutter, v0.2.2
trailing-spaces, v0.3.2

# 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.