In `Edit=>Preferences=>Editor.Features`, I added a checkbox "Comment Blank Line(s)" for issue #2239.
When this option is turned on and when commenting (`Edit=>Format=>Comment Line(s)`) or toggling comments (`Ctrl+E`), blank (empty) line(s) will also be commented.
For example, if you comment this code...
```Ruby
puts <<EOD
EOD
```
..., it will do this:
```Ruby
# puts <<EOD
#
# EOD
```
It should work for Comment, Uncomment, and Toggle. By default, it is off/false.
If this merge is accepted, `doc/geany.html` and the screenshot in this HTML file will need to be updated.
![features](https://user-images.githubusercontent.com/16524392/76850364-3310d600-6882-11ea-94de-b3f4e38585f9.png)
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2452
-- Commit Summary --
* Add "Comment Blank Line(s)" option
-- File Changes --
M data/geany.glade (20)
M doc/geany.txt (11)
M src/callbacks.c (2)
M src/editor.c (2)
M src/editor.h (1)
M src/keyfile.c (2)
M src/prefs.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/2452.patchhttps://github.com/geany/geany/pull/2452.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/pull/2452
Adept language:
https://github.com/AdeptLanguage/Adept
filetypes.Adept.conf
```
# For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
# all items must be in one line
primary=POD alias and as at break case cast continue def default defer delete each else enum external fallthrough for foreign func funcptr global if import in inout new or out packed private public repeat return sizeof static stdcall struct switch typeinfo unless until while va_start va_end va_copy va_arg verbatim void union exhaustive const define namespace using implicit pragma elif llvm_asm thread_local typenameof embed alignof record constructor class virtual override extends assert true false null undef this it idx
secondary=bool ptr byte ubyte short ushort int uint long ulong usize double float String List Array Matrix4f Vector3f FILE va_list successful
[lexer_properties=C]
[settings]
lexer_filetype=Go
tag_parser=Go
# default extension used when saving files
extension=adept
# MIME type
mime_type=text/x-adept
# these characters define word boundaries when making selections and searching
# using word matching options
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
# #command_example();
# setting to false would generate this
# # command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[build-menu]
FT_00_LB=_Compile
FT_00_CM=adept -c "%f"
FT_00_WD=
FT_01_LB=_Build
FT_01_CM=adept "%f"
FT_01_WD=
EX_00_LB=_Run
EX_00_CM="./%e"
EX_00_WD=
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3917
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3917(a)github.com>
Hello!
I had totally forgot that Geany is available for Mac. The small issue which I am facing is that the "open file" dialog does not show me a native file opener dialog. The reason I want the native file opener dialog is that I have bookmarked a lot of things in Finder and I have to dig into a lot of folders to find the folder I want to open with Geany.
Plus, nice work! I was introduced to Geany few years ago, and this being an IDE takes less RAM + battery than normal text editors 👍
--
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/1310
Fresh install on Windows of Geany and Geany plugins with default settings will install Geany to "C:\Users\Username\Geany 2.0" and the plugins to "C:\Users\Username\Geany-Plugins 2.0". In this configuration Geany does not see the plugins. I have to add "C:\Users\Username\Geany-Plugins 2.0\lib\geany" to the "Extra Plugins Path" in Geany preferences, a step which I do not see documented anywhere.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1321
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1321(a)github.com>
This was deliberately disabled, but I'm not sure why. This can be very useful when there is a lot of data.
Needs an update to the docs after #3820 is merged.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3823
-- Commit Summary --
* Enable keyboard searching for Compiler and Messages tree views
-- File Changes --
M src/msgwindow.c (4)
-- Patch Links --
https://github.com/geany/geany/pull/3823.patchhttps://github.com/geany/geany/pull/3823.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3823
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3823(a)github.com>
Hello everyone,
I'm trying to follow the instructions here.
https://www.geany.org/manual/reference/howto.html
But I'm a bit stuck on the files that are required, starting with the geanyplugin.h and where to put them and how to put them there.
I have geany installed with apt, but the headers are not in the include path of gcc, so I looked up which locations that would be and copied just the geanyplugin.h to that location. Now I'm having the same problem with all the headers mentioned in the geanyplugin.h. Copying those manually can't be the right approach, right?
I have not used C in a long time, so if this seems like a simple/obvious question, I apologize, but I would welcome a tip for where to read up on these kinds of issues.
Also if you have a different, preferred communications channel like matrix, irc or discord, please let me know.
Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1357
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1357(a)github.com>