[geany/plugins.geany.org] a9d5f0: Add new third-party plugins togglebars and pynav

Dominic Hopf git-noreply at xxxxx
Sat Feb 25 15:05:44 UTC 2017


Branch:      refs/heads/master
Author:      Dominic Hopf <dmaphy at googlemail.com>
Committer:   Dominic Hopf <dmaphy at googlemail.com>
Date:        Sat, 25 Feb 2017 15:05:44 UTC
Commit:      a9d5f0c3a8e034b2e8328712318f23b96c735980
             https://github.com/geany/plugins.geany.org/commit/a9d5f0c3a8e034b2e8328712318f23b96c735980

Log Message:
-----------
Add new third-party plugins togglebars and pynav


Modified Paths:
--------------
    content/pynav.html
    content/togglebars.html
    gencontent.sh
    index.php

Modified: content/pynav.html
87 lines changed, 87 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,87 @@
+<div class="section" id="about">
+<h3>
+About
+</h3>
+<p>
+This plugin makes it easier to navigate a Python codebase.
+</p>
+<p>
+Currently, its only feature is "jump to Python module". It tries to open the source file
+corresponding to a given Python module (dotted path).
+</p>
+</div>
+<div class="section" id="installation">
+<h3>
+Installation
+</h3>
+<p>
+You need Geany 1.27+.
+</p>
+<ol class="arabic simple">
+<li>Install the <a class="reference external" href=
+"http://plugins.geany.org/geanypy.html">GeanyPy</a> plugin. On Debian/Ubuntu, install <tt class=
+"docutils literal"><span class="pre">geany-plugin-py</span></tt> <a class="reference external"
+href="https://bugs.launchpad.net/ubuntu/+source/geany-plugins/+bug/1592928">as well as</a>
+<tt class="docutils literal"><span class="pre">python-gtk2</span></tt>.
+</li>
+<li>Download the latest release from <a class="reference external" href=
+"https://github.com/vfaronov/geany-pynav/releases">github.com/vfaronov/geany-pynav</a>.
+</li>
+<li>Extract <tt class="docutils literal">pynav.py</tt> and put it on your <a class=
+"reference external" href="http://www.geany.org/manual/current/index.html#plugins">Geany plugin
+path</a>, e.g. in <tt class="docutils literal"><span class=
+"pre">~/.config/geany/plugins/</span></tt>.
+</li>
+<li>Open Geany's plugin manager (Tools → Plugin Manager) and enable GeanyPy and Python Navigation.
+</li>
+<li>Click Keybindings to set your preferred key for "Jump to Python module". (This is
+optional: you can also invoke it from the Tools menu.)
+</li>
+</ol>
+</div>
+<div class="section" id="usage">
+<h3>
+Usage
+</h3>
+<p>
+When you press the chosen keybinding (or invoke Tools → Jump to Python module), the plugin first
+tries to figure out which Python module name (dotted path) you wish to look up:
+</p>
+<ol class="arabic simple">
+<li>if there is some selected text in the current document, then it is used;
+</li>
+<li>otherwise, if the cursor is on a line beginning with <tt class="docutils literal">import X</tt>
+or <tt class="docutils literal">from X</tt>, then <tt class="docutils literal">X</tt> is used;
+</li>
+<li>otherwise, you are prompted to enter the dotted path manually.
+</li>
+</ol>
+<p>
+Then the plugin tries to find the file corresponding to that module name. For example, if the
+dotted path is <tt class="docutils literal">foo.bar</tt>, the plugin looks for <tt class=
+"docutils literal">foo/bar.py</tt> or <tt class="docutils literal">foo/bar/__init__.py</tt> in a
+few places around the current document.
+</p>
+<p>
+You can also configure the search path on a per-project basis. To do so, open your Geany project
+file (the one whose name ends in <tt class="docutils literal">.geany</tt>) and add a section like
+this:
+</p>
+<pre class="literal-block">
+[pynav]
+path=/home/user/project/src:/home/user/project/lib
+</pre>
+<p>
+then restart Geany (reopen the project). The format is similar to that for <tt class=
+"docutils literal">PYTHONPATH</tt>.
+</p>
+</div>
+<div class="section" id="contact-developers">
+<h3>
+Contact developers
+</h3>
+<p>
+This plugin is on GitHub: <a class="reference external" href=
+"https://github.com/vfaronov/geany-pynav">https://github.com/vfaronov/geany-pynav</a>
+</p>
+</div>


Modified: content/togglebars.html
66 lines changed, 66 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,66 @@
+<div class="section" id="about">
+<h3>
+About
+</h3>
+<p>
+This plugin shows and hides the Geany menu and status bars on a keystroke.
+</p>
+<p>
+Most of the time, when using Geany, I don't need the menu and status bars; they are just noise. But
+occasionally I want to check the status bar (e.g. for the line/column number) or browse the menu.
+So I want to toggle their visibility with a keystroke.
+</p>
+</div>
+<div class="section" id="installation">
+<h3>
+Installation
+</h3>
+<p>
+You need Geany 1.27+.
+</p>
+<ol class="arabic simple">
+<li>Make sure that "Show status bar" (Geany preferences → Interface → Miscellaneous) is
+<strong>enabled</strong>.
+</li>
+<li>Install the <a class="reference external" href=
+"http://plugins.geany.org/geanypy.html">GeanyPy</a> plugin. On Debian/Ubuntu, install <tt class=
+"docutils literal"><span class="pre">geany-plugin-py</span></tt> <a class="reference external"
+href="https://bugs.launchpad.net/ubuntu/+source/geany-plugins/+bug/1592928">as well as</a>
+<tt class="docutils literal"><span class="pre">python-gtk2</span></tt>.
+</li>
+<li>Download the latest release from <a class="reference external" href=
+"https://github.com/vfaronov/geany-togglebars/releases">github.com/vfaronov/geany-togglebars</a>.
+</li>
+<li>Extract <tt class="docutils literal">togglebars.py</tt> and put it on your <a class=
+"reference external" href="http://www.geany.org/manual/current/index.html#plugins">Geany plugin
+path</a>, e.g. in <tt class="docutils literal"><span class=
+"pre">~/.config/geany/plugins/</span></tt>.
+</li>
+<li>Open Geany's plugin manager (Tools → Plugin Manager) and enable GeanyPy and Toggle Bars.
+</li>
+<li>Select Toggle Bars, click Keybindings, and set your preferred key for "Toggle menu and
+status bars".
+</li>
+</ol>
+</div>
+<div class="section" id="usage">
+<h3>
+Usage
+</h3>
+<p>
+Just press your configured keybinding to toggle the menu and status bars.
+</p>
+<p>
+Because it's so useful to see the progress bar during a build, the status bar will be automatically
+shown whenever the progress bar is shown (and hidden afterwards).
+</p>
+</div>
+<div class="section" id="contact-developers">
+<h3>
+Contact developers
+</h3>
+<p>
+This plugin is on GitHub: <a class="reference external" href=
+"https://github.com/vfaronov/geany-togglebars">https://github.com/vfaronov/geany-togglebars</a>
+</p>
+</div>


Modified: gencontent.sh
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -68,7 +68,7 @@ LOGDIR=${WORKDIR}"gencontent_logs/"
 
 # plugins to exclude from the nightly re-generation via rst2html because they
 # have a separate HTML page not generated from the README file
-declare -a EXCLUDE_PLUGINS=( geanylatex geanylua jsonprettifier quick_open_file sendmail )
+declare -a EXCLUDE_PLUGINS=( geanylatex geanylua jsonprettifier quick_open_file sendmail togglebar pynav )
 
 RST2HTML=$(which rst2html)
 TIDY=$(which tidy)


Modified: index.php
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -73,6 +73,8 @@
 			<li><a href="https://sourceforge.net/projects/geanyhighlightselectedword/">GeanyHighlightSelectedWord</a></li>
 			<li><a href="jsonprettifier.html">JSON Prettifier Plugin</a></li>
 			<li><a href="quick_open_file.html">Geany Quick Open File Plugin</a></li>
+			<li><a href="togglebars.html">Togglebars</a></li>
+			<li><a href="pynav.html">pynav</a></li>
 		</ul>
 
 		<hr />



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list