vigetlabs / platomformio

Integration Atom IDE with PlatformIO
https://atom.io/packages/platomformio
MIT License
23 stars 8 forks source link

package crashes on Windows? #19

Open IoTAdri opened 8 years ago

IoTAdri commented 8 years ago

I have several problems..

The biggest one is that I cannot use the package in Windows (tested Win8 on my desktop an Win7 on my laptop).. I have platformio running on my terminal (compiles just fine, uploads etc.) but when I install the package in Atom I cannot use it.

What to do?

efatsi commented 8 years ago

I'll kick this up on a windows computer soon and see if I can replicate any of the issues you're seeing.

efatsi commented 8 years ago

@IoTAdri I'm not seeing any issues on my Win8. I did see some strange behavior around the Package Settings - the Settings button for the package did not appear until a couple of Atom restarts. I would advise setting the PATH variable in the Settings instead of in the code's config block.

As for the key-bindings, you could write your own in your keymap.cson file. You can access that from the Keybindings tab in the Atom settings, and set them up like so:

'atom-workspace':
  'shift-ctrl-B': 'platomformio:build'
  'shift-ctrl-U': 'platomformio:upload'

Let me know if any of that clears up the issues you are seeing.

IoTAdri commented 8 years ago

@efatsi I can't seem to find the Settings-Button you are reffering to... Where can I find the Settings you are talking about? (it does not show up under "Packages" in the main Menu)

Also.. what is the correct notation for the path?..

No luck yet....

efatsi commented 8 years ago

The settings issue is a troubling one. The package has defined settings which the user should be able to override from the Packages tab in the editor Settings. It is there that you should be able to set the PATH variable.

If you don't see the Settings button (next to Uninstall and Disable), then clicking on the package should still open up the settings form fields: screen shot 2016-01-21 at 9 30 51 am

As for the path, your screenshot looked good. The color coding you are seeing is likely just the editor misrepresenting the string.

IoTAdri commented 8 years ago

mhmmmm... no such thing om my screen... atom and the seperators are ":" not ";"...

still no luck..