# Improving VSCode extension for Motoko

**URL:** <https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012>\
**Category:** Showcase\
**Created:** [April 25, 2025, 9:58pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012 "2025-04-25T21:58:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoPavel](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gopavel/32/18659_2.png) [@GoPavel](https://forum.dfinity.org/u/GoPavel)\
**Post date:** [April 25, 2025, 9:58pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/1 "2025-04-25T21:58:11Z")

</div>

# Project highlights

We are thrilled to announce that we ([Serokell Company](http://serokell.io)) have finished our third Dfinity grant, which means more improvements to the Motoko ecosystem. This time, we are enhancing the [VSCode Extension](https://marketplace.visualstudio.com/items?itemName=dfinity-foundation.vscode-motoko) for the Motoko language.

## New features

- Autocompletion now works for symbols from imported modules.
- Finding references is supported for fields of modules, actors, and classes, along with improving goto-definition.
- Syntax errors now have an example of valid code at that point.
- The parser of the `moc` compiler now supports error recovery, allowing you to see all syntax errors at once and use more IDE features while editing. Drawing from our experience with other smart contract compilers, we implemented this with minimal changes (see [our fork of ocaml-recovery-parser](https://github.com/serokell/ocaml-recovery-parser)).

> **Screenshots with new features**
>
> ![finding references](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/7/f/7fae1bdc5119e0daaabcf469f5a54bceaaf325e5.png)
> 
> ![autocompletion in presence of syntax errors](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/f/e/fe41d1f5e313c7828f105542a95c6f6bb29943d1.png)

## Bug fixes

- Overall performance has been improved by caching type information from the `moc` compiler. This enhancement is especially beneficial for large projects. Additionally, the extension repository now includes an automated [benchmark](https://github.com/dfinity/vscode-motoko/tree/master/src/server/bench) for investigating performance issues.
- Fixed bugs related to the “go to definition” functionality

# How to try

All these features will be available in the next release of the [VSCode extension](https://marketplace.visualstudio.com/items?itemName=dfinity-foundation.vscode-motoko) for Motoko.

---

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [April 25, 2025, 10:31pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/2 "2025-04-25T22:31:58Z")

</div>

![giphy](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/c/2/c23681c7ff817986e7f53359695f6eb7b63d5c6a.gif)  
Looks great!!!

---

<div class="post-metadata">

**Author:** ![Gekctek](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gekctek/32/6863_2.png) [@Gekctek](https://forum.dfinity.org/u/Gekctek)\
**Post date:** [April 25, 2025, 10:43pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/3 "2025-04-25T22:43:09Z")

</div>

Thank you so much. This will be a game changer

---

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [April 26, 2025, 7:32am UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/4 "2025-04-26T07:32:28Z")

</div>

Great stuff, can’t wait to use this 😍

---

<div class="post-metadata">

**Author:** ![b3hr4d](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/b3hr4d/32/9755_2.png) [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Post date:** [October 6, 2025, 7:59am UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/5 "2025-10-06T07:59:43Z")

</div>

Hey DFINITY folks noticed the official Motoko VSCode extension is now showing as “no longer available on the Extension Marketplace” in VSCode (still works if already installed, but blocks new installs/discovery). Screenshot attached:

 ![Screenshot 2025-10-06 at 10.50.11](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/b/5/b59c90f8ef5fc0b47dd0564996a67aac9351b085.png)

Same issue hit my **Colorful Dark+** theme extension (tagged for Motoko/Candid support). Proof screenshot:

 ![Screenshot 2025-10-06 at 10.50.33](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/c/0/c0cfed7ae59919715c66d325a9e11fb16a1d54b1.png)

Thoughts on a fix? Happy to help.

---

<div class="post-metadata">

**Author:** ![b3hr4d](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/b3hr4d/32/9755_2.png) [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Post date:** [October 6, 2025, 8:38am UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/6 "2025-10-06T08:38:02Z")

</div>

Turns out it’s a known VS Code bug they’re fixing: [Some extensions that are available on the Marketplace are showing up as "no longer available" · Issue #269737 · microsoft/vscode · GitHub](https://github.com/microsoft/vscode/issues/269737) .

Good news: A simple patch republish (bumping the version in package.json and running `vsce publish`) cleared it right up for my Colorful Dark+ theme—no code changes needed. It’s back to full installs/discoverability now.

 ![Screenshot 2025-10-06 at 11.29.15](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/1/5/15fde3f05216efc20592d806fc45e76232f1856a.png)

Worth a shot for Motoko to get it searchable again ASAP!

---

<div class="post-metadata">

**Author:** ![rvanasa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rvanasa/32/23650_2.png) [@rvanasa](https://forum.dfinity.org/u/rvanasa)\
**Post date:** [October 6, 2025, 4:08pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/7 "2025-10-06T16:08:13Z")

</div>

Thanks, @b3hr4d! Republished the extension (v0.18.11). If anyone continues to encounter this issue, please let me know so we can investigate further.

---

<div class="post-metadata">

**Author:** ![b3hr4d](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/b3hr4d/32/9755_2.png) [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Post date:** [October 6, 2025, 4:16pm UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/8 "2025-10-06T16:16:50Z")

</div>

> [@rvanasa](#):
>
> Republished the extension (v0.18.11)

Confirmed—Motoko extension is fully visible now, no warnings, 80k+ installs showing.

 ![Screenshot 2025-10-06 at 19.12.29](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/9/d/9dd0fa6b4a54e678e79e044880f2501f97046f0e.png)

Thanks for the quick republish.

---

<div class="post-metadata">

**Author:** ![robert1](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@robert1](https://forum.dfinity.org/u/robert1)\
**Post date:** [October 7, 2025, 8:16am UTC](https://forum.dfinity.org/t/improving-vscode-extension-for-motoko/45012/9 "2025-10-07T08:16:16Z")

</div>

That’s awesome news! These updates sound really useful, especially the improved autocompletion and error recovery. Having better performance and clearer syntax feedback will make coding in Motoko a lot smoother. Great work to the Serokell team for continuing to polish the developer experience!
