purduesigbots / pros-atom

Main plugin for supporting PROS development in Atom
http://atom.io/packages/pros
Mozilla Public License 2.0
11 stars 9 forks source link

Incorrect Linter CWD on Mac OSX #1

Closed jwalk511 closed 8 years ago

jwalk511 commented 8 years ago

PROS linter unable to find "main.h" on PROS package for Mac OS X El Capitan.

jwalk511 commented 8 years ago

Issue due to fact that CWD defaults to path of first project open in Atom, not path of current project.

edjubuh commented 8 years ago

The relevant problem line is L28 of lint.coffee cwd = atom.project.getPaths()[0] This line should have some more intelligent processing to determine what project the currently opened file truly originates from.