How to move a file to another folder in Sublime text?

Asked

Viewed 512 times

3

How to move a file to another folder in Sublime text?

If I have that structure

-- storage/
---- src/
-- /index.php

How could I move index.php for src/storage/index.php?

-- storage/
---- src/
------ index.php

Observing: This question goes to the Sublime Text 2 or 3, since I never knew how to move files in any of them.

  • Maybe with some plugin, or through the console, but through the UI is not possible.

  • There’s only one way I know, but it’s kind of boring to do

  • If possible, share because I myself have always used an external console, and it would be great to do this within the sublime =]

  • 1

    You right click on the file, click on "Rename", and then rename the file pointing to the directory you want to move. Example: index.php => src/storage/index.php, or ../storage/index.php

  • Thank you for sharing! And sorry I couldn’t be of more help...

  • 1

    I suggest you install the sidebar Enhancements, is sensational!

Show 1 more comment

1 answer

3


No one has answered yet :(

But here I will leave my small solution to this problem in Sublime Text.

Moving a file in Sublime Text.

  • Right-click the file you want to move;
  • Select "";
  • Then renamed the file pointing to the directory that wants to move it.

Example:

inserir a descrição da imagem aqui

There are still some tricks like for example you move to a folder that is at a level above using ../usuarios/nome_do_arquivo.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.