AspNetSwitch is a Asp.net file switching plugin for Sublime Text 2.
- 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
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.
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.
"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
"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
Open the command palette via "ctrl + shift + p", AspNetSwitch appears as "AspNetSwitch: (.aspx .master .ascx)--.cs" "AspNetSwitch: .aspx--.aspx.designer.cs"
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.