mehcode / atom-project-plus

Simply awesome project management in Atom.
https://atom.io/packages/project-plus
MIT License
99 stars 19 forks source link

Document how to actually set per-project configurations #89

Open audreytoskin opened 7 years ago

audreytoskin commented 7 years ago

I tried Project Plus first, and had a working project configuration. I then disabled Project Plus while I tried out a couple other project managers, before coming back to Project Plus. Now I can't figure out how I got the project config working before. I deleted the other project managers, reset Project Plus itself to its default settings by deleting properties in the global config.cson file, and restarted Atom, but nothing I'm doing is working.

Here's the project config (the full contents of my ~/.atom/projects.cson file).

"pug-en":
  title: "pug-en"
  paths: [
    "/home/terrycloth/Creating/documentation/pug-en"
  ]
  editor:
    softTabs: true
    tabLength: 2
  whitespace:
    removeTrailingWhitespace: false

The editor has not set the tab length to 2, and still strips trailing whitespace on save.

I'm using Atom with Project Plus 0.9.0 on Fedora.

> atom --version
Atom    : 1.14.1
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

Beyond my specific issue, I think it would be helpful if there were at least an example configuration in the README.

balderclaassen commented 7 years ago

Being new to this extension I had no idea how to write this config file, so thanks for the example above. It works to track the project.There should indeed be an example either in the README or as comments at the top of the config file (preferably both in my opinion.) As for those per project editor settings, I don't see any mention of such a feature in the README, is that not meant for another extension ?

pavelsr commented 5 years ago

Seems like ~/.atom/projects.cson absolutely does not work in latest Atom ( v 1.35.1 ).

If I press Ctrl+Alt+P I see this popup

error

Hovewer if I remove ~/.atom/projects.cson Ctrl+Alt+P shows list of projects.