-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste code into zmodel doesn't work #1988
Comments
Hi @sw34 , this sounds very strange. Do you see any error in the VSCode extension output panel? |
None. Attached is a screen recording, I am pasting a line repeatedly, you can see it flash on screen and get removed, then after about 10 or 12 attempts if finally pastes in. Zenstack.mp4 |
Very strange ... does it happen to any model you work on? Or just one specific model. Do you have other vscode extension that can potentially interfere? |
Any model does this. My default formatter is set to None (null), and Prettier does not show as active when a zmodel file is loaded but as soon as I disable the Prettier extension and reload VSCode, pasting works fine. If I re-enable Prettier it goes back to as shown in the video.
|
Description and expected behavior
When creating a new model, I tried copying an existing model or really anything within a .zmodel file and it will initially paste but them immediately get deleted. You can type into the file, but pasting anything will not work.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: