In https://www.geany.org/Support/PluginWishlist there is:
- Expand/collapse if/fi, for/done, while/done in Shellscripts like for functions. - already possible by adding own snippets, check the manual http://www.geany.org/manual/#user-definable-snippets for details.
but it is not clear from the manual how to do it.
From help snippets are about autocompletion so I have not idea how to use it to
do expand/collapse for if/fi, for/done, while/done in Shellscripts ?
BR, Mikowhy
On Fri, 14 Sep 2018 at 05:41, Mikolaj Ch mikich7777@gmail.com wrote:
In https://www.geany.org/Support/PluginWishlist there is:
Expand/collapse if/fi, for/done, while/done in Shellscripts like for functions. - already possible by adding own snippets, check the manual for details.
but it is not clear from the manual how to do it. From help snippets are about autocompletion so I have not idea how to use it to do expand/collapse for if/fi, for/done, while/done in Shellscripts ?
Not sure what the person who made the comment in the wishlist was thinking of. AFAICT the bash lexer folds on comments, {} and here docs.
Cheers Lex
BR, Mikowhy _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Fri, Sep 14, 2018 at 1:04 AM Lex Trotman elextr@gmail.com wrote:
On Fri, 14 Sep 2018 at 05:41, Mikolaj Ch mikich7777@gmail.com wrote:
In https://www.geany.org/Support/PluginWishlist there is:
Expand/collapse if/fi, for/done, while/done in Shellscripts like for
functions. - already possible by adding own snippets, check the manual for details.
but it is not clear from the manual how to do it. From help snippets are about autocompletion so I have not idea how to
use it to do expand/collapse for if/fi, for/done, while/done in Shellscripts ?
Not sure what the person who made the comment in the wishlist was thinking of.
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts The answer to this wish is not clear "already possible by adding own snippets, check the manual for details."
AFAICT the bash lexer folds on comments, {} and here.
docs.
Cheers Lex
BR, Mikowhy _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Fri, 14 Sep 2018 at 12:25, Mikolaj Ch mikich7777@gmail.com wrote:
On Fri, Sep 14, 2018 at 1:04 AM Lex Trotman elextr@gmail.com wrote:
On Fri, 14 Sep 2018 at 05:41, Mikolaj Ch mikich7777@gmail.com wrote:
In https://www.geany.org/Support/PluginWishlist there is:
Expand/collapse if/fi, for/done, while/done in Shellscripts like for functions. - already possible by adding own snippets, check the manual for details.
but it is not clear from the manual how to do it. From help snippets are about autocompletion so I have not idea how to use it to do expand/collapse for if/fi, for/done, while/done in Shellscripts ?
Not sure what the person who made the comment in the wishlist was thinking of.
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts
Folding is provided by the Scintilla (scintilla.org) editing widget Geany uses, you could raise a feature request on that projects issues.
The answer to this wish is not clear "already possible by adding own snippets, check the manual for details."
Yes, thats what I said was not clear.
AFAICT the bash lexer folds on comments, {} and here.
docs.
Cheers Lex
BR, Mikowhy _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Le 14/09/2018 à 04:24, Mikolaj Ch a écrit :
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts
Should be part of next Scintilla version: https://sourceforge.net/p/scintilla/feature-requests/1144/
Regards, Colomban
Am 14.09.18 um 10:48 schrieb Colomban Wendling:
Le 14/09/2018 à 04:24, Mikolaj Ch a écrit :
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts
Should be part of next Scintilla version: https://sourceforge.net/p/scintilla/feature-requests/1144/
We have no concrete plans to migrate to the Scintilla 4.x series do we?
Best regards.
On Sat, 15 Sep 2018 at 18:18, Thomas Martitz thomas.martitz@mailbox.org wrote:
Am 14.09.18 um 10:48 schrieb Colomban Wendling:
Le 14/09/2018 à 04:24, Mikolaj Ch a écrit :
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts
Should be part of next Scintilla version: https://sourceforge.net/p/scintilla/feature-requests/1144/
We have no concrete plans to migrate to the Scintilla 4.x series do we?
I don't think so, besides the compiler versions there are other changes in 4.x that we have commented at the time are possibly problems for Geany (something to do with multiple selections IIRC).
Probably making a branch in git with the change, that can be tested by those with the right compilers and later merged back into master would be the way to begin the process.
Cheers Lex
Best regards.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Le 14/09/2018 à 22:12, Thomas Martitz a écrit :
Am 14.09.18 um 10:48 schrieb Colomban Wendling:
Le 14/09/2018 à 04:24, Mikolaj Ch a écrit :
For me it's quilte clear, and I want the same: to fold if/fi for/done while/done in shellscripts
Should be part of next Scintilla version: https://sourceforge.net/p/scintilla/feature-requests/1144/
We have no concrete plans to migrate to the Scintilla 4.x series do we?
Not yet, but normally there's somebody maintaining the "long term 3" branch of Scintilla, which should have most things backported in a more compatible way. So hopefully that'll get backported there, and we'll get this. Alternatively, we can consider either going to 4.x, or helping with the LongTerm3 maintenance (for lexer changes, it's likely low work).
Regards, Colomban