You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-14 23:26:58 +02:00
Added command auto complete
File based autocompletion is not yet implemented. This will require knowledge of the command, and it's parameters. The autocomplete feture is pretty powerful however, so this should not be very difficult to add.
This commit is contained in:
@@ -206,7 +206,10 @@ class AppGui {
|
||||
};
|
||||
consoleWidget.hide();
|
||||
|
||||
const statusBar = new StatusBarWidget();
|
||||
const statusBar = new StatusBarWidget();
|
||||
this.app().commandNames().then((names)=>{
|
||||
statusBar.setAutoComplete(names);
|
||||
});
|
||||
statusBar.hStretch = true;
|
||||
|
||||
const noteLayout = new VLayoutWidget();
|
||||
@@ -826,4 +829,4 @@ class AppGui {
|
||||
AppGui.INPUT_MODE_NORMAL = 1;
|
||||
AppGui.INPUT_MODE_META = 2;
|
||||
|
||||
module.exports = AppGui;
|
||||
module.exports = AppGui;
|
||||
|
||||
Reference in New Issue
Block a user