Skip to content

Commit 7b0e0c9

Browse files
README update
README update close open files before opening a new story README update README update typo another readme update
1 parent 64c8bc3 commit 7b0e0c9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Agile
22
======
3+
ST2 allows users to create projects but offers no mechanism for saving a particular workspace with-in that project. This can become a problem if you find yourself working on multiple stories involving dozens of files at once. Agile allows you to save a window and associate its state with a Sprint and Story name that can then be retrieved at a later date. That's about it.
4+
5+
Installation
6+
----------
7+
- Easy: via [Package Control](http://wbond.net/sublime_packages/package_control)
8+
- Super-hard: clone repo to your /Sublime Text 2/Packages directory
39

410
Basic Flow
511
----------
@@ -19,7 +25,5 @@ Agile can automatically open the jira ticket associated with your story if 2 cri
1925
- You must name your jira story identically to its jira url slug. ie) https://example.jira.com/browse/my-story would need to be saved as 'my-story'
2026

2127
### TODO:
22-
- refactor python code
23-
- support for ST3?
24-
- error handling here and there
25-
- Package up for Package Control
28+
- support for ST3
29+
- error handling here and there

StoryManager.py

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ def sprint_selected(self, index):
149149
# open the views
150150
def story_selected(self, index):
151151
w = self.window
152+
# close any already open files
153+
w.run_command('close_all')
152154
if index != -1:
153155
self.story_path = self.story_paths[index]
154156
if self.prefs['jira_root'] != 'https://example.jira.com':

0 commit comments

Comments
 (0)