{"id":73196,"date":"2025-01-10T21:00:51","date_gmt":"2025-01-10T13:00:51","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=73196"},"modified":"2025-01-02T21:08:39","modified_gmt":"2025-01-02T13:08:39","slug":"lm-studio-ai-assistance-vs-code-setup","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/","title":{"rendered":"How to Use LM Studio for AI Assistance in Visual Studio Code"},"content":{"rendered":"<p>In our previous article, we explored several <a href=\"https:\/\/www.hongkiat.com\/blog\/best-ai-powered-code-editors\/\">code editors with built-in AI features<\/a>. However, these features often rely on a cloud connection and may require subscriptions to access all functionalities. This can be inconvenient if you\u2019re working offline or find the subscription costs outweigh the benefits.<\/p>\n<p>If you\u2019re looking for a free and offline alternative, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/lmstudio.ai\/\">LM Studio<\/a> is a great option. This desktop application allows you to run powerful Large Language Models (LLMs) directly on your computer. You can even choose from various models available through the <a href=\"https:\/\/www.hongkiat.com\/blog\/ollama-ai-setup-guide\/\">Ollama platform<\/a>.<\/p>\n<p>In this article, we\u2019ll see how to use LM Studio with Visual Studio Code (VS Code) to get AI assistance in the code editor. We\u2019ll cover setting it up, connecting it to VS Code, and using the AI assistance features.<\/p>\n<h2>What You\u2019ll Need<\/h2>\n<p>First and foremost, let\u2019s make sure you have a couple of things ready:<\/p>\n<ul>\n<li><strong>LM Studio<\/strong>: This will be the app that allows us to run AI models locally on our computer. If you haven\u2019t already, check out our guide on how to set it up: <a href=\"https:\/\/www.hongkiat.com\/blog\/run-llm-locally-lm-studio\/\">How to Run LLM Locally on Your Computer with LM Studio<\/a>.<\/li>\n<li><strong>VS Code<\/strong>: If you don\u2019t have it yet, you can download it from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/code.visualstudio.com\/\">the official source<\/a>.<\/li>\n<\/ul>\n<h2>Setting Up LM Studio<\/h2>\n<p>First, open LM Studio and download the LLM you want to use.<\/p>\n<p>For coding assistance, it\u2019s best to choose a model specifically trained on code. In this example, we\u2019ll use the \u201cQwen2.5 Coder\u201d model with 14 billion parameters.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg\" alt=\"Downloading model in LM Studio\" width=\"1000\" height=\"640\"><\/figure>\n<p>However, it\u2019s also important to select a model that runs smoothly on your computer. If the 14B parameter model is too heavy, consider trying the 3B parameter version.<\/p>\n<p>Once you\u2019ve downloaded the LLM, load it in LM Studio and start the server. You\u2019ll find the server controls in the <strong>\u201cDevelopers\u201d<\/strong> panel of the sidebar as shown in the screenshot below. The server should start running at <code>http:\/\/localhost:1234<\/code>, and you\u2019ll see the available endpoints listed.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-start-server.jpg\" alt=\"Starting server in LM Studio\" width=\"1000\" height=\"640\"><\/figure>\n<h2>Connecting LM Studio to VS Code<\/h2>\n<p>To leverage LM Studio\u2019s AI power within VS Code, we\u2019ll install the open-source extension, <strong><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Continue.continue\">Continue.dev<\/a><\/strong>. This extension specializes in AI code assistance, making it a perfect fit for our needs.<\/p>\n<p>After installation, you\u2019ll see a new tab appear in the VS Code sidebar. This is the <strong>\u201cContinue\u201d<\/strong> tab.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-vscode-tab.jpg\" width=\"1000\" height=\"300\" alt=\"Continue.dev tab in VS Code sidebar\"><\/figure>\n<p>Within the tab, we can find the Chat field where you can interact with the AI assistance.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-vscode-chat-field.jpg\" alt=\"Chat field in Continue.dev tab\" width=\"1000\" height=\"420\"><\/figure>\n<p>While the Chat field seems functional, it won\u2019t work or respond to your queries yet. We need to select the LLM model for the Chat to use. To enable it, click on the <strong>Model<\/strong> option at the bottom of the field and select <kbd>+ Add Chat model<\/kbd><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-add-chat-model.jpg\" alt=\"Adding chat model in Continue.dev\" width=\"1000\" height=\"520\"><\/figure>\n<p>Select <strong>\u201cLLM Studio\u201d<\/strong> as the <strong>Provider<\/strong> and <strong>\u201cAutodetect\u201d<\/strong> as the <strong>Model<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-add-chat-model-provider.jpg\" alt=\"Selecting LLM Studio as provider\" width=\"1000\" height=\"640\"><\/figure>\n<p>Once connected, the Chat field will display available LLM models from LM Studio. In this example, we\u2019ll choose the <strong>\u201cQwen2.5 Coder with 14B\u201d<\/strong> model that we\u2019ve downloaded and set up in LM Studio.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-add-chat-model-options.jpg\" alt=\"Selecting Qwen2.5 model options\" width=\"1000\" height=\"640\"><\/figure>\n<h2>Using the Chat Field<\/h2>\n<p>The Chat field works similarly to other AI assistants. You can interact with it by asking questions, requesting suggestions, or even generating code snippets. Here are some examples:<\/p>\n<p>Ask for a simple HTML document snippet:<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-chat-generate-html.jpg\" alt=\"Generating HTML snippet with AI chat\" width=\"1000\" height=\"720\"><\/figure>\n<p>Use the <code>@<\/code> symbol and select <strong>\u201cFiles\u201d<\/strong> to provide context. For example, attach the current file to generate a docblock for a specific component.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-chat-generate-docblock-with-context.jpg\" alt=\"Generating docblock with context in AI chat\" width=\"1000\" height=\"640\"><\/figure>\n<h2>Configuring Autocompletion<\/h2>\n<p><strong>Autocompletion<\/strong> is one of the most common features found in AI-powered code editors. In this case, with <strong>Continue.dev<\/strong> + VS Code setup, it might not be enabled yet. To enable it, open the config file at <code>~\/.continue\/config.json<\/code>, and add in the following to connect the autocompletion to LM Studio.<\/p>\n<pre>\r\n{\r\n    \"tabAutocompleteModel\": {\r\n        \"apiBase\": \"http:\/\/localhost:1234\/v1\/\",\r\n        \"title\": \"Qwen2.5-Coder 14B\",\r\n        \"provider\": \"lmstudio\",\r\n        \"model\": \"qwen2.5-coder:14b\"\r\n    }\r\n}\r\n<\/pre>\n<p>Once that\u2019s set up and saved, you should see the autocompletion working in your VS Code editor.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/continue-autocomplete.jpg\" alt=\"Autocompletion enabled in VS Code with AI\" width=\"1000\" height=\"480\"><\/figure>\n<h2>Wrapping Up<\/h2>\n<p>And that\u2019s how you can use LM Studio for AI assistance in Visual Studio Code. It\u2019s a great way to have AI assistance in your code editor without relying on the cloud. It\u2019s also free and you can select the model that\u2019s best for your computer. A great alternative to cloud-based services like OpenAI or GitHub Copilot.<\/p>\n<p>Give it a try and see how it can help you in your coding tasks.<\/p>","protected":false},"excerpt":{"rendered":"<p>In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may require subscriptions to access all functionalities. This can be inconvenient if you\u2019re working offline or find the subscription costs outweigh the benefits. If you\u2019re looking for a free and offline alternative,&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[3545],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use LM Studio for AI Assistance in Visual Studio Code - Hongkiat<\/title>\n<meta name=\"description\" content=\"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use LM Studio for AI Assistance in Visual Studio Code\" \/>\n<meta property=\"og:description\" content=\"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-10T13:00:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Use LM Studio for AI Assistance in Visual Studio Code\",\"datePublished\":\"2025-01-10T13:00:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/\"},\"wordCount\":695,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/lm-studio-ai-assistance-vs-code-setup\\\/lmstudio-download-model.jpg\",\"keywords\":[\"Artificial Intelligence\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/\",\"name\":\"How to Use LM Studio for AI Assistance in Visual Studio Code - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/lm-studio-ai-assistance-vs-code-setup\\\/lmstudio-download-model.jpg\",\"datePublished\":\"2025-01-10T13:00:51+00:00\",\"description\":\"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/lm-studio-ai-assistance-vs-code-setup\\\/lmstudio-download-model.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/lm-studio-ai-assistance-vs-code-setup\\\/lmstudio-download-model.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/lm-studio-ai-assistance-vs-code-setup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use LM Studio for AI Assistance in Visual Studio Code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use LM Studio for AI Assistance in Visual Studio Code - Hongkiat","description":"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may","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:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/","og_locale":"en_US","og_type":"article","og_title":"How to Use LM Studio for AI Assistance in Visual Studio Code","og_description":"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may","og_url":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2025-01-10T13:00:51+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Use LM Studio for AI Assistance in Visual Studio Code","datePublished":"2025-01-10T13:00:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/"},"wordCount":695,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg","keywords":["Artificial Intelligence"],"articleSection":["Coding"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/","url":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/","name":"How to Use LM Studio for AI Assistance in Visual Studio Code - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg","datePublished":"2025-01-10T13:00:51+00:00","description":"In our previous article, we explored several code editors with built-in AI features. However, these features often rely on a cloud connection and may","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/lm-studio-ai-assistance-vs-code-setup\/lmstudio-download-model.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/lm-studio-ai-assistance-vs-code-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use LM Studio for AI Assistance in Visual Studio Code"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-j2A","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/73196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=73196"}],"version-history":[{"count":1,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/73196\/revisions"}],"predecessor-version":[{"id":73197,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/73196\/revisions\/73197"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=73196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=73196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=73196"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=73196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}