[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
@StrayFeral adding extra build menu entries is possible but is not dynamic, 
look at the Geany wiki, there is a small thesis on configuring the build menu, 
it even explains the file format so after studying that you are qualified to 
edit it if you _really_ need to ;-).

Note that due to limitations of the implementation of the keybinding prefs as a 
fixed menu it is not possible to bind shortcuts to additional build items, but 
you can use accelerators.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016966519
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Enrico Tröger via Github-comments
Closed #1319 as not planned.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#event-12227163281
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Enrico Tröger via Github-comments
Duplicate of [#3295](https://github.com/geany/geany/issues/3295). There are 
some ideas on how to implement it but it still needs someone to do it :).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016881883
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
Yes, I told you I was looking there, but I don't see my menu item there.

Also there is no "New" button, there is only "Change" button which means I 
could only change existing menu items.

In the entire "Build" menu my item is not there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016787608
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread elextr via Github-comments
Would be better if you didn't play with files you don't understand, just use 
the GUI "set build commands" menu items.

See "Edit->preferences->keybindings" for setting keybindings.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016770166
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
PS: I experimented by moving the _Pythonic format from he EX_01_blah to 
FT_02_blah (no idea what FT and EX stand for). Result is the menu item just got 
under "Lint", but no keybinding assigned. I tried also Edit > Preferences > 
Keybindings, but I don't see it there.

Hope you could help.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016756298
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-24 Thread Evgueni Antonov via Github-comments
As you mentioned in #3799 as a workaround, on linux several commands could be 
executed by separating with semi-colon. So I did it.

So this now works for me as a workaround. However I still need a little help - 
I don't understand how Geany decides to automatically assign a keybinding to a 
certain menu item. For example the Lint build menu command automatically got F9 
assigned to it.

Is there a way for me to specify a keybinding to a certain menu item OR at 
least could you let me know how Geany does automatically this, because I want 
my new "python formatting" menu item to get a keybinding. Point is - until I 
wait for someone to implement this in the "AutoSave actions" (if ever 
implemented), to have at least being run by a keystroke, rather than clicking 
with the mouse trough the menu.

So in my situation I have a build menu item "Pythonic format" (written exactly 
like this) and at least I want to execute it with let's say F10 or CTRL+F9, 
something like this.

Hope you could help. Thanks

By the way this is exactly what my Python build menu is:
`[build-menu]
FT_01_LB=_Lint
FT_01_CM=flake8 "%f";mypy "%f"
FT_01_WD=
FT_02_LB=
FT_02_CM=
FT_02_WD=
EX_01_LB=Pythonic format
EX_01_CM=black "%f";isort "%f"
EX_01_WD=`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016753975
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request - extend plugin Save Actions - code fixers (Issue #1319)

2024-03-23 Thread elextr via Github-comments
A well written pull request might be accepted by the Save actions maintainer.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1319#issuecomment-2016665255
You are receiving this because you are subscribed to this thread.

Message ID: