2
Does anyone know any plugin for Sublime Text 2 that somehow publish the modified files in a given folder?
Another app that has this feature is Dreamweaver.
2
Does anyone know any plugin for Sublime Text 2 that somehow publish the modified files in a given folder?
Another app that has this feature is Dreamweaver.
2
I use a build system. It’s fast, easy and simple. :)
I use Windows 8, but the principle is the same for other operating systems (and there are more details in the documentation I referenced above):
Create a file of build system specific to your project (for example, meuProjeto.sublime-build
) in the directory Packages\User
from the installation (in the case of Windows is on User\AppData\Roaming\Sublime Text 3\Packages\User
).
Add in this file a command tag for the execution of a script (in the case of Windows, a file batch). For example:
{
"cmd": ["C:\\CAMINHO\\DO\\SCRIPT\\meuProjeto-copiaArquivos.bat"]
}
I use this schema to copy files from web projects using the command xcopy
to a Wamp Server folder, and then automatically opening Google Chrome on localhost
:
@echo off
xcopy /E /Y /A C:\CAMINHO\DO\PROJETO\*.* C:\wamp\www\MeuProjeto\
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "http://localhost/"
Then you’ll probably need to reboot Sublime Text, but the new build system can be selected from the menu Tools -> Build System
and run in the menu Tools -> Build
.
Browser other questions tagged sublime-text-2
You are not signed in. Login or sign up in order to post.