Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
improvements for the title bar text and file path navigation
#1
Suggested improvements for the title bar text and file path navigation:

1. Add the filename of the currently edited script to the title bar text, as indicated by the red box in the image.
2. Add a path navigation feature similar to that in Visual Studio Code (VSC) to the blank area on the right side of the menu bar, as shown by the purple box in the image.
3. Right-clicking on a menu item for a file or folder allows you to locate that item in the file explorer.

The path navigation bar in VSC is very powerful; it can replace many existing features in the current LINQPad. This navigation feature is often more intuitive and convenient than the file list in many situations.
   

Demonstration of Path Navigation Feature in Visual Studio Code (VSC).
https://i.ibb.co/b62XTSc/VSC.gif
#2
the title change can easy be achieved by running this script when LA started
 
Code:
Copy      Help
/*/ role editorExtension; testInternal Au.Editor; r Au.Editor.dll; r Au.Controls.dll; /*/

var filesPanel = Panels.Files.TreeControl;

filesPanel.SelectionChanged += (o, e) => {
    ScriptEditor
        .MainWindow()
        .SetText(
            filesPanel?.SelectedItem?.DisplayText != null
                ? $"LibreAutomate - {filesPanel.SelectedItem.DisplayText}"
                : "LibreAutomate"
        );
};


Forum Jump:


Users browsing this thread: 1 Guest(s)