atom-project-plus icon indicating copy to clipboard operation
atom-project-plus copied to clipboard

Document how to actually set per-project configurations

Open audreytoskin opened this issue 8 years ago • 2 comments

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.

audreytoskin avatar Feb 16 '17 03:02 audreytoskin

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 ?

balderclaassen avatar Sep 17 '17 20:09 balderclaassen

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.

pavelsr avatar Apr 08 '19 09:04 pavelsr