{"id":384639,"date":"2023-06-01T13:19:17","date_gmt":"2023-06-01T13:19:17","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=384639"},"modified":"2023-06-01T13:19:24","modified_gmt":"2023-06-01T13:19:24","slug":"cs-cart-vs-code-snippet-extension","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/","title":{"rendered":"CS-Cart VS Code Snippet Extension"},"content":{"rendered":"\n<p>Efficiency and productivity are essential in the realm of coding. Developers are constantly looking for methods to improve productivity and save time. <\/p>\n\n\n\n<p>One powerful feature in Visual Studio Code (VS Code) that can greatly boost productivity is the capacity to build customized code snippets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are snippets in VS Code?<\/h2>\n\n\n\n<p>Code templates that may be quickly added to your code files are called VS Code snippets. They are shortcuts for regular or repetitive code patterns, which can help you save a lot of time and effort.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Follow these steps to make your own VS Code snippet extension:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1: Set up a new VS Code extension project:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you haven&#8217;t already, download and install Node.js and npm (Node Package Manager).<\/li>\n\n\n\n<li>Run the following command to install the Yeoman generator for VS Code extensions: Open your terminal or command prompt.   <\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\">npm install -g yo generator-code<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a new folder for your extension project and navigate to it.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run the following command to create your extension&#8217;s fundamental structure:        <\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\">yo code<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the <strong>New Code Snippet<\/strong> option <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"982\" height=\"385\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\" alt=\"VS Code\" class=\"wp-image-384655\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png 982w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52-300x118.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52-250x98.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52-768x301.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Please fill out all the fields after selecting the New Code Snippet option to construct the directory structure for the VS Code Snippet extension.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1111\" height=\"582\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-28-32.png\" alt=\"VS Code snippet extension\" class=\"wp-image-384659\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-28-32.png 1111w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-28-32-300x157.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-28-32-250x131.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-28-32-768x402.png 768w\" sizes=\"(max-width: 1111px) 100vw, 1111px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Below is a diagram of the directory structure.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"706\" height=\"576\" data-id=\"385121\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-52-12.png\" alt=\"Screenshot-from-2023-06-01-17-52-12\" class=\"wp-image-385121\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-52-12.png 706w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-52-12-300x245.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-52-12-250x204.png 250w\" sizes=\"(max-width: 706px) 100vw, 706px\" loading=\"lazy\" \/><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2: Create a Snippet:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Find the snippets folder in your extension project directory.<\/li>\n\n\n\n<li>Create a new <strong>code-snippets<\/strong> file and name it something like <strong>&#8220;mySnippet.code-snippets&#8221;<\/strong> to represent your snippet.<\/li>\n\n\n\n<li>Define your snippet in the code-snippets file using the format shown below.<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\">{\n    &quot;Register Hooks&quot;:{\n        &quot;prefix&quot;: &quot;regHooks&quot;,\n        &quot;body&quot;: &#091;\n            &quot;if (!defined(&#039;BOOTSTRAP&#039;)) { die(&#039;Access denied&#039;); }&quot;,\n            &quot;&quot;,\n            &quot;fn_register_hooks (&quot;,\n            &quot;\\t&#039;${1:hook_name}&#039;&quot;,\n            &quot;);&quot;\n        ],\n        &quot;description&quot;: &quot;Template for Register CS-Cart Hooks for scheme 3.0&quot;\n    }\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>&#8216;prefix&#8217;<\/strong>, <strong>&#8216;body&#8217;<\/strong>, and <strong>&#8216;description&#8217;<\/strong> fields should be modified to correspond to the snippet you want to use.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3: Update the extension manifest:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the <strong>&#8216;package.json&#8217;<\/strong> file in the extension project&#8217;s root directory.<\/li>\n\n\n\n<li>Find the <strong>&#8220;contributes&#8221;<\/strong> field and add or update the <strong>&#8220;snippets&#8221;<\/strong> section:<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\">{\n  &quot;name&quot;: &quot;webkul-cs-cart-snippets&quot;,\n  &quot;displayName&quot;: &quot;Webkul CS-Cart Snippets&quot;,\n  &quot;description&quot;: &quot;This extension allows developers to use snippets for CS-Cart.&quot;,\n  &quot;version&quot;: &quot;0.0.1&quot;,\n  &quot;engines&quot;: {\n    &quot;vscode&quot;: &quot;^1.78.0&quot;\n  },\n  &quot;repository&quot;: {\n\t\t&quot;type&quot;: &quot;git&quot;,\n\t\t&quot;url&quot;: &quot;https:\/\/github.com\/webkul\/webkul&quot;\n\t},\n\t&quot;icon&quot;: &quot;icon.png&quot;,\n\t&quot;publisher&quot;: &quot;Webkul Software Pvt. Ltd.&quot;,\n  &quot;categories&quot;: &#091;\n    &quot;Snippets&quot;\n  ],\n  &quot;contributes&quot;: {\n    &quot;snippets&quot;: &#091;\n      {\n        &quot;language&quot;: &quot;php&quot;,\n        &quot;path&quot;: &quot;.\/snippets\/snippets.code-snippets&quot;\n      }\n    ]\n  }\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adjust the <strong>&#8220;language&#8221;<\/strong> and <strong>&#8220;path&#8221;<\/strong> fields to match your snippet&#8217;s language and file path.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4: Run the extension and test it:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the project root of your extension, launch a terminal or command prompt<\/li>\n\n\n\n<li>Press <strong>Ctrl+Shift+P<\/strong> to open the command palette in Visual Studio Code (or <strong>Cmd+Shift+P<\/strong> on a Mac).<\/li>\n\n\n\n<li>Select <strong>Debug: Restart<\/strong> and click enter button.<\/li>\n\n\n\n<li>Go to the Home directory of your system and find the folder with the name .vscode (this will hidden folder press ctrl + H to show the hidden files)<\/li>\n\n\n\n<li>There will be an extensions folder inside this folder; open it and paste the extension code (ex: webkul-cs-cart-snippets folder) inside. <\/li>\n\n\n\n<li>Restart the VScode editor after closing it if the extension isn&#8217;t listed.<\/li>\n\n\n\n<li>Inside the Vscode editor, go to the extension<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"727\" height=\"627\" data-id=\"385122\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-55-46.png\" alt=\"Screenshot-from-2023-06-01-17-55-46\" class=\"wp-image-385122\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-55-46.png 727w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-55-46-300x259.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-06-01-17-55-46-250x216.png 250w\" sizes=\"(max-width: 727px) 100vw, 727px\" loading=\"lazy\" \/><\/figure>\n<\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a PHP file and check the snippet.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1102\" height=\"381\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-38.png\" alt=\"Screenshot-from-2023-05-31-12-59-38\" class=\"wp-image-385110\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-38.png 1102w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-38-300x104.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-38-250x86.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-38-768x266.png 768w\" sizes=\"(max-width: 1102px) 100vw, 1102px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1111\" height=\"341\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-52.png\" alt=\"Screenshot-from-2023-05-31-12-59-52\" class=\"wp-image-385112\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-52.png 1111w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-52-300x92.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-52-250x77.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/06\/Screenshot-from-2023-05-31-12-59-52-768x236.png 768w\" sizes=\"(max-width: 1111px) 100vw, 1111px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>There you go! The VSCode snippet plugin you made is simple. <\/p>\n\n\n\n<p>You can change the way the snippets behave, add more snippets, or give your extension new features. <\/p>\n\n\n\n<p>For additional information on extension development, see the <a href=\"https:\/\/code.visualstudio.com\/api\" target=\"_blank\" rel=\"noreferrer noopener\">VSCode extension documentation<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Efficiency and productivity are essential in the realm of coding. Developers are constantly looking for methods to improve productivity and save time. One powerful feature in Visual Studio Code (VS Code) that can greatly boost productivity is the capacity to build customized code snippets. What are snippets in VS Code? Code templates that may be <a href=\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":538,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1496,1],"tags":[14287,14288,590],"class_list":["post-384639","post","type-post","status-publish","format-standard","hentry","category-cs-cart","category-uncategorized","tag-cscart","tag-vscode","tag-webkul"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CS-Cart VS Code Snippet Extension - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CS-Cart VS Code Snippet Extension - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-01T13:19:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T13:19:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\" \/>\n<meta name=\"author\" content=\"Shubham Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shubham Sahu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\"},\"author\":{\"name\":\"Shubham Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/94b71f5e5a543efcf1a0d9b8b55dd4a6\"},\"headline\":\"CS-Cart VS Code Snippet Extension\",\"datePublished\":\"2023-06-01T13:19:17+00:00\",\"dateModified\":\"2023-06-01T13:19:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\"},\"wordCount\":462,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\",\"keywords\":[\"cscart\",\"vscode\",\"webkul\"],\"articleSection\":[\"Cs Cart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\",\"url\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\",\"name\":\"CS-Cart VS Code Snippet Extension - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\",\"datePublished\":\"2023-06-01T13:19:17+00:00\",\"dateModified\":\"2023-06-01T13:19:24+00:00\",\"description\":\"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png\",\"width\":982,\"height\":385,\"caption\":\"Screenshot-from-2023-05-31-11-08-52\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CS-Cart VS Code Snippet Extension\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/94b71f5e5a543efcf1a0d9b8b55dd4a6\",\"name\":\"Shubham Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7969312afcb03707d9c499b747f31c892024b378901193c194c9e05d48596f3e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7969312afcb03707d9c499b747f31c892024b378901193c194c9e05d48596f3e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Shubham Sahu\"},\"description\":\"Shubham Sahu is an expert CS-Cart developer with a focus on PWA, Headless, E-Commerce, and Caching. He excels in CS-Cart Theme Development and Headless Development, delivering cutting-edge solutions that enhance performance and elevate the e-commerce experience. Shubham&rsquo;s technical expertise drives success in every project.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/shubhamsahu-oc876\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CS-Cart VS Code Snippet Extension - Webkul Blog","description":"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/","og_locale":"en_US","og_type":"article","og_title":"CS-Cart VS Code Snippet Extension - Webkul Blog","og_description":"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.","og_url":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-06-01T13:19:17+00:00","article_modified_time":"2023-06-01T13:19:24+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png","type":"","width":"","height":""}],"author":"Shubham Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shubham Sahu","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/"},"author":{"name":"Shubham Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/94b71f5e5a543efcf1a0d9b8b55dd4a6"},"headline":"CS-Cart VS Code Snippet Extension","datePublished":"2023-06-01T13:19:17+00:00","dateModified":"2023-06-01T13:19:24+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/"},"wordCount":462,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png","keywords":["cscart","vscode","webkul"],"articleSection":["Cs Cart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/","url":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/","name":"CS-Cart VS Code Snippet Extension - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png","datePublished":"2023-06-01T13:19:17+00:00","dateModified":"2023-06-01T13:19:24+00:00","description":"Find out how to build a robust VS Code snippet extension to speed up your development process and improve your productivity.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-from-2023-05-31-11-08-52.png","width":982,"height":385,"caption":"Screenshot-from-2023-05-31-11-08-52"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/cs-cart-vs-code-snippet-extension\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CS-Cart VS Code Snippet Extension"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/94b71f5e5a543efcf1a0d9b8b55dd4a6","name":"Shubham Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7969312afcb03707d9c499b747f31c892024b378901193c194c9e05d48596f3e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7969312afcb03707d9c499b747f31c892024b378901193c194c9e05d48596f3e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Shubham Sahu"},"description":"Shubham Sahu is an expert CS-Cart developer with a focus on PWA, Headless, E-Commerce, and Caching. He excels in CS-Cart Theme Development and Headless Development, delivering cutting-edge solutions that enhance performance and elevate the e-commerce experience. Shubham&rsquo;s technical expertise drives success in every project.","url":"https:\/\/webkul.com\/blog\/author\/shubhamsahu-oc876\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/384639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/538"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=384639"}],"version-history":[{"count":16,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/384639\/revisions"}],"predecessor-version":[{"id":385151,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/384639\/revisions\/385151"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=384639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=384639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=384639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}