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
If you run the built-in move command with a path that already exists, that file will be overwritten without warning.
I understand that this may be the responsibility of the LSP; however, I think we should add a warning (or require move!) if the target path already exists.
Example:
echo"hello world"> a
echo"bye world"> b
hx b
# the run: `move a`
cat a
# output: bye world
If this is in fact a good feature, I would be happy to make a PR for it.
This discussion was converted from issue #11019 on June 26, 2024 16:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If you run the built-in
move
command with a path that already exists, that file will be overwritten without warning.I understand that this may be the responsibility of the LSP; however, I think we should add a warning (or require
move!
) if the target path already exists.Example:
If this is in fact a good feature, I would be happy to make a PR for it.
Beta Was this translation helpful? Give feedback.
All reactions