Skip to main content

project_name

Function project_name 

Source
pub fn project_name(workspace_folders: &[String]) -> String
Expand description

The project name shown in the status segment — the basename of the first workspace folder (e.g. /home/me/src/lattice → lattice). Empty when no workspace folder is configured, in which case the project segment is hidden.