Project switching and opening using the Workbench plugin becomes possible with this PR in two different ways:
1. Choose _"Select/Unselect project"_ from the popup menu
1. Enable option _"Enable auto-open project by document"_ in the Workbench settings
Method 1 allows switching and opening a project by explicitly choosing _"Select/Unselect project"_ from the popup menu in the Workbench sidebar.
If method 2 is enabled then a project is automatically switched to/opened if a document belonging to the project is opened or activated. This functionality is suppressed as long as a project is explicitly selected by method 1.
:exclamation: **This PR requires https://github.com/geany/geany/pull/2234. So please do NOT merge it until the Geany-PR is merged.** :exclamation:
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/890
-- Commit Summary --
* Workbench: added support for project switching
-- File Changes --
M workbench/README (17)
M workbench/src/dialogs.c (28)
M workbench/src/idle_queue.c (6)
M workbench/src/idle_queue.h (3)
M workbench/src/plugin_main.c (30)
M workbench/src/popup_menu.c (59)
M workbench/src/sidebar.c (45)
M workbench/src/sidebar.h (1)
M workbench/src/wb_project.c (32)
M workbench/src/wb_project.h (2)
M workbench/src/workbench.c (156)
M workbench/src/workbench.h (6)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/890.patchhttps://github.com/geany/geany-plugins/pull/890.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/890
When a piece of tabbed code is sent to terminal with Python then it runs OK, but when exactly the same code is sent to terminal with IPython, then Geany adds extra indentation to each line.
Example: code in Terminal with Python:
`>>> def my_function(x):
... #bla-bla-bla
... y = x + x
... return x
...
`
while the same code sent in Terminal with IPython appears as
`In [1]: def my_function(x):
...: #bla-bla-bla
...: y = x + x
...: return y
`
which results in `IndentationError: unexpected indent`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2238