This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
Releases: zrzka/blackmamba
Releases · zrzka/blackmamba
1.3.0
1.3.0 (2017-10-19)
- Pythonista 3.1.1 (311014)
- Compatibility check with 311014
- Shortcuts
Cmd W
,Ctrl [Shift] Tab
work
- Trashed
Cmd Q
shortcut (workaround for 311013) - Open Quickly supports File System Provider bookmarks
- You can search / open files added to Pythonista via
Open...
(External files) - These files are added as bookmarks (iOS terminology)
- If cell subtitle starts with
Documents
, it's a file from~/Documents
- If cell subtitle starts with
Bookmark
, it's a file from FSP
- You can search / open files added to Pythonista via
1.2.2
1.2.2 (2017-10-18)
- Bundled
lib/pep8
removed, unused - Fixed
get_actions
(exception when user has no custom actions) - Pythonista 3.1.1 (311013)
- Compatibility check with 311013
- Shortcuts
Cmd W
,Ctrl Tab
,Ctrl Shift Tab
no longer work (1) - Shortcuts
Cmd 1..9
,Cmd Shift ]
,Cmd Shift [
,Cmd Shift W
still work
(1) Pythonista 311013 provides these shortcuts natively. Unfortunately,
they do not work. Also these shortcuts are provided elsewhere in the
responder chain, so, even if I register them via the Black Mamba, responder
chain catches them sooner then Black Mamba and they do not work.
All these shortcuts do work prior to 311013. If you have 311013 installed, you
can use Cmd Q
to close tab (temporary) and Cmd Shift ]
/ Cmd Shift [
to show next / previous tab.
1.2.1
1.2.1 (2017-10-11)
- Bundled packages links and licenses
ide.run_script
respectsdelay
argument (did contain hardcoded value)- Analyze script documentation mentions
flake8
- Drag & Drop script
- Children nodes are lazy-loaded (faster)
- Dropped folder reloads ...
- Target row if not expanded (to display triangle)
- Children nodes (dropped folder appears if it didn't exist before drop)
- Show documentation
- Do not show picker / docstring if symbol was found, but it has no docstring
1.2.0
1.2.0 (2017-10-10)
.uikit.overlay
introduced which allows Black Mamba to display information as overlays- Overlays are Pythonista app overlays (visible in editor, console, ...)
.ide.theme
introduced to get some theme functionality- Show documentation script leverages new overlays
- Overlay can be closed via
Ctrl W
shortcut - Overlay can be moved (title bar)
- Overlay can be resized (drag bottom left/right corner)
- Script is configurable, see docs
- See screenshot (reuse disabled)
- Overlay can be closed via
1.1.0
1.1.0 (2017-10-05)
- Dropped PyPI packaging
- Black Mamba provides own / updated modules to provide new functionality
- This is not compatible with
pip
at all, thus this installation method is no longer supported - Latest Black Mamba release in PyPI is 1.0.2
- Find usages contains symbol name in the dialog title
- Jump to definition contains symbol name in the dialog title
- Show documentation contains symbol name in the dialog title
tab.open_file
has newline
argument- Jump to definition, Find usages utilizes
tab.open_file
instead ofeditor
's one
- Jump to definition, Find usages utilizes
- Analyze script does use bundled
flake8
, 'mccabe`, ...- See documentation to check how to configure it
- First pass defaults are
['--select=E901,E999,F821,F822,F823']
- Second pass defaults are
['--max-complexity=10', '--max-line-length=127']
- Open quickly, ... filter is case insensitive
1.0.2
1.0.1
1.0.0
- Development status changed to
5 - Production/Stable
- Fixed programming language classifier (Python 3.6)
- Detailed documentation available at blackmamba.readthedocs.io
- Contains About, User Guide, Reference, Contribution, Development and FAQ
- If you're just Black Mamba user, read User Guide
- If you'd like to use Black Mamba functions, read Reference
- Dialogs
- Keyboard shortcut to close dialogs (
Ctrl [
) replaced withCmd .
(Apple one) - Default width is 80% of window width (max 700)
- Default height is 80% of window height
- Keyboard shortcut to close dialogs (
- Open, run, action, ... dialogs
- Properly sorted items (by lowercased file names)
- Filtering works on folders too
bl __init
matches any file where full path does containbl
and__init
- Folders up to
~/Documents
are not matched, only subfolders of~/Documents
- Drag & Drop
- New way how a folder / file is provided
- Works with Kaleidoscope for example
- Still compatible with Working Copy
- All opened files are listed in the dialog
- Open Quickly
- If file is already opened, tab with file is selected
- Find usages
- It actually did show definitions instead of usages, fixed
- Some other bugfixes I can't recall now
0.0.27
- Drag provider trashed (
Cmd E
) - Drag & Drop introduced (
Cmd E
)- Allows bidirectional drag & drop of files & folders & repos
- List of ignored folders is configurable via
drag_and_drop.ignored_folders
, check config.py for default values - Can be used as wrench menu icon (
script/drag_and_drop.py
)
There's one limitation (will be fixed). Whenever you drop folder from Working Copy, UI isn't updated and you have to close Drag & Drop window and open it again to see this folder.
0.0.26
- Jump to definition fixes
- Jedi - ignore definitions if there's no path & line number
blackmamba.project
trashed (replaced with Jedi, thanks to @JonB)- Jump to definition shortcut synced with Xcode (
Control Command J
) - Find usages added (
script/find_usages.py
&Control Command U
) - Show documentation (
script/show_documentation.py
&Control Command ?
)- Displayed as
success
annotation on the current line - You can clear annotation with
Cmd Shift K
(already there)
- Displayed as
- All these three featues does
jedi
now. Jedi is not thread safe and
because I had not lot of time to investigate how and when is the Jedi
used by Pythonista, I decided to disable these three features by
default. To enable them, just setgeneral.jedi
toTrue
when
passing configuration to themain
.
BTW this .
notation is a shortcut for documentation and you have to pass
it as dictionary:
config = {
'general': {
'jedi': True
}
}
blackmamba.main(config)