Boa tarde.
Procurei aqui (https://pt.stackoverflow.com/search?q=%5Batom%5D+Snippets), mas não consegui ajuda, por isso resolvi abir esse post.

Atualmente uso o phpStorm, mas ele é muito pesado, por isso vou começar a testar o Atom.

Estou tendo dificuldades em recriar meus Snippets que estavam no phpStorm e recriar no `snippets.cson`. Sempre aparece **Duplicate key**.

Como é a forma correta de criar vários Snippets no Atom?

    ################################################
    #        JS
    ################################################
    '.source.js':
       'Console log':
         'prefix': 'log'
         'body': 'console.log $1'
    
    '.source.js':
      '$("#").val()':
        'prefix': '$'
        'body': '$("#").val()'
    
    ################################################
    #        PHP
    ################################################
    '.source.php':
      'Select':
        'prefix': 'select'
        'body': """
            $rs = $mysqli->query("SELECT * FROM tabela WHERE coluna = '".$_GET['id']."' ");
            $row_rs = $rs->fetch_assoc();
            $rowTotal = $rs->num_rows;
            echo $row_rs['nome'];
        """
    
    ################################################
    #        HTML
    ################################################
    
    '.source.html':
      'Controller text':
        'prefix': '?'
        'body': '<?= $resultado["###"]; ?>'
    
    '.source.html':
      'Snippet Name':
        'prefix': 'Snippet Trigger'
        'body': """
        echo "<script>alert('Mensagem');</script>";
        """