/IntelliJ_VSCode_Snippets

IntelliJ to VSCode and VSCode to IntelliJ snippets converter

Primary LanguagePythonMIT LicenseMIT

IntelliJ <---> VSCode snippets

Provides snippet conversion from IntelliJ XML to VSCode JSON and from VSCode JSON to IntelliJ XML

IntelliJ to VSCode snippet conversion

./convert_jc.py -i MyPHPSnippets.xml -o MyPHPSnippets.json

OR

python3 convert_jc.py -i MyPHPSnippets.xml -o MyPHPSnippets.json

VSCode to IntelliJ snippet conversion

./convert_jc.py -i MyPHPSnippets.json -o MyPHPSnippets.xml -c PHP

OR

python3 convert_jc.py -i MyPHPSnippets.json -o MyPHPSnippets.xml -c PHP

Help

./convert_jc.py -h

OR

python3 convert_jc.py -h

usage: convert_jc [-h] -i INFILE -o OUTFILE [-c CONTEXT]

IntelliJ XML <-> VSCode JSON converter

options:
  -h, --help            show this help message and exit
  -i INFILE, --infile INFILE
                        In file
  -o OUTFILE, --outfile OUTFILE
                        Out file
  -c CONTEXT, --context CONTEXT
                        Context (i.e.: PHP, Java etc.)