Skip to content

Commit 65814f0

Browse files
Merge pull request #6 from Stephn-R/master
Add some nice to haves for Open Source Projects
2 parents 9a01ec9 + 12d97c3 commit 65814f0

File tree

5 files changed

+123
-3
lines changed

5 files changed

+123
-3
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = crlf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
9+
[*.{py, json}]
10+
indent_style = space
11+
indent_size = 4

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# 0.1.1
2+
3+
**New Snippets:**
4+
5+
Reference: https://material.angularjs.org/latest/
6+
7+
- md-autocomplete
8+
- md-button
9+
- md-card
10+
- md-checkbox
11+
- md-chip
12+
- md-chip-remove
13+
- md-chips
14+
- md-contact-chips
15+
- md-content
16+
- md-divider
17+
- md-grid-list
18+
- md-grid-tile
19+
- md-highlight-text
20+
- md-icon
21+
- md-input
22+
- md-input-container
23+
- md-list
24+
- md-list-item
25+
- md-menu
26+
- md-progress-circular
27+
- md-progress-linear
28+
- md-radio-button
29+
- md-radio-group
30+
- md-select
31+
- md-sidenav
32+
- md-sidenav-focus
33+
- md-slider
34+
- md-subheader
35+
- md-swipe-left
36+
- md-swipe-right
37+
- md-switch
38+
- md-tab
39+
- md-tabs
40+
- md-toolbar
41+
- md-tooltip

CONTRIBUTING.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
Contributing to Angular-Material-Snippets
2+
---
3+
4+
Thank you for considering to help contribute to our source code and to make Angular-Material-Snippets even better than it is today! Here are some of the guidelines we would like you to follow:
5+
6+
- [Issues and Bugs](#issues)
7+
- [Feature Request](#feature-request)
8+
- [Submission Guidelines](#submission)
9+
- [Submitting a Pull Request](#pull-request)
10+
11+
## <a name="issues"></a> Found an Issue?
12+
13+
If you find a bug in the source code or a mistake in the documentation/wikis, you can help remedy it by submitting an issue to [Github Repository](https://github.com/devotis/sublime-angular-material-snippets)
14+
15+
***Please see the Submission Guidelines below***
16+
17+
## <a name="feature-request"></a> Want a feature?
18+
19+
You can request a new feature by submitting an issue to our [Github Repository](https://github.com/devotis/sublime-angular-material-snippets). If you would like to implement a new feature yourself then consider what kind of change it is:
20+
21+
- ***Major Changes***: that can dramatically change the core functionality of the plugin
22+
- ***Small Changes***: can be crafted and submitted to the [Github Repository](https://github.com/devotis/sublime-angular-material-snippets) as a Pull Request
23+
24+
## <a name="submission"></a> Submission Guidelines:
25+
26+
_Before you submit an issue, search the archive. Your question may have already been answered._
27+
28+
If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
29+
30+
- **Overview of the Issue** - if an error is being thrown, a _non minified_ stack trace helps
31+
- **Motivation for or Use Case** - explain why this is a bug for you
32+
- **Versioning** - is this issue being caused because of an outdated plugin?
33+
- **Operating Systems** - is this a problem that is unique to your Operating System?
34+
- **Reproduce the Error** - provide steps on how to re-create the error
35+
- **Related Issues** - has a similar issue been reported before?
36+
- **Suggest a fix** - if you can't fix the bug yourself, perhaps you can point to what might be causing the problem (i.e. line of code or commit)
37+
38+
## <a name="pull-request"></a> Submitting a Pull Request
39+
40+
Before you submit a pull request consider the following guidelines:
41+
42+
- Search [Github](https://github.com/devotis/sublime-angular-material-snippets/pulls) for an open or closed PR that relates to your submission. You do not want to duplicate effort.
43+
- Make your changes in a new git branch:
44+
```bash
45+
git checkout -b my-fix-branch master
46+
```
47+
- Commit your changes using a descriptive commit message that easily describes the resolution. Please note that providing a further description can be made in the PR submission form
48+
```bash
49+
git commit -a
50+
```
51+
- Push your branch to Github
52+
```bash
53+
git push origin my-fix-branch
54+
```
55+
- In Github, submit a PR to ```Angular-Material-Snippets-for-Sublime```
56+
- If we suggest changes then:
57+
- Make the required updates
58+
- Rebase your branch and force push to your Github Repo _(this will update your PR)_:
59+
```bash
60+
git rebase master -i
61+
git push origin my-fix-branch -f
62+
```
63+
64+
**That's it! Thank you for your contribution**

Default.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import os
2+
import sys
3+
4+
__version__ = '0.1.1'

directives/md-button.sublime-snippet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
2-
<content><![CDATA[<md-button href="$1">$2</md-button>]]></content>
2+
<content><![CDATA[<md-button ${1:class="${2:md-raised|md-fab|md-mini}"} ${3:href="${4:http://google.com}"} ${5:ng-disabled="${6:true|false}"} aria-label="${7:description}" ${8:md-no-ink="${9:true|false}"} ${10:md-ripple-size="${11:full|partial|auto}"}>${12:content}</md-button>]]></content>
33
<tabTrigger>md-button</tabTrigger>
4-
<description>Angular Material - button directive with optional ink ripples (default enabled).</description>
4+
<description>Angular Material Button directive with options</description>
55
<scope>text.html</scope>
6-
</snippet>
6+
</snippet>

0 commit comments

Comments
 (0)