diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..8e3e206f9 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "ms-vscode.csharp", + "ms-vscode.cpptools", + "ms-vscode.mono-debug", + "wghats.vscode-nxunit-test-adapter", + "visualstudioexptteam.vscodeintellicode", + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..a7429b183 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // 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": [ + { + "name": "Launch", + "type": "mono", + "request": "launch", + "program": "${workspaceRoot}/packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ${workspaceRoot}/bin/TestDebug/generator-Tests.dll", + "cwd": "${workspaceRoot}bin/TestDebug/" + }, + { + "name": "Attach", + "type": "mono", + "request": "attach", + "address": "localhost", + "port": 55555 + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..98c263e55 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "nxunitExplorer.nunit": "packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe", + "nxunitExplorer.modules": [ + "bin/TestDebug/generator-Tests.dll", + "bin/TestDebug/Java.Interop.Tools.JavaCallableWrappers-Tests.dll", + "bin/TestDebug/LogcatParse-Tests.dll", + "bin/TestDebug/Xamarin.Android.Tools.ApiXmlAdjuster-Tests.dll", + "bin/TestDebug/Xamarin.Android.Tools.Bytecode-Tests.dll", + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..7825fd0f5 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,67 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build Java.Interop", + "type": "shell", + "command": "msbuild Java.Interop.sln /restore /t:Build", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$msCompile" + ] + }, + { + "label": "Clean Java.Interop", + "type": "shell", + "command": "msbuild Java.Interop.sln /restore /t:Clean", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$msCompile" + ] + }, + { + "label": "Build Generator", + "type": "shell", + "command": "msbuild tools/generator/generator.sln /restore /t:Build", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$msCompile" + ] + }, + { + "label": "Clean Generator", + "type": "shell", + "command": "msbuild tools/generator/generator.sln /restore /t:Clean", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$msCompile" + ] + }, + { + "label": "Run Generator Unit Tests", + "type": "shell", + "command": "msbuild tools/generator/generator.sln /restore /t:RunNunitTests", + "group": { + "kind": "test", + "isDefault": true + }, + "problemMatcher": [ + "$msCompile" + ] + } + ] +} diff --git a/Java.Interop.code-workspace b/Java.Interop.code-workspace new file mode 100644 index 000000000..32e45d9f7 --- /dev/null +++ b/Java.Interop.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} + } \ No newline at end of file