Skip to content

Instantly share code, notes, and snippets.

@rrmistry
Last active March 6, 2019 18:33
Show Gist options
  • Save rrmistry/3cf4e682b331eda01823f82394305e72 to your computer and use it in GitHub Desktop.
Save rrmistry/3cf4e682b331eda01823f82394305e72 to your computer and use it in GitHub Desktop.
Imagine Communications Kayak SDK Files to Develop with VS Code
{
"Comments": "Environment variable WINDOWS_SDK is usually c:/Program Files (x86)/Windows Kits/",
"configurations": [
{
"name": "Win32",
"includePath": [
"${env:WINDOWS_SDK}/10/Include/10.0.10240.0/ucrt/*",
"${workspaceFolder}/**",
"${workspaceFolder}/../src-generated/cpp/*",
"${env:JAVA_HOME}/include/*",
"${env:JAVA_HOME}/include/win32/*",
"${env:KAYAK_SDK}/Plugins/ca.digitalrapids.KayakCore/dev/cpp/*",
"${env:KAYAK_SDK}/Plugins/ca.digitalrapids.CommonMedia/dev/cpp/*",
"${env:KAYAK_SDK}/Plugins/com.imaginecommunications.CommonMediaOrigin/dev/cpp/*"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "8.1",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
// Language Support for Java(TM) by Red Hat
"redhat.java",
// Language Support for C/C++
"ms-vscode.cpptools",
// Language Support for Gradle
"naco-siren.gradle-language",
// Microsoft Java Extension Pack
"vscjava.vscode-java-pack",
// Language Support for XML by Red Hat
"redhat.vscode-xml",
// Mercurial Support
"mrcrowl.hg",
// Visual Studio IntelliCode - A.I. assisted development!!!
"visualstudioexptteam.vscodeintellicode",
// Global Config (useful to copy from centralized location)
"gruntfuggly.global-config",
// Rich bookmark support
"alefragnani.bookmarks",
// Beautify java file
"hookyqr.beautify",
// VS Code Live Share Extension Pack
"ms-vsliveshare.vsliveshare-pack",
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
// This is similar to mrcrowl.hg but has a few bugs relating to Code Lense
"kristjantammekivi.hg",
// This is similar to redhat.java but is not as feature rich
"georgewfraser.vscode-javac",
]
}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"request": "launch",
"projectName": "${workspaceFolderBasename}Java",
"name": "Launch Kayak Designer (Debug)",
"mainClass": "ca.digitalrapids.kayak.KayakMain",
"args": [
"-Xmx512m",
"-Dkayak.developer_mode=true",
"-Djava.util.logging.config.file=Java/logging.properties",
"-Xdebug",
"-Xrunjdwp:transport=dt_socket,address=49000,server=y,suspend=y",
"-XX:+UseG1GC",
"-Dkayak.skip.plugin.manifest.check=true",
],
"cwd": "${env:KAYAK_SDK}",
"classPaths": [
"Plugins\\ca.digitalrapids.KayakCore\\Kayak.jar",
"Plugins\\ca.digitalrapids.KayakDesigner\\KayakDesigner.jar",
],
// Best performance when debugging is achieved with an external Terminal
// "console": "externalTerminal"
// For a nicer, more integrated "feel", try to use either:
// "console": "integratedTerminal"
"console": "internalConsole"
// Depending on the volume of console output, these can consume a lot of memory in the VS Code IDE
},
{
"type": "java",
"request": "attach",
"name": "Attach to Kayak Designer (Debug : Port 49000)",
"hostName": "localhost",
"port": 49000,
},
{
"name": "C++ (gdb) Attach",
"type": "cppdbg",
"request": "attach",
"program": "java.exe",
"processId": "${command:pickProcess}",
"MIMode": "gdb",
"miDebuggerPath": "/path/to/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "C++ (Windows) Attach",
"type": "cppvsdbg",
"request": "attach",
"processId": "${command:pickProcess}"
}
],
"compounds": [
{
"name": "Mixed Debugging (Windows)",
"configurations": [
"Launch Kayak Designer (Debug)",
"C++ (Windows) Attach",
]
}
],
}
{
"bookmarks.backgroundLineColor": "rgba(21, 126, 251, 0.1)",
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
"editor.detectIndentation": false,
"editor.formatOnPaste": true,
"editor.mouseWheelZoom": true,
"editor.renderLineHighlight": "all",
"editor.renderWhitespace": "all",
"global-config.folder": "C:\\Users\\<Your User Name>\\OneDrive - Imagine Communications Corp\\Documents\\.vscode",
"hg.useBookmarks": true,
"java.completion.guessMethodArguments": true,
"java.configuration.checkProjectSettingsExclusions": false,
"java.configuration.updateBuildConfiguration": "disabled",
"java.debug.settings.forceBuildBeforeLaunch": false,
"java.errors.incompleteClasspath.severity": "ignore",
"java.test.defaultConfig": "default",
"python.jediEnabled": false,
"python.linting.pylintEnabled": true,
"search.showLineNumbers": true,
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"vsicons.dontShowNewVersionMessage": true,
"window.title": "${rootName}${separator}${dirty}${activeEditorMedium}${separator}${appName}",
"window.zoomLevel": 0,
"workbench.sideBar.location": "left",
"workbench.startupEditor": "newUntitledFile",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true,
"**/*.class": true,
"**/bin/": true,
"**/build/": true,
},
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Kayak: Designer",
"type": "shell",
"command": "${env:KAYAK_SDK}/kayak-designer.bat",
"options": {
"cwd": "${env:KAYAK_SDK}"
},
"presentation": {
"panel": "dedicated"
},
"problemMatcher": [],
"group": "none"
},
{
"label": "Kayak: Designer - Debug",
"type": "shell",
"command": "${env:KAYAK_SDK}/kayak-designer-debug.bat",
"options": {
"cwd": "${env:KAYAK_SDK}"
},
"isBackground": true,
"promptOnClose": true,
"presentation": {
"panel": "dedicated"
},
"problemMatcher": [],
"group": "none"
},
{
"label": "Kayak: Plugins Repo Client",
"type": "shell",
"command": "${env:KAYAK_SDK}/RepositoryClient/kayak-plugins-repo-client.bat",
"options": {
"cwd": "${env:KAYAK_SDK}/RepositoryClient/"
},
"presentation": {
"panel": "dedicated"
},
"problemMatcher": [],
"group": "none"
},
{
"label": "Gradle: Clean",
"type": "shell",
"command": "gradle allClean",
"problemMatcher": [],
"group": "build",
"presentation": {
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Gradle: Build Debug",
"type": "shell",
"command": "gradle allDebug",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Gradle: Build Release",
"type": "shell",
"command": "gradle allRelease",
"problemMatcher": [],
"group": "build",
"dependsOn": [
"Gradle Clean"
]
},
{
"label": "Gradle: Test",
"type": "shell",
"command": "gradle allTest",
"problemMatcher": [],
"group": "test",
"presentation": {
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Gradle: Jacoco Test",
"type": "shell",
"command": "gradle jacocoTestReport",
"problemMatcher": [],
"group": "test",
"presentation": {
"showReuseMessage": false,
"clear": true
}
},
{
"label": "Gradle: View Test Reports",
"type": "process",
"windows": {
"command": "explorer",
},
"linux": {
"command": "open",
},
"osx": {
"command": "open",
},
"args": [
"${workspaceFolderBasename}Java\\${input:pickJavaTestReport}",
],
"group": "test",
"problemMatcher": []
},
{
"label": "MS Build: VS 2015 | Build | Debug | Win32",
"type": "shell",
"command": "${env:MSBUILD_PATH}/14.0/Bin/MSBuild.exe",
"args": [
"${workspaceFolder}/${workspaceFolderBasename}.sln",
"/t:Build",
"/p:Configuration=Debug",
"/p:Platform=Win32"
],
"problemMatcher": [
"$msCompile"
],
"presentation": {
"showReuseMessage": false,
"clear": true
}
},
{
"label": "MS Build: VS 2015 | Clean | Debug | Win32",
"type": "shell",
"command": "${env:MSBUILD_PATH}/14.0/Bin/MSBuild.exe",
"args": [
"${workspaceFolder}/${workspaceFolderBasename}.sln",
"/t:Clean",
"/p:Configuration=Debug",
"/p:Platform=Win32"
],
"problemMatcher": [
"$msCompile"
],
"presentation": {
"showReuseMessage": false,
"clear": true
}
}
],
"inputs": [
{
"id": "pickJavaTestReport",
"type": "pickString",
"description": "Pick location of test report",
"options": [
"build\\reports\\tests\\index.html",
"build\\reports\\codecoverage\\index.html",
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment