├── .bumpversion.cfg ├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ └── release.yml ├── .gitignore ├── .pylintrc ├── .python-version ├── CHANGELOG.md ├── Default (Linux).sublime-keymap ├── Default (OSX).sublime-keymap ├── Default (Windows).sublime-keymap ├── Default.sublime-commands ├── Emmet.sublime-settings ├── LICENSE ├── Main.sublime-menu ├── README.md ├── VERSION ├── images ├── emmet1.gif ├── emmet2.gif ├── emmet3.gif ├── emmet4.gif ├── emmet5.gif └── emmet6.gif ├── lib ├── __init__.py ├── abbreviation.py ├── balance.py ├── comment.py ├── config.py ├── context.py ├── convert_data_url.py ├── emmet_sublime.py ├── go_to_edit_point.py ├── go_to_tag_pair.py ├── html_highlight.py ├── inc_dec_number.py ├── remove_tag.py ├── select_item.py ├── split_join_tag.py ├── syntax.py ├── telemetry.py ├── update_image_size.py ├── utils.py └── wrap_with_abbreviation.py ├── main.py ├── messages.json ├── messages ├── 2.0.0.txt ├── 2.4.0.txt ├── 2.4.1.txt └── install.txt ├── requirements.txt ├── tools └── registry.py └── watch.js /.bumpversion.cfg: -------------------------------------------------------------------------------- 1 | [bumpversion] 2 | current_version = 2.4.5 3 | commit = True 4 | tag = True 5 | 6 | [bumpversion:file:VERSION] 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.{json,yml}] 12 | indent_style = space 13 | indent_size = 2 14 | 15 | [snippets/*.json,*.sublime-settings] 16 | indent_style = tab 17 | indent_size = 4 18 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: emmetio 4 | patreon: # Replace with a single Patreon username 5 | open_collective: emmet 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Publish Release 2 | 3 | on: 4 | push: 5 | tags: 6 | - 'v*.*.*' 7 | 8 | permissions: 9 | contents: write 10 | 11 | jobs: 12 | deploy: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v4 16 | - name: Set up Python 17 | uses: actions/setup-python@v5 18 | with: 19 | python-version: '3.x' 20 | - name: Install dependencies 21 | run: | 22 | python -m pip install --upgrade pip 23 | pip install -r requirements.txt -t . 24 | - name: Build 25 | run: | 26 | VERSION=$( public/registry.json 35 | cp ./Emmet.sublime-package ./public/$VERSION/Emmet.sublime-package 36 | # - name: GH Release 37 | # uses: softprops/action-gh-release@v1 38 | # env: 39 | # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 40 | # with: 41 | # files: | 42 | # Emmet.zip 43 | # registry.json 44 | - name: Deploy 🚀 45 | uses: JamesIves/github-pages-deploy-action@v4 46 | with: 47 | token: ${{ secrets.GITHUB_TOKEN }} 48 | branch: download # The branch the action should deploy to. 49 | folder: public # The folder the action should deploy. 50 | 51 | 52 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (https://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # TypeScript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | .rpt2_cache 51 | dist/ 52 | __pycache__ 53 | /emmet.js 54 | 55 | # Output of 'npm pack' 56 | *.tgz 57 | 58 | # Yarn Integrity file 59 | .yarn-integrity 60 | 61 | # dotenv environment variables file 62 | .env 63 | 64 | # next.js build output 65 | .next 66 | .DS_Store 67 | .vscode 68 | sublime-text-plugins 69 | *.dist-info 70 | /emmet 71 | -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- 1 | [MASTER] 2 | init-hook='import sys; sys.path.append("/Applications/Sublime Text.app/Contents/MacOS")' 3 | 4 | max-line-length=120 5 | good-names=i,j,df,pt,fn,s,ch,m 6 | ignored-argument-names=arg|args|kwargs 7 | 8 | disable= 9 | invalid-name, 10 | missing-docstring, 11 | arguments-differ, 12 | no-self-use, 13 | bare-except, 14 | too-few-public-methods 15 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.8 -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 2.4.1 2 | 3 | * Automatically remove empty `for` attribute in `