A
A
Alex Ozerov2020-04-01 16:32:35
atom
Alex Ozerov, 2020-04-01 16:32:35

Why doesn't atom see snippets?

I noticed that Atom does not see the second and subsequent snippets. The first one looks great. I installed the Emmet Snippets Compatibility plugin, I thought there was an emmet conflict, but it did not help.

Atom Documentation:

'.source.gfm':
  'Hello World':
    'prefix': 'hewo'
    'body': 'Hello World!'

  'Github Hello':
    'prefix': 'gihe'
    'body': 'Octocat says Hi!'

  'Octocat Image Link':
    'prefix': 'octopic'
    'body': '![GitHub Octocat](https://assets-cdn.github.com/images/modules/logos_page/Octocat.png)'

And my code:
'.source.css':

  'media':
    'prefix': '@'
    'body': "@media (max-width: 968px){}"

  'margin':
    'prefix': 'mm'
    'body': 'margin: 0px 0px 0px 0px;'

  'padding':
      'prefix': 'pp'
      'body': 'padding: 0px 0px 0px 0px;'


What is the problem and how to solve it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question