ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

DW Site Tools

by Tardog ALL

Sublime Text 3 package for importing/exporting Adobe Dreamweaver .STE files.

Details

Installs

  • Total 120
  • Win 82
  • Mac 35
  • Linux 3
Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17
Windows 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

DW Site Tools

A package for Sublime Text 3 that allows import/export of Adobe Dreamweaver™ site settings files (.STE) from/to Sublime Text projects.

(S)FTP settings can be exported to/from sftp-config.json files for the Sublime SFTP package.

Scope of this package

I created this plugin to help my coworkers transition from Adobe Dreamweaver™ to Sublime Text, and to familiarize myself with the Sublime Text package API.

Because I stopped using Dreamweaver™ years ago and their site definitions format is proprietary, this plugin might break on future versions if there are changes to the .STE format. It has not been tested with any Dreamweaver™ versions newer than 12.

Use cases might be slim, but I decided to make this package available to the community nonetheless.

Support for Sublime Text 2

Basic support for Sublime Text 2 is implemented, but not well tested. Use at your own risk!

Installation

Please use Package Control to install this plugin. Manual installation is of course possible if you want to modify the source code, but as an end user, Package Control is your best option to ensure you will always get the latest updates.

Using the plugin

Per-project settings

DW Site Tools stores its settings on a per-project basis in your .sublime-project file. Therefore, saving your project before running the import/export commands is mandatory.

If you want to modify the settings by hand, search for the “dwst” key in the project’s .sublime-project file.

Settings setup

Run the command DW Site Tools: Configure export settings… either from the command palette (Ctlr+Shift+P), or from the menu: Project > DW Site Tools.

During setup, the plugin will look for a sftp-config.json file in your project root (if your project contains more than one directory, each of them will be searched until a matching file is found) and ask you if you want to import settings from there.

Importing an existing .STE file

To import project settings and/or (S)FTP configuration from a Dreamweaver™ .STE file, run the command DW Site Tools: Import existing .ste from the command palette or the menu: Project > DW Site Tools.

Enter the full path to the file you want to import.

This will update settings in your .sublime-project file, as well as create a new sftp-config.json file in your project root or update an existing one.

Exporting project settings to .STE

Run DW Site Tools: Export .ste file from the command palette or the menu: Project > DW Site Tools.

Enter the full path to the export file.

Helping to improve this package

Contributions are always welcome. If you find a bug while importing a .STE file created by a more recent version of Dreamweaver™, please open an issue and make sure to include the .STE file (don’t forget to remove sensitive data, like passwords, before submitting!).