I'm using Sublime Text 3 as my editor in winSCP. How can i open the entire directories from Sublime Text 3 in winSCP ?
You need to install the 'SFTP' package in Sublime, create a sftp-config file to connect to your server and sync a remote directory to a local directory.
Install SFTP for sublime:
https://codexns.io/products/sftp_for_sublime/install
Sync: https://www.youtube.com/watch?v=g6NqBGHFfm0
If you don't want to sync the folders you can just right click on your sftp-config file->SFTP/FTP->Download Folder.
More details about sftp-config here: https://codexns.io/products/sftp_for_sublime/settings
It seems a bug in Sublime is that if Sublime is not the highlighted app while downloading it may cause problems.
that the files and folders appear in the sidebar but i think i found a answer for my question, namely i have to stall samba on my Linux Server or to install addon (SFTP) on Sublime Text.
Related
I have SFTP installed. I've been Googling this. How do I delete a file, not a folder, from the remote server via Sublime Text 3?
This doesn't tell me anything:
Delete Remote File
Context menu only
Delete the file off of the server
Because I'm not seeing anything in the contextual menu about deleting a file, just a folder.
It seems that this is a real issue. In How to Install GitKraken, they point to a %APPDATA%/.gitkraken folder. Once there, you have "profiles" and "service" folders and "config", "log" and "secFile" files. Inside those folders, there are no signs of an executable. It's not under Program Files, nor in the PATH environment variable, it's nowhere to be found. If you install it again, it opens normally and logged in your profile, but after closing it, there's no way to open it again. There are no shortcuts.
What am I missing?
By default GitKraken is installed to your local app data folder. You can find the executable file inside %LOCALAPPDATA%\gitkraken\app-<app-version>
As of this writing, the latest version is 2.0.1 so the exe will be %LOCALAPPDATA%\gitkraken\app-2.0.1\gitkraken.exe
And easier way to open the software would be using the shortcut in the start menu:
I cannot use the simple installation code because a proxy blocks my way out. Unfortunately, I just don't get the instructions on the webpage.
1. Click the Preferences > Browse Packages… menu
2. Browse up a folder and then into the Installed Packages/ folder
3. Download Package Control.sublime-package and copy it into the Installed Packages/ directory
4. Restart Sublime Text
What exactly does 2. mean? I guess I literally don't understand what "Browse up a folder and then into..." means.
I did click on the Browse Packages menu and used the popup explorer window to create a folder in my documents directory called Installed Packages. But what's next? Since I am just in a regular Explorer window, it I don't see how sublime now knows about this folder.
In Sublime Text, click the Preferences > Browse Packages… menu
this opens Windows Explorer in the path %AppData%\Roaming\Sublime Text 3\Packages.
Browse up a folder
go up one folder level, the equivalent of cd .. in the command prompt. So basically, you want to be in %AppData%\Roaming\Sublime Text 3.
You can do this using the breadcrumbs in the address bar - using the above image as a guide, click on Sublime Text 3. Alternatively, press Backspace to go up a folder level. (Normally it will go back one history level, but in this case there is no history because it is a new Explorer window, so it will go up a directory in the folder hierarchy.)
and then into the Installed Packages folder
Double click on the Installed Packages folder to navigate into it.
Download Package Control.sublime-package and copy it into the Installed Packages directory
So you will have a file called Package Control.sublime-package in the %AppData%\Roaming\Sublime Text 3\Installed Packages folder.
Restart Sublime Text
Close ST and launch it again.
For Mac users, for No. 2, you'll most likely see this. That is the Packages file
To be able to browse up a folder and view the Installed Packages:
Then from there, download using the link and put it in the installed package folder, there you go!
I am trying to install package control in Sublime Text editor 3 on Ubuntu 14.04 . I follow simple instruction from https://sublime.wbond.net/installation.
But I get follow error:
Package Control: Error downloading channel. b'curl: (7) Failed to connect to sublime.wbond.net port 443: Network is unreachable' downloading https://sublime.wbond.net/channel.json.
error: Package Control
Go back to the installation page and follow the instructions in the Manual section:
Click the Preferences > Browse Packages… menu
Browse up a folder and then into the Installed Packages/ folder
Download Package Control.sublime-package and copy it into the Installed Packages/ directory
Restart Sublime Text
This should install Package Control for you without any problems.
EDIT
Please read through this issue here, and follow wbond's instructions to install from git. First, completely quit Sublime, then remove all traces of Package Control - any folders in ~/.config/sublime-text-3/Packages, any files in ~/.config/sublime-text-3/Installed Packages, the folder ~/.config/sublime-text-3/Packages/User/Package Control.cache, and any files in ~/.config/sublime-text-3/Packages/User that start with Package Control.* - Package Control.last-run, Package Control.sublime-settings, Package Control.system-ca-bundle, and anything else you can find.
Next, assuming you have git installed (run sudo apt-get install git if you don't), switch to ~/.config/sublime-text-3/Packages and run
git clone https://github.com/wbond/package_control.git "Package Control"
to clone the master repo (make sure you've completely quit Sublime before running this). Restart Sublime and see if everything installs properly. If not, follow the instructions for creating a debug log, restart Sublime to generate the log, open the Console by selecting View -> Show Console, then copy the entire contents (it'll be a lot) into a new file. Open a new issue and describe exactly what the problem is, including all the details above and the fact that you just installed from the master branch, and paste in the contents of the debug log (make sure you put it in a code block by adding triple backticks ``` before and after). Will Bond (wbond) should get in touch with some suggestions.
Good luck!
Note for users of other operating systems: I'm not sure if this is a Linux-only problem or not, but in case it isn't, Mac users will find Packages and Installed Packages in ~/Library/Application Settings/Sublime Text 3, while Windows users with standard (i.e., non-portable installs) will find them in your user directory under AppData\Roaming\Sublime Text 3. For Windows portable installs, the directories should be in your install directory under Data.
For the sublime text version 3126 onward Package Control is disabled by default. Just go to Preferences > Settings and remove Package Control from the ignored_packages setting.
I was having the same problem on Linux Mint 18.1 (Ubuntu derivative), and after reading a few posts here and there, it occurred to me that something had likely become corrupted, so I: 1) uninstalled sublime; AND then 2) deleted everything related to sublime from "/home/thom/.config/". Step 2 was the real key. Then I reinstalled sublime according to "apt" section HERE. Once reinstalled, package control was able to install without error.
The Sublime2 build files are located at \Sublime Text2\Packages\ folder, but I cannot figure out where Sublime3 put those files. Can anyone give me some help?
Language.sublime-build files (and everything else that used to be under the Packages/Language hierarchy) are now included in the zipped Language.sublime-package files found in Sublime Text Build 3XXX/Packages/. I haven't found an obvious way to edit these files in a cross-platform-consistent manner, so the easiest thing is to unzip the .sublime-package file into a folder named for that language, then move the folder to the Sublime Text Build 3XXX/Data/Packages/ folder. As I understand it, any file in Data/Packages/Language will overrule whatever is contained in the corresponding Packages/Language.sublime-package file.
EDIT
For Windows installations (not unzipped portable installs) use the C:\Users\YourNameHere\AppData\Roaming\Sublime Text 3\Packages folder. The Users subdirectory in this folder is where all your user-specific preferences, keymaps, build systems, etc. go, similar to the Packages\User directory in ST2. So, if you want to unzip and modify the Python.sublime-package file, for example, unzip it into AppData\Roaming\Sublime Text 3\Packages\Python and you'll be all set, as I described above.
CLARIFICATION
The Packages directory is the one opened when selecting Preferences → Browse Packages…:
Linux: ~/.config/sublime-text-3/Packages or ~/.config/sublime-text/Packages
OS X: ~/Library/Application Support/Sublime Text 3/Packages or ~/Library/Application Support/Sublime Text/Packages
Windows Regular Install: C:\Users\YourUserName\AppData\Roaming\Sublime Text 3\Packages or C:\Users\YourUserName\AppData\Roaming\Sublime Text\Packages
Windows Portable Install: InstallationFolder\Sublime Text 3\Data\Packages InstallationFolder\Sublime Text\Data\Packages
The exact path depends on version and whether or not you upgraded from Sublime Text 3.
Also, instead of manually unzipping .sublime-package files, just use the excellent PackageResourceViewer utility. It does exactly what I described above without the hassle.
On OS X, ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User works for me.
Just in case someone runs into the same prob on a Mac and can't find the file:
I was trying to find this on a new Mac to edit my compass.sublime-build file, but couldn't find the folder. To look in ~/Library/Application Support/Sublime Text 3/Packages/... you have to press and hold the Option key to see the folders in bold, since it's all hidden folders.
Hope that helps someone.
Bit of a crazy workaround, but if you create a new build system, then when you save the file, you have access to the relevant folder. Before saving, you can drag unwanted files to the rubbish bin, and ones you want to read can be dragged to the file system icon in the launcher and placed somewhere where they can then be opened.
I did a search for sublime-build and heres what I got:
So for Windows, the directory for Sublime Text 3 is:
C:\Users\horse\AppData\Roaming\Sublime Text 3\Packages\User
and the Python build for Sublime 2 for example is located here:
C:\Users\horse\AppData\Roaming\Sublime Text 2\Packages\Python
On Linux, this is the folder you which contains .sublime-build files that you created under Tools > New build System.
/home/<username>/.config/sublime-text-3/Packages/User
If you are using Ubuntu then you can find your previously build files in
/home/your_user_name/.config/sublime-text/Packages/User
.config is a hidden directory, make sure you press control + h so that you can view all the hidden files and folders