apla / atom-jscad

Previewing (J)SCAD 3D models inside Atom.
MIT License
29 stars 9 forks source link

Change context menu to open selected file and watch file for changes. #7

Closed johnwebbcole closed 7 years ago

johnwebbcole commented 7 years ago

added .eslint.js file matching the .editorconfig file.

Refactored toggle and changed the context menu items to launch a preview window with a file watcher. The context menus also open the selected file instead of calling toggle on the active TextEditor. This fixes #6 and allows you to watch a file that is a combined .jscad file.

removed some eslint errors.

I didn't see how you were running the unit tests.

apla commented 7 years ago

This patch is a mess. Please rewrite it. If you want to add file watcher, just add a file watcher in one pull request.