{"id":5116,"date":"2025-09-24T14:55:16","date_gmt":"2025-09-24T13:55:16","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=5116"},"modified":"2026-02-06T14:59:30","modified_gmt":"2026-02-06T14:59:30","slug":"intellisense-config","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/ides\/vs-code\/intellisense-config","title":{"rendered":"Intellisense config"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Plugin code outside of your workspace<\/h4>\n\n\n\n<p>Telling VSCode about plugins, libraries etc outpside of your workspace to stop it showing errors when referencing its defines, functions etc<\/p>\n\n\n\n<p>CTRL+SHIFT+P &gt; Settings &gt; Preferences: open user settings.json<\/p>\n\n\n\n<p>Look for an existing &#8220;intelephense.environment.includePaths&#8221; entry or if not add it<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\t\"intelephense.environment.includePaths\": &#91;\n\t\t\"C:\\\\MyFolder\\\\MyLibrary1\\\\some_folder\",\n\t\t\"C:\\\\MyFolder\\\\MyLibrary2\\\\some_folder\"\n\t],<\/code><\/pre>\n\n\n\n<p>Also add this to help force intellisense to look in the files<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"intelephense.files.maxSize\": 5000000,\n\"intelephense.files.exclude\": &#91;\n  \"**\/.git\/**\",\n  \"**\/node_modules\/**\",\n  \"**\/vendor\/**\"\n]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Plugin code outside of your workspace Telling VSCode about plugins, libraries etc outpside of your workspace to stop it showing errors when referencing its defines, functions etc CTRL+SHIFT+P &gt; Settings &gt; Preferences: open user settings.json Look for an existing &#8220;intelephense.environment.includePaths&#8221; entry or if not add it Also add this to help force intellisense to look [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[331],"tags":[],"class_list":["post-5116","post","type-post","status-publish","format-standard","hentry","category-vs-code"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=5116"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5116\/revisions"}],"predecessor-version":[{"id":5281,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/5116\/revisions\/5281"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=5116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=5116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=5116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}