mdx-js / mdx-analyzer

MDX extension for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename in javascript does not work when mdx.experimentalLanguageServer is enabled

ambarvm opened this issue · comments

Initial checklist

Affected packages and versions

unifiedjs.vscode-mdx v1.3.0

Link to runnable example

No response

Steps to reproduce

  1. Enable mdx.experimentalLanguageServer
"mdx.experimentalLanguageServer": true
  1. Open a project in vscode containing both javascript and mdx files
  2. Open a javascript file and right click a variable. Click "Rename Symbol".

Expected behavior

An input box should appear to allow the variable rename operation.

Actual behavior

A tooltip appears saying "The element can't be renamed."

image

Runtime

Node v18

Package manager

npm v9

OS

macOS

Build and bundle tools

webpack

I just enabled version 1.5.0 of the VS Code extension. The implementation got a complete rewrite. This issue should be resolved. Please report a new issue if this problem still persists.

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.