Open pixtron opened 1 year ago
Very strange. What is the technical reason for prepending the name with +
(just curious)?
There is no technical reason. It's more for ordering purposes so +xstate
is on top of the folder and not at the bottom.
So tried a bit further:
Does not work: *
, %
, :
Does work: -
, _
, .
Description
When the machine is in a folder that starts with
+
the VSCode Extension can't open the Visual Editor. It fails with the message "Could not find a machine at the current cursor". When the+
in the folder name is removed, the visual editor can be opened.Steps to reproduce
touch src/+xstate/machine.ts
createMachine()
XState: Open Visual Editor
from the command paletteExpected result
Visual editor opens
Actual result
Visual Editor does not open. If the
+
in the folder name is removed, the machine opens.Reproduction
none
Additional context
No response