Comments (7)
A well written pull request might be accepted by the Save actions maintainer.
from geany-plugins.
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=
from geany-plugins.
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.
from geany-plugins.
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.
from geany-plugins.
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.
from geany-plugins.
Duplicate of #3295. There are some ideas on how to implement it but it still needs someone to do it :).
from geany-plugins.
@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.
from geany-plugins.
Related Issues (20)
- Anyone happen to know if there's JSpath (HTML path) plugin?
- Geany crashes loading the Markdown plugin - GBM-DRV error HOT 2
- geany-plugins-debugger: can we attach to exiting process? HOT 1
- Markdown preview shows nothing HOT 16
- 2.0.0: build fails end compile time warnings HOT 10
- 2.0.0: test suite fails with cppcheck 2.13.1 (unrecognized command line option: "--template") HOT 3
- How to install markdown plugin on Mac M1 HOT 6
- Is it possible to open "spelling suggestions" menu using keyboard ? HOT 3
- Add a typst plugin HOT 4
- SVG and X3D markup languages HOT 4
- Make updatechecker plugin for MacOS HOT 17
- BUG during tab-browsing with the keyboard in the sidebar when a new tab is in the sidebar HOT 5
- A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus HOT 6
- Default plugins folder incorrect / not found HOT 1
- Line Operations plugin outputs "Value: 0" to terminal when Geany launches HOT 3
- overview causes geany to crash when crating a new file and clicking in the file area. HOT 7
- plugin idea: cyclomatic complexity somewhere near the functionname in the symbol list. HOT 1
- help with plugin writing docs HOT 5
- GeanyGenDoc crash HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geany-plugins.