W2P
Sublime Text 3 web2py plugin WIP, not production ready yet
Details
Installs
- Total 548
- Win 256
- Mac 86
- Linux 206
Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 1 | 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 | 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 |
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
- bitbucket.org
README
A simple web2py plugin for Sublime Text 3.
I started to develop this plugin because I use both applications on daily basis and I'd like to leave Sublime as little as possible
I hope you will find the plugin as useful as I do
What is this repository for?
- This repository holds the web2py plugin for Sublime Text 3 called W2P
- V 0.3.1
How do I get set up?
- Through package control
- Open Sublime Text
- Start package control*
- Search W2P and install
- Add a web2py application folder to Sublime Text 3 to make the plugin work
- Restart Sublime Text
- Manual
- Clone this repo
- Copy the content into your Sublime Text 3 Packages directory
- Open Sublime Text 3
- Go to Preferences menu
- Choose Browse Packages
- Add a web2py application folder to Sublime Text 3 to make the plugin work
- Restart Sublime Text
The plugin is developed on Windows7/Ubuntu 15.04
It is tested on those environtments. If you have a mac and would like to test I would be very appreciated for any feed back
Features
- Start web2py web server
- Port, password, cert, key can be configured in settings
- Stop web2py web server
- Automatically restart web server if a module file is modified (manual restart also possible)
- Clear web2py application errors (deletes files from application/errors folder)
- Run tests from specific folder in web2py environtment uses (web2py -S {app} -M -R test_file.py)
- You can specify a test location in settings, or if non provided the following folders will be checked:
- {app}/tests
- web2py/tests/{app}
- You can specify a test location in settings, or if non provided the following folders will be checked:
- Setup SublimeREPL integration for web2py {app} if the plugin is installed (Interactive web2py shell from Sublime)
- Open view file associated with the function under the cursor
- Insert models + modules as
from {model/module} import *
after aif False:
to prevent run but to make Sublime auto completion aware
Contribution guidelines
If you would like to contribute fork the repo and submit a pull request If you would like to see any feature please open an enhancement ticket with your feature request
I would like to say thank you to
All Sublime Text developrs (Unfortunately I don't know names :()
Massimo Di Pierro and all the contributors for web2py
Oscar Campos (DamnWidget) for Anaconda plugin which helped me a lot to write my own
Will Bond for his article on Tutsplus.com and Package Control
Wojciech Bederski for SublimeREPL plugin
at last but not least:
Fred Kornyev who gave me time beside my daily tasks at work and also helps with testing the plugin
Who do I talk to?
If you have any question feel free to use the issue tracker or contact me directly via e-mail: gergelyo@gmail.com