Asp.net file switcher
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
AspNetSwitch.sublime-commands
Default.sublime-keymap
Main.sublime-menu
README.md
asp_net_switch_commands.py

README.md

Summary

AspNetSwitch is a Asp.net file switching plugin for Sublime Text 2.

Features

  • switch file between .aspx and .aspx.cs
  • switch file between .ascx and .ascx.cs
  • switch file between .master and .master.cs
  • switch file between .aspx and .aspx.designer.cs

Install

Package Control (Recommended)

AspNetSwitch is now included in the default repository channel for Package Control. It should show up in your install list with no changes.

If it does not show up, or you are on an older version of Package Control: Add https://github.com/zhongxingdou/AspNetSwitch as a Package Control repository. AspNetSwitch will show up in the package install list.

Git Clone

Clone this repository in to the Sublime Text 2 "Packages" directory, which is located where ever the "Preferences" -> "Browse Packages" option in sublime takes you.

Key Binding

normal

  • "alt+c" switch file between .aspx and .aspx.cs

  • "alt+c" switch file between .master and .master.cs

  • "alt+c" switch file between .ascx and .ascx.cs

  • "alt+d" switch file between .aspx and .aspx.designer.cs

command mode

  • "gc" switch file between .aspx and .aspx.cs

  • "gc" switch file between .master and .master.cs

  • "gc" switch file between .ascx and .ascx.cs

  • "gd" switch file between .aspx and .aspx.designer.cs

Command Palette

Open the command palette via "ctrl + shift + p", AspNetSwitch appears as "AspNetSwitch: (.aspx .master .ascx)--.cs" "AspNetSwitch: .aspx--.aspx.designer.cs"


License

Copyright (C) 2012 Zhong XingDou

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.