Answer the question
In order to leave comments, you need to log in
How to add snippets to Atom?
I have never added my snippets before, but now I decided to add them, but I ran into a problem. Editor - Atom. If I add one snippet - it works, if I add others after it - they don't work. I can't understand why. I already put commas at the end of each, and ;
The code -
'.text.html.php':
'Models':
'prefix': 'mod'
'body': """
protected $table = '';
protected $fillable = [];
"""
'.text.html.php':
'Layouts':
'prefix': 'lays'
'body': """
@extends('layout')
@section('content')
@endsection
"""
Answer the question
In order to leave comments, you need to log in
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)'
'.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;'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question