docs: Improve documentation for all options (#56)

* 💬 Update details for all options

* I'm as consistent as rocks

* Clearer
This commit is contained in:
Frangu Vlad 2018-04-29 17:36:07 +03:00 committed by Crawl
parent 29ddf87284
commit 6ae9d98730

View file

@ -53,47 +53,47 @@
"discord.enabled": { "discord.enabled": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Controls if Discord Presence is active" "description": "Controls if the Discord Presence should show across all workspaces"
}, },
"discord.reconnectThreshold": { "discord.reconnectThreshold": {
"type": "number", "type": "number",
"default": 20, "default": 20,
"description": "Decides how often a reconnect attempt should be made before stopping" "description": "Decides how many reconnect attempts should be made before stopping"
}, },
"discord.detailsEditing": { "discord.detailsEditing": {
"type": "string", "type": "string",
"default": "Editing {filename}", "default": "Editing {filename}",
"description": "Custom string for the details section of the rich presence\nIf this is set to '{null}', it will be replaced with an empty space" "description": "Custom string for the details section of the rich presence\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any."
}, },
"discord.detailsDebugging": { "discord.detailsDebugging": {
"type": "string", "type": "string",
"default": "Editing {filename}", "default": "Editing {filename}",
"description": "Custom string for the details section of the rich presence when debugging\nIf this is set to '{null}', it will be replaced with an empty space" "description": "Custom string for the details section of the rich presence when debugging\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any."
}, },
"discord.detailsIdle": { "discord.detailsIdle": {
"type": "string", "type": "string",
"default": "Idling", "default": "Idling",
"description": "Custom string for the details section of the rich presence when idling" "description": "Custom string for the details section of the rich presence when idling\n\t- '{null}' will be replaced with an empty space."
}, },
"discord.lowerDetailsEditing": { "discord.lowerDetailsEditing": {
"type": "string", "type": "string",
"default": "Workspace: {workspace}", "default": "Workspace: {workspace}",
"description": "Custom string for the state section of the rich presence\nIf this is set to '{null}', it will be replaced with an empty space" "description": "Custom string for the state section of the rich presence\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any."
}, },
"discord.lowerDetailsDebugging": { "discord.lowerDetailsDebugging": {
"type": "string", "type": "string",
"default": "Debugging: {workspace}", "default": "Debugging: {workspace}",
"description": "Custom string for the state section of the rich presence when debugging\nIf this is set to '{null}', it will be replaced with an empty space" "description": "Custom string for the state section of the rich presence when debugging\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any."
}, },
"discord.lowerDetailsIdle": { "discord.lowerDetailsIdle": {
"type": "string", "type": "string",
"default": "Idling", "default": "Idling",
"description": "Custom string for the state section of the rich presence when idling" "description": "Custom string for the state section of the rich presence when idling\n\t- '{null}' will be replaced with an empty space."
}, },
"discord.lowerDetailsNotFound": { "discord.lowerDetailsNotFound": {
"type": "string", "type": "string",
"default": "No workspace.", "default": "No workspace.",
"description": "Custom string for the state section of the rich presence when no workspace is found" "description": "Custom string for the state section of the rich presence when no workspace is found.\nIf set to '{null}', this will be an empty space."
}, },
"discord.largeImage": { "discord.largeImage": {
"type": "string", "type": "string",
@ -108,7 +108,7 @@
"discord.smallImage": { "discord.smallImage": {
"type": "string", "type": "string",
"default": "{appname}", "default": "{appname}",
"description": "Custom string for the smallImageText section of the rich presence" "description": "Custom string for the smallImageText section of the rich presence\n\t- '{appname}' will get replaced with the current Visual Studio Code version."
}, },
"discord.silent": { "discord.silent": {
"type": "boolean", "type": "boolean",