DW Site Tools

下载次数:7

更新时间:2016-12-13 16:03:21

插件作者:Tardog

版本支持:sublime text 2,sublime text 3

系统支持: Windows,OS X,Linux

所属分类:--

曾用名称:--

插件介绍:Sublime Text 3 package for importing/exporting Adobe Dreamweaver .STE files.

详细介绍: --

readme:

							

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!).

language syntax snippets color scheme linting theme auto-complete text manipulation formatting javascript build system utilities completions syntax file navigation php python html go markdown search testing code navigation documentation git ruby language text navigation autocomplete vcs utils lua coffeescript latex sass build highlighting text selection java diff scala terminal addon preview todo scss js Completion automation snippet comments nsis svn file creation formatter project sidebar commands console test less repl indent code sharing C hg monokai clipboard file open perl tasks nodejs sync android C++ react japanese editor json markup code style Jasmine editor emulation es6 font diff/merge material jsx syntax highlight docs translate textile code generation debugging sql google node minification laravel typescript cursors manipulation golang save workspace haskell emacs file logs command line wordpress templating compare matlab precompiler watch xml window hexadecimal difference st3 ember jade stylus notes backup indentation browser share rust julia ide make debug angular groovy 中文 unit test converter vhdl utility plugin development unicode restructuredtext apicloud coding Clang spec ftp icons lisp text format grails remote collaboration merge R rubymotion framework file comparison codex sublime svg dark email CSS commit open files stata ruby on rails logger pattern writing convert cli fullscreen validate copy calculator coffee hint icon_fonts code Debugger preferences automate colour input method intellisense converting tidy bash package oracle conflicts pandoc