favish / atom-drupal

Drupal snippets, filetypes and hotkeys for the Atom Editor
MIT License
28 stars 14 forks source link

Is there any plan to support drupal 8? #5

Open hejiann opened 9 years ago

robballou commented 9 years ago

I also help with the Drupal snippets for sublimetext which has also prompted this question but also in general a move towards making an general repo for Drupal snippets. This can be tracked here: https://github.com/robballou/drupal-snippets/issues/1

michaelfavia commented 9 years ago

While I personally support any effort to standardize and outsource the snippet management across IDEs so we can just compile the vendor specific formats with gulp or something I'm not against creating snippets that you find useful in the mean time for a starting point.

At question would be supporting each snippet vocabulary independently because I assume you move between D7 and D8 development as much as i do and changing it by had would be a pain.

Would we prefer to do drupal version detection on the files for snippet loading (via adding d7/d8 grammar class or somesuch) or supporting all snippets simultaneously?

Also which type of snippets are most useful?

robballou commented 8 years ago

Added some experimental code (to another branch) above that detects the Drupal version and updates the scope. Check it out! Maybe that'll help with doing different snippets.