├── .vscodeignore ├── icon.png ├── .gitattributes ├── .editorconfig ├── .gitignore ├── LICENSE └── package.json /.vscodeignore: -------------------------------------------------------------------------------- 1 | snippets.md 2 | *.vsix 3 | java.html -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Wscats/java-snippets/main/icon.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | 3 | root = true 4 | 5 | # all files 6 | [*] 7 | charset = utf-8 8 | indent_style = tab 9 | indent_size = 4 10 | end_of_line = lf 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | 14 | # md files 15 | [*.md] 16 | insert_final_newline = false 17 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | *.vsix 25 | script/** -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 wscats 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "java-snippet", 3 | "description": "Provide Java development 35000+ code snippets and detailed interface reminders, which greatly improves your development efficiency.", 4 | "displayName": "Java Snippets", 5 | "version": "0.0.6", 6 | "publisher": "Wscats", 7 | "author": { 8 | "name": "Eno Yao", 9 | "email": "kalone.cool@gmail.com", 10 | "url": "https://github.com/Wscats" 11 | }, 12 | "engines": { 13 | "HBuilderX": "^2.7.0", 14 | "vscode": "^0.10.6" 15 | }, 16 | "icon": "icon.png", 17 | "homepage": "https://github.com/wscats/java-snippets", 18 | "keywords": [ 19 | "java", 20 | "snippets", 21 | "maven", 22 | "spring" 23 | ], 24 | "galleryBanner": { 25 | "color": "#58bc58", 26 | "theme": "dark" 27 | }, 28 | "bugs": { 29 | "url": "https://github.com/Wscats/java-snippets/issues/new" 30 | }, 31 | "repository": { 32 | "type": "git", 33 | "url": "https://github.com/wscats/java-snippets" 34 | }, 35 | "categories": [ 36 | "Snippets" 37 | ], 38 | "contributes": { 39 | "snippets": [ 40 | { 41 | "language": "java", 42 | "path": "./snippets/java.json" 43 | } 44 | ] 45 | }, 46 | "scripts": { 47 | "build": "vsce package" 48 | } 49 | } --------------------------------------------------------------------------------