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

AMD-Module-Editor

by wukkuan ST3

Sublime AMD Module Editor

Details

  • 2013.09.01.21.46.03
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 737
  • Linux 387
Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23
Windows 0 0 0 0 0 0 1 1 1 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 1 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 0 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 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

Readme

Source
raw.​githubusercontent.​com

AMD Module Dependency Editor

AMD Module Editor is a plugin for Sublime Text 3 used to ease the editing of your module definition's list of dependencies. It provides the ability to add, edit, and delete modules from within Sublime Text using your own formatting rules.

Installation

Package Control

The best way to install AMD Module Dependency Editor is to use Sublime Package Control. Follow its instructions for installation, and use the Package Control: Install Package command to install AMD Module Dependency Editor.

Manual Installation

To manually install AMD Module Dependency Editor, clone this repository into your Sublime Text 3 Packages directory.

Usage

There are two actions you can perform with AMD Module Editor, edit and delete. Edit allows you to add, edit, or just view your module list. Delete allows you to remove a module that is no longer required.

To add a new module, open the edit panel, and choose the first option that says “Add New Module” and press enter. At the bottom of the window, you'll next be prompted for one or more input values, according to the state. Finally, the new module will be added to the end of your dependency list.

Editing and deleting a module works similarly to creating a new one.

The first thing you will be asked to input will be the path to the module. You don't need to add quotes here, they'll be inserted automatically.

Next, you will be prompted for the argument to the module function if it would be valid to do so. You will not be prompted if you've set disableArguments to true or if you've left an argument blank for a previous module in the list.

Default Key Bindings

Windows/Linux:

Delete Panel ctrl+alt+shift+a
Edit Panel ctrl+alt+a

Mac OS X:

Delete Panel cmd+alt+shift+a
Edit Panel cmd+alt+a

Configuration

To configure the plugin, use the Sublime Text menu to navigate to Preferences | Package Settings | AMD Module Editor. From there, you can view the default settings and key bindings (do NOT edit the default settings or bindings, they will be overwritten when the plugin updates) to look for examples. Then you can edit the user settings and bindings as you please.

Issues

If you have any issues, feel free to contact me directly and I'll work to help you through it.

Email/Jabber - williamblasko@gmail.com
Twitter - @wukkuan

Running Tests (for developers)

Tests can be run by going to the command line, changing to the package's directory, and running:

python -m unittest discover -s tests

License

All of AMD Module Editor is licensed under the MIT license.

Copyright © 2012 William Blasko williamblasko@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.