How to find out the correct scope (selector)

Added findings from https://discuss.atom.io/t/how-do-you-configure-use-snippets/335/28
Great idea - I extended the pull request accordingly.

I directly referenced your image, since uploading to the directory seems
to mess the code there, and we need an absolute URL for npm anyway
(http://stackoverflow.com/questions/14494747/add-images-to-readme-md-in-github#comment-37703906)
- feel free to change that as required.

Pascal

> Lee Dohm <mailto:notifications@github.com>
> 21. November 2014 05:16
>
> In README.md:
>
> > @@ -56,3 +56,50 @@ You can also use multi-line syntax using `"""`
> for larger templates:
> > }
> > """
> > ```
> > +
> > +### Finding out the correct selector (scope) for a snippet
> > +
> > +The outmost key of a snippet is the "scope" that you want the
> descendent snippets to be available in. To determine the scope of a
> language, do:
> > +
> > +* Open a file of the type for which you want to add a snippet
> > +* Open the Developer Tools (<kbd>Cmd+Alt+I</kbd> on OS X)
> > +* Switch to the Console tab
> > +* Focus the source file and execute the _Editor > Log Cursor Scope_
> command (<kbd>Cmd+Alt+P</kbd> on OS X)
>
> This should probably be an ordered list, since it is a step-by-step.
>
> Also, do you think it would be easier to tell people that the scope
> for a given language is in the Settings View? For example, for HTML:
>
> scope
> <https://cloud.githubusercontent.com/assets/1038121/5137632/126beb66-70f2-11e4-839b-bc7e84103f67.png>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/atom/snippets/pull/82/files#r20697617>.
>

-- 
GPG/PGP Key-ID: 0xE18D34F6,

Qeevee GmbH
Firmensitz: Dahlmannstr. 2, B-IT Center, 53113 Bonn, Germany
Registergericht: Bonn HRB 17466
Geschäftsführer: Holger Mügge, Mark von Zeschau
Umsatzsteuer-Identifikationsnummer: DE267457882