Neues snippet: config

This commit is contained in:
Sebastian 2020-01-04 20:36:54 +01:00
parent a2b24befe0
commit 7493864ccd

View file

@ -11,17 +11,14 @@
"basepath" : "", "basepath" : "",
"parameter": "", "parameter": "",
"class": "", "class": "",
"config": "" "config": "def openconfig(configfile):\n\twith open(configfile, \"r\", encoding=\"utf-8\") as currentconfigfile:\n\t\treturn json.load(currentconfigfile)\n\n\ndef saveconfig(configfile, newcontent):\n\twith open(configfile, \"w\", encoding=\"utf-8\") as currentconfigfile:\n\t\tjson.dump(newcontent, currentconfigfile, indent=4, sort_keys=True)"}
} },
},
"java": { "java": {
"snippets": { "snippets": {
"class": "" "class": ""
} }
} }
} }