Neues snippet: config
This commit is contained in:
parent
a2b24befe0
commit
7493864ccd
1 changed files with 2 additions and 5 deletions
|
|
@ -11,9 +11,7 @@
|
|||
"basepath" : "",
|
||||
"parameter": "",
|
||||
"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": {
|
||||
"snippets": {
|
||||
|
|
@ -21,7 +19,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue