Permalink
Browse files

Add contrib templates

  • Loading branch information...
1 parent 7a5a2e6 commit da08649ce55b8f331b5b6db6a806e8bcf648239b Hooky committed Nov 29, 2016
Showing with 41 additions and 0 deletions.
  1. +7 −0 .github/CONTRIBUTING.md
  2. +34 −0 .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,7 @@
+When providing samples, please provide snippets of code rather than screen shots.
+
+If the formatter is working, but doesn't seem to working _properly_:
+1. Take a look at the `.jsbeautifyrc` [settings help](https://github.com/HookyQR/VSCodeBeautify/blob/master/Settings.md) file.
+2. It may be an issue with `js-beautify` itself. Have a look at the [issues](https://github.com/beautify-web/js-beautify/issues) for that repo.
+
+If this isn't the problem, go ahead and log an issue. Or better yet, if you know how to fix the problem, submit a pull request.
@@ -0,0 +1,34 @@
+* **Operating System (+Version)**:
+* **VS Code Version**:
+* **beautify Version**:
+
+Provide the settings you use:
+(VS Code workspace and user settings, .jsbeautifyrc, .editorconfig)
+eg.:
+VS Code:
+```javascript
+{
+ "beautify.editorconfig": false,
+ "editor.formatOnSave": true
+}
+```
+.jsbeautifyrc
+```javascript
+{
+ "max_preserve_newlines": 2,
+ "preserve_newlines": true,
+ "end_with_newline": true,
+ "brace_style": "collapse-preserve-inline",
+}
+```
+## Action performed
+Format javascript file with `HookyQR.beautifyFile` command
+_provide example code_
+
+## Expected results
+Expected ... to ...
+_provide example (expected) output_
+
+## Actual results
+Details of what happened ...
+_provide example (actual) output_

0 comments on commit da08649

Please sign in to comment.