From 22f40716f10863918322d85b2c5d64e22ae74041 Mon Sep 17 00:00:00 2001 From: fahminlb33 Date: Sun, 28 Feb 2021 10:30:43 +0700 Subject: [PATCH] Update VSCode json template --- .../TemplateProvider/TR.Designer.cs | 219 +++++++++++++++ src/KFlearning/TemplateProvider/TR.resx | 254 ++++++++++++++++++ 2 files changed, 473 insertions(+) create mode 100644 src/KFlearning/TemplateProvider/TR.Designer.cs create mode 100644 src/KFlearning/TemplateProvider/TR.resx diff --git a/src/KFlearning/TemplateProvider/TR.Designer.cs b/src/KFlearning/TemplateProvider/TR.Designer.cs new file mode 100644 index 0000000..75fbead --- /dev/null +++ b/src/KFlearning/TemplateProvider/TR.Designer.cs @@ -0,0 +1,219 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace KFlearning.TemplateProvider { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class TR { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal TR() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("KFlearning.TemplateProvider.TR", typeof(TR).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to { + /// "configurations": [{ + /// "name": "MinGW", + /// "intelliSenseMode": "gcc-x86", + /// "compilerPath": "{GXX}", + /// "includePath": [ + /// "${workspaceFolder}/**", + /// "{ENV1}/**", + /// "{ENV2}/**" + /// ], + /// "defines": [ + /// "_DEBUG", + /// "UNICODE" + /// ], + /// "cStandard": "gnu99", + /// "cppStandard": "gnu++98" + /// }], + /// "version": 4 + ///}. + /// + internal static string CPP_c_cpp_properties { + get { + return ResourceManager.GetString("CPP_c_cpp_properties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// // See https://go.microsoft.com/fwlink/?LinkId=733558 + /// // for the documentation about the tasks.json format + /// "version": "2.0.0", + /// "tasks": [{ + /// "label": "Build", + /// "type": "process", + /// "command": "g++", + /// "args": [ + /// "-g", "${relativeFile}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" + /// ], + /// "group": { + /// "kind": "build", + /// "isDefault": true + /// } + /// }] + ///}. + /// + internal static string CPP_Console_tasks { + get { + return ResourceManager.GetString("CPP_Console_tasks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// // See https://go.microsoft.com/fwlink/?LinkId=733558 + /// // for the documentation about the tasks.json format + /// "version": "2.0.0", + /// "tasks": [{ + /// "label": "Build", + /// "type": "process", + /// "command": "g++", + /// "args": [ + /// "-g", "${relativeFile}", "-mwindows", "-lopengl32", "-lglew32", "-lfreeglut", "-lglu32", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" + /// ], + /// "group": { + /// "kind": "build", + /// "isDefault": true + /// [rest of string was truncated]";. + /// + internal static string CPP_GUI_tasks { + get { + return ResourceManager.GetString("CPP_GUI_tasks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// "version": "0.2.0", + /// "configurations": [{ + /// "name": "Launch without Debugging", + /// "type": "cppvsdbg", + /// "request": "launch", + /// "program": "${fileDirname}/${fileBasenameNoExtension}.exe", + /// "args": [], + /// "stopAtEntry": false, + /// "cwd": "${workspaceFolder}", + /// "environment": [], + /// "console": "externalTerminal", + /// "preLaunchTask": "Build" + /// }, + /// { + /// "name": "Launch using GDB", + /// "type": "cppdbg", + /// "reque [rest of string was truncated]";. + /// + internal static string CPP_launch { + get { + return ResourceManager.GetString("CPP_launch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to // Hello World. + /// + internal static string CPP_program { + get { + return ResourceManager.GetString("CPP_program", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// "files.associations": { + /// "*.tcc": "cpp", + /// "cctype": "cpp", + /// "clocale": "cpp", + /// "cstdint": "cpp", + /// "cstdio": "cpp", + /// "cstdlib": "cpp", + /// "cwchar": "cpp", + /// "cwctype": "cpp", + /// "exception": "cpp", + /// "fstream": "cpp", + /// "initializer_list": "cpp", + /// "iosfwd": "cpp", + /// "iostream": "cpp", + /// "istream": "cpp", + /// "limits": "cpp", + /// "new": "cpp", + /// "ostream": "cpp", + /// "stdexcept": [rest of string was truncated]";. + /// + internal static string CPP_settings { + get { + return ResourceManager.GetString("CPP_settings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to print("Hello World"). + /// + internal static string PY_program { + get { + return ResourceManager.GetString("PY_program", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to <p>Hello World. Hari ini <?php echo date("d/m/Y");?></p>. + /// + internal static string WEB_index { + get { + return ResourceManager.GetString("WEB_index", resourceCulture); + } + } + } +} diff --git a/src/KFlearning/TemplateProvider/TR.resx b/src/KFlearning/TemplateProvider/TR.resx new file mode 100644 index 0000000..6760f59 --- /dev/null +++ b/src/KFlearning/TemplateProvider/TR.resx @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + { + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [{ + "label": "Build", + "type": "process", + "command": "g++", + "args": [ + "-g", "${relativeFile}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" + ], + "group": { + "kind": "build", + "isDefault": true + } + }] +} + + + { + "configurations": [{ + "name": "MinGW", + "intelliSenseMode": "gcc-x86", + "compilerPath": "{GXX}", + "includePath": [ + "${workspaceFolder}/**", + "{ENV1}/**", + "{ENV2}/**" + ], + "defines": [ + "_DEBUG", + "UNICODE" + ], + "cStandard": "gnu99", + "cppStandard": "gnu++98" + }], + "version": 4 +} + + + { + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [{ + "label": "Build", + "type": "process", + "command": "g++", + "args": [ + "-g", "${relativeFile}", "-mwindows", "-lopengl32", "-lglew32", "-lfreeglut", "-lglu32", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" + ], + "group": { + "kind": "build", + "isDefault": true + } + }] +} + + + { + "version": "0.2.0", + "configurations": [{ + "name": "Launch without Debugging", + "type": "cppvsdbg", + "request": "launch", + "program": "${fileDirname}/${fileBasenameNoExtension}.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "console": "externalTerminal", + "preLaunchTask": "Build" + }, + { + "name": "Launch using GDB", + "type": "cppdbg", + "request": "launch", + "program": "${fileDirname}/${fileBasenameNoExtension}.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": true, + "MIMode": "gdb", + "miDebuggerPath": "{GDB}", + "setupCommands": [{ + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }], + "preLaunchTask": "Build" + }] +} + + + // Hello World + + + { + "files.associations": { + "*.tcc": "cpp", + "cctype": "cpp", + "clocale": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "exception": "cpp", + "fstream": "cpp", + "initializer_list": "cpp", + "iosfwd": "cpp", + "iostream": "cpp", + "istream": "cpp", + "limits": "cpp", + "new": "cpp", + "ostream": "cpp", + "stdexcept": "cpp", + "streambuf": "cpp", + "system_error": "cpp", + "type_traits": "cpp", + "typeinfo": "cpp", + "cmath": "cpp", + "numeric": "cpp" + } +} + + + print("Hello World") + + + <p>Hello World. Hari ini <?php echo date("d/m/Y");?></p> + + \ No newline at end of file