Comments (15)
Hi, I also can't save projects anymore. I get this:
Uncaught (in promise) TypeError: _atomProjectUtil2.default.save is not a function
at SessionProvider.save (~/.atom/packages/project-plus/lib/provider/session.js:131:28)
at ~/.atom/packages/project-plus/lib/provider-manager.js:33:26
at Array.map (native)
at ~/.atom/packages/project-plus/lib/provider-manager.js:32:39
at ProviderManager.invoke (~/.atom/packages/project-plus/lib/provider-manager.js:31:12)
at ProviderManager.save (~/.atom/packages/project-plus/lib/provider-manager.js:63:17)
at atom-workspace.projectPlusSave (~/.atom/packages/project-plus/lib/project-plus.js:40:25)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
at /usr/share/atom/resources/app/src/command-registry.js:3:65
at Object.didConfirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:106:35)
at SelectListView.confirmSelection (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:313:26)
at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:81:20)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
at /usr/share/atom/resources/app/src/command-registry.js:3:65
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)
from atom-project-plus.
Running Project Plus: Save
had no effect for me, too, but deleting the projects.cson
and trying again fixed the issue. Possibly an issue updating the default file?
from atom-project-plus.
If I remove the setting, it works. Where is it saving the projects by default? The UI doesn't show the default value:
from atom-project-plus.
@trusktr Hmm.. Perhaps the setting is badly worded. It's older and Project Plus: Save
was added much later.
Project Home
is strictly a filter for the project finder. Normal/default operation of project-plus uses auto-discovery and the setting is intended to reign in the auto-discovery to a single folder (and all its children).
Projects saved via Project Plus: Save
are found in ~/.atom/projects.cson
-- there should be a command Project Plus: Edit Projects
to open that file. That save command is intended for use if auto-discovery is disabled.
from atom-project-plus.
For sure. So with the default Project Home
option, where does the state get saved (open tabs, panes, cursor location, etc)?
from atom-project-plus.
I'm having this issue as well. Could you upload an example projects.cson
? That would solve my problem.
Okay, so I didn't know what the Command Palette was, so what?
from atom-project-plus.
For sure. So with the default Project Home option, where does the state get saved (open tabs, panes, cursor location, etc)?
@trusktr This package actually doesn't save your state. Atom does. You can find it by opening up developer tools, and going to resources. It's under IndexedDB.
@nanohard Did you figure out what you were trying to figure out?
from atom-project-plus.
@mehcode Yeah, I thought the command palette was the same as what pops up when you press the keyboard shortcut for this plugin. Works great for me. Thanks for this.
from atom-project-plus.
I have the same issue but even with Project Home unset.
When I save the project, I got the green notification but the projects.cson file is not modified.
As a workaround I used project-manager to save the project.
from atom-project-plus.
Same issue. I'm running project-plus completely vanilla. When I save I get the green checkmark, but when I go looking for them it says that no projects are saved.
from atom-project-plus.
@nomoth @suprko Any console errors in Atom's inspector (View > Developer > Toggle Developer Tools
)?
from atom-project-plus.
@willdawsonme one error for me but not sure it concerns project-plus:
helpers.js:92 [Package-Deps] Unable to get loaded package 'usr'
getDependencies @ helpers.js:92
from atom-project-plus.
@nomoth Yeah unlikely to be from this package! Just to clarify, no matter what project you try to save, you get the green success notification but ~/.atom/projects.cson
isn't updated and you don't see the new project in the list within atom?
A few things to check:
- What OS are using?
- What version of atom?
- Are there any pending updates for project plus?
Also, just to rule out another conclusion, could you rename projects.cson
to projects.cson.backup
and try saving again? A new file should be created with the saved project.
from atom-project-plus.
Hi there, when you saying run Project Plus: Save
, is that the actual command? If so, where do I run this?
Thanks Steve
from atom-project-plus.
@gtozzi I'm getting the same exact error as you. Running latest version of project-plus and [email protected] x64 (macOS Sierra)
from atom-project-plus.
Related Issues (20)
- Dramatic degrade after switching projects (one switch takes 5 minutes!!!)
- Uncaught TypeError: Cannot read property '34' of undefined
- Where are projects saved? HOT 2
- "Could not list projects" error HOT 1
- No focus when switching projects HOT 1
- Unable to use find and replace after switching project HOT 1
- tabs disappear after changing projects (ctrl+Alt+P) HOT 1
- "No saved projects" displayed when "Auto discover projects" is off
- Add autosave project.
- Document how to actually set per-project configurations HOT 2
- Projects don't show up! HOT 5
- Project path without drive letter
- Keybinding not working, 'Project Plus: Open' brings up Finder open dialog
- cannot work on Atom 1.17.0 beta HOT 7
- Tooltips don't go away after switching projects
- Deprecate in favor of project manager HOT 5
- Switching projects fails in Atom 1.17.0 HOT 1
- CHANGELOG is out of date HOT 1
- Switching projects breaks find-and-replace:select-next HOT 10
- Unable to save projects HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-project-plus.