# VSCode Sway Extension Error: Request textDocument/inlayHint failed

**URL:** <https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819>\
**Category:** Sway\
**Created:** [July 3, 2023, 6:42pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819 "2023-07-03T18:42:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![worstprogrammer](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@worstprogrammer](https://forum.fuel.network/u/worstprogrammer)\
**Post date:** [July 3, 2023, 6:42pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/1 "2023-07-03T18:42:07Z")

</div>

Hey, no clue what the cause of this is for. Everything seems to be setup and installed according to the docs, but on VSCode getting a repetitive error despite uninstalling and reinstalling everything including VSCode. Any idea what this is or a solution?

 ![Screenshot 2023-07-03 at 11.41.24 AM](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/0/049b0aeef8a682b587c988ab9f69ddb1e7ff2ff5.png)

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [July 3, 2023, 7:06pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/2 "2023-07-03T19:06:05Z")

</div>

Hi there @worstprogrammer, thanks for the question! The LSP team seem to be aware of this issue and has made a PR [here](https://github.com/FuelLabs/sway/pull/4735)

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [July 3, 2023, 11:57pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/3 "2023-07-03T23:57:30Z")

</div>

The fix has been merged! Look out for it in the next release 🙂

---

<div class="post-metadata">

**Author:** ![worstprogrammer](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@worstprogrammer](https://forum.fuel.network/u/worstprogrammer)\
**Post date:** [July 4, 2023, 5:40pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/4 "2023-07-04T17:40:25Z")

</div>

Hey thanks so much! I saw the PR was merged, is there a way to use the latest commit in my extension so I can consume it before the release?

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [July 4, 2023, 11:15pm UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/5 "2023-07-04T23:15:01Z")

</div>

You can use the nightly channel in fuelup to have it before the next release @worstprogrammer! Take a look [here](https://install.fuel.network/v0.18.1/concepts/channels/nightly.html).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)\
**Post date:** [July 26, 2023, 11:26am UTC](https://forum.fuel.network/t/vscode-sway-extension-error-request-textdocument-inlayhint-failed/2819/7 "2023-07-26T11:26:04Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
