packages feed

phoityne-vscode-0.0.3.0: vscode/package.json

{
	"name":        "phoityne-vscode",
	"displayName": "Haskell GHCi debug viewer Phoityne",
	"version":     "0.0.1",
	"publisher":   "phoityne.hs",
	"description": "ghci debug viewer Phoityne, on Visual Studio Code.",
	"categories":  ["Debuggers"],
	"author":      {"name": "phoityne.hs"},
	"license": "BSD3",
	"private": false,
	"engines": {"vscode": "^1.0.0"},
	"dependencies": {},
	"contributes": {
		"keybindings": [
			{
				"key": "f6",
				"command": "workbench.action.tasks.runTask",
				"when": "!inDebugMode"
			},
			{
				"key": "shift+f6",
				"command": "workbench.action.tasks.terminate",
				"when": "!inDebugMode"
			},
			{
				"key": "f7",
				"command": "workbench.action.tasks.build",
				"when": "!inDebugMode"
			},
			{
				"key": "f8",
				"command": "workbench.action.tasks.test",
				"when": "!inDebugMode"
			}
		],
		"debuggers": [{
			"type": "ghc",
			"label": "ghci debug viewer Phoityne",
			"enableBreakpointsFor": { "languageIds": ["haskell"] },
			"program": "phoityne-vscode.exe",
			"configurationAttributes": {
				"launch": {
					"required": ["program"],
					"properties": {
						"workspace": {
							"type"       : "string",
							"description": "Absolute path to the workspace.",
							"default"    : "${workspaceRoot}"
						},
						"startup": {
							"type": "string",
							"description": "Absolute path to the startup program.",
							"default": "${workspaceRoot}/test/Spec.hs"
						},
						"logFile": {
							"type": "string",
							"description": "Absolute path to the log file.",
							"default": "${workspaceRoot}/.vscode/phoityne.log"
						},
						"logLevel": {
							"type": "string",
							"description": "logging level.",
							"default": "WARNING"
						},
						"ghciPrompt": {
							"type": "string",
							"description": "ghci prompt string.",
							"default": "Phoityne>>= "
						}
					}
				}
			},
			"initialConfigurations": [
				{
					"type": "ghc",
					"name": "ghci debug viewer Phoityne",
					"request": "launch",
					"workspace": "${workspaceRoot}",
					"startup": "${workspaceRoot}/test/Spec.hs",
					"logFile": "${workspaceRoot}/.vscode/phoityne.log",
					"logLevel": "WARNING",
					"ghciPrompt": "H>>= "
				}
			]
		}]
	}
}