apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
239 stars 168 forks source link

Multiple groups are open after renaming the workflow file in VSCode #2432

Open LuboTerifaj opened 3 weeks ago

LuboTerifaj commented 3 weeks ago

Multiple groups are open after renaming the workflow file (sw.json, sw.y(a)ml) in VSCode.

Steps to reproduce

  1. Open a workflow. For example: hello-world.sw.json

  2. Rename it, but keep the sw.json extension. For example: hw-renamed.sw.json

Actual result

The file is open in a new group, which results the same file opened in three groups simultaneously. See: vscode-renamed-file

Expected result

Nothing described above happens when renaming the file. Only the remaining itself. Text editor is shown in the left group, and the diagram is shown in the right group.

LuboTerifaj commented 3 weeks ago

Originally reported in https://issues.redhat.com/browse/KOGITO-8384