You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't like command "develop", I usually use "dev". So I want to create this additional command for myself.
My actions:
copy row "develop": "strapi develop", with CMD-C,
paste with CMD-V (so I can edit it later).
What happened: The moment I paste this line, it disappears. I can do CMD-Z, and the copied line appears. Something deleted my line on the moment of paste and not saving.
What I expected: nothing will disappear at the moment of paste. In this case, I don't have code to work with.
I disabled Prettier in the settings of VS Code, and this strange behavior stopped.
I use:
VS Code - 1.88.1 (Universal) (latest for the moment)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z (2 days ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
Prettier extension - v10.4.0 (latest for the moment)
I create new project of StrapiJS 5, which is in beta now:
npx create-strapi-app@beta learn-strapi-5 --quickstart
.They have
package.json
with commands:I don't like command "develop", I usually use "dev". So I want to create this additional command for myself.
My actions:
"develop": "strapi develop",
with CMD-C,What happened: The moment I paste this line, it disappears. I can do CMD-Z, and the copied line appears. Something deleted my line on the moment of paste and not saving.
What I expected: nothing will disappear at the moment of paste. In this case, I don't have code to work with.
I disabled Prettier in the settings of VS Code, and this strange behavior stopped.
I use:
VS Code - 1.88.1 (Universal) (latest for the moment)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z (2 days ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0
Prettier extension - v10.4.0 (latest for the moment)
Code of
package.json
:Video of this unwanted behavior is attached.
2024-04-13.10-15-00.mp4
Prettier logs:
Details
The text was updated successfully, but these errors were encountered: