Let LineColumn on StatusBar as clickable to open GoToLineColumn (#9002)
Release Notes: - Added to let LineColumn on StatusBar as clickable to open GoToLineColumn. - Added placeholder to GoToLineColumn input, and show help message on input changed. ## Screenshot 
This commit is contained in:
parent
977af37cfe
commit
5abcc1c3c5
4 changed files with 144 additions and 103 deletions
|
@ -132,7 +132,8 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
|||
let vim_mode_indicator = cx.new_view(|cx| vim::ModeIndicator::new(cx));
|
||||
let feedback_button =
|
||||
cx.new_view(|_| feedback::deploy_feedback_button::DeployFeedbackButton::new(workspace));
|
||||
let cursor_position = cx.new_view(|_| editor::items::CursorPosition::new());
|
||||
let cursor_position =
|
||||
cx.new_view(|_| go_to_line::cursor_position::CursorPosition::new(workspace));
|
||||
workspace.status_bar().update(cx, |status_bar, cx| {
|
||||
status_bar.add_left_item(diagnostic_summary, cx);
|
||||
status_bar.add_left_item(activity_indicator, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue