diff --git a/package.json b/package.json index ca9163a..fdfccad 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,63 @@ } } }, + "format": { + "type": "object", + "title": "Format", + "properties": { + "enabled": { + "order": 1, + "type": "boolean", + "title": "Enabled", + "default": true, + "description": "Controls whether formatting is enabled." + }, + "comments": { + "type": "object", + "title": "Comments", + "properties": { + "enabled": { + "type": "boolean", + "title": "Enabled", + "default": true, + "description": "Include comments when formatting." + } + } + }, + "onType": { + "type": "object", + "title": "On Type", + "properties": { + "enabled": { + "type": "boolean", + "title": "Enabled", + "default": true, + "description": "Format code as you type." + } + } + }, + "settings": { + "type": "object", + "title": "Settings", + "properties": { + "url": { + "order": 1, + "type": "string", + "title": "URL", + "default": "", + "description": "URL to an XML file specifying format options." + }, + "profile": { + "order": 2, + "type": "string", + "title": "Profile Name", + "default": "", + "description": "Name of the formatter profile to use. Has no effect unless a formatter URL is specified." + } + } + } + } + }, "signatureHelp": { "type": "object", "title": "Signature Help", @@ -93,7 +150,7 @@ }, "atomTestRunner": "./test/runner", "dependencies": { - "atom-languageclient": "0.9.5", + "atom-languageclient": "^0.9.9", "atom-select-list": "^0.7.1", "decompress": "^4.2.0" }, @@ -148,7 +205,22 @@ }, "code-format.range": { "versions": { - "0.1.0": "provideCodeFormat" + "0.1.0": "provideRangeCodeFormat" + } + }, + "code-format.file": { + "versions": { + "0.1.0": "provideFileCodeFormat" + } + }, + "code-format.onType": { + "versions": { + "0.1.0": "provideOnTypeCodeFormat" + } + }, + "code-format.onSave": { + "versions": { + "0.1.0": "provideOnSaveCodeFormat" } }, "code-highlight": {