mikegedelman / atom-force

lightweight atom.io salesforce plugin
GNU General Public License v2.0
6 stars 3 forks source link

Problems when saving a file in Atom #1

Closed cipherstream closed 8 years ago

cipherstream commented 8 years ago

There is a message that pops up indicating that there was an error saving the class file in that it cannot read the instance url value of "undefined". However, when I look at the .atomforce file that is created when you add a "nature" to the project. I can see that there is indeed a value for the instance url property. Also, I can deploy the file to the sandbox org with no problems (except those that normally halt a deployment). Shouldn't the save feature simple write changes back to the org?

mikegedelman commented 8 years ago

I think this happens when you save a file directly after you initialize a project. Can you restart Atom and see if it lets you save then?

cipherstream commented 8 years ago

You are correct sir! Once I restarted Atom (and activated the project) I was able to save the files with no trouble.

mikegedelman commented 8 years ago

Published version v0.3.3, which fixes this and another small bug I found. Thanks!