Repository navigation
Focus 0.3.9 #688
focus-editor
announced in
Announcements
Focus 0.3.9
#688
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
New features:
Ctrl/Cmdto open on the side,Ctrl-1to open on the left,Ctrl-2to open on the rightswitch_to_pane_1(Ctrl-1) toswitch_to_pane_9(Ctrl-9) commandsswitch_to_(left|right|top|bottom)_pane(by defaultCtrl-Alt-Shift-Arrow(Left|Right|Up|Down))move_editor_(left|right|top|bottom)(by defaultCtrl-Alt-S Arrow(Left|Right|Up|Down))split_(left|right|top|bottom)(by defaultCtrl-Alt-X Arrow(Left|Right|Up|Down))duplicate_editor_(left|right|top|bottom)(by defaultCtrl-Alt-D Arrow(Left|Right|Up|Down))rotate_panes_clockwiseandrotate_panes_counterclockwiseto rearrange panesclose_pane,close_other_panesorclose_(left|right|top|bottom)_paneto close panesgo_to_previous_buffer(Ctrl-PageUpby default) orgo_to_next_buffer(Ctrl-PageDown) to switch between buffers in the paneSwitch Between Open Filesswitches to the existing editor in its pane instead of opening another view of the filekeep_editorcommand):enable_temporary_editorstofalseto disable this behaviour if neededcenter_pane_splitterandcenter_all_pane_splitters.toggle_expandthe splitter would be centered, but now it will return to its previous position, which is why a separate command for centering might be usefultoggle_pane_numbers- use to temporarily switch pane numbers on or off.toggle_indent_guides- use to temporarily switch indent guides on or off (thanks @fbjerno)keep_editor- make a temporary editor permanentreopen_closed_editorclose_all_editorsandclose_other_editors_in_panesort_lines- sort the selected lines (thanks @hovsater)copy_current_file_path- copy the full path of the current file (thanks @LainLayer)rename_current_file- an alias formove_current_filetoggle_status_bar- use to temporarily show or hide the status bar (thanks @nick-celestin-zizic)cursor_position_after_jump(defaults to0.45) - controls where the cursor will end up after jumping to a search result 0.0 is top, 1.0 is bottomclosing_last_editor_in_pane_should_close_pane(defaults totrue)closing_last_editor_should_exit_program(defaults tofalse)show_pane_numbers(defaults tofalse) - set totrueto always display pane numbers next to file infoshow_tab_characters_in_selection(defaults totrue) - set tofalseto always hide tab characters (thanks @fbjerno)active_pane_border_width(defaults to1.0) - set to0.0to disable the border or set to a value larger than1.0to make it thickerinactive_pane_dim_overlay_opacity(defaults to0.0) - controls how dim the inactive panes should be. Set to a value between0.0and1.0to see the dim overlaycomment_highlight_words1-comment_highlight_words4can be used to put words into 4 different groups to highlight them with 4 different colorsscroll_behind_first_line(defaults tofalse) - allow scrolling above the start of a file (thanks Kuju)search_max_results(defaults to4000) - maximum number of workspace search resultsinactive_pane_dim_overlayactive_pane_bordercode_comment_highlight1-code_comment_highlight4code_addition,code_deletion,region_additionandregion_deletionfor patch/diff highlighting (thanks @SentientCoffee)Hashcan now be used in keybinds for the#key on layouts such as German (thanks @LainLayer)%FILE_LINE%and%FILE_COLUMN%(thanks @fda0)line_endings(options:preserve,lf,crlf)convert_buffer_to_crlf,convert_buffer_to_lfline_endings_convert_buffer_to_crlfandline_endings_convert_buffer_to_lfBug fixes:
change caseactions couldn't be undone (thanks @fda0).inisection headers or incomplete XML declarations#stringat the end of a fileCmd-RandCmd-Yshortcuts for removing and skipping selection matchesOther changes:
.tppfiles now use C++ syntax highlighting (thanks @fbjerno)<style>tags andstyleattributes (thanks @caztanj)nullptr,_BitIntand#embed(thanks @LainLayer), as well asconstexprandthread_local. C and C++ now highlightssize_t#all_or_none,#simpleand#must_tail(thanks @LainLayer)#existsand#overlay(thanks Nathaniel Taulbut for#overlay), and improved function call and modifier highlighting (thanks @myri4)cursor_line_highlightandcolor_preview_title_barfor more granular control (thanks @NotKyon)build_panel_toggle->toggle_build_panelbuild_panel_toggle_focus->toggle_build_panel_focusbuild_toggle_build_panelandbuild_toggle_build_panel_focussearch_in_project->search_in_workspace,reload_from_disk->reload_file_from_diskmove_to_previous_editor_history->cursor_go_back,move_to_next_editor_history->cursor_go_forwardincrease_font_size->zoom_in,decrease_font_size->zoom_out,reset_font_size_to_default->reset_zoomclose_current_editor->close_editor. The oldclose_other_editor,close_left_editorandclose_right_editoractions were replaced by pane commandsprefer_system_file_dialogsnow works on macOS (thanks @caztanj)move{left|right}_through_word_throttledwill now stop at newline*.focus-configfile as its project config provided it's the only config file in that directory (previously it was a hard requirement that the file was called exactly.focus-config)-projectto load it. Opening individual files from the command line doesn't reopen the most recent project-projectnow recognizes.focus-configextensions regardless of case^or$to anchor a match, e.g..cpp$or^node_modules$search_is_case_sensitive_when_uppercase_presentCtrl-F(Cmd-Fon macOS) now opens dropdown search by default. UseAlt-F(Cmd-Opt-Fon macOS) for the other in-file search modeShift-EnterandShift-NumpadEnternow break the line by defaultCtrl-PageUpandCtrl-PageDownnow switch between editors in a pane, replacingCmd-Shift-MinusandCmd-Shift-PlusEscapenow also clears the selection if there is nothing else to dismissBuild Command:in the command palettemax_editor_widthis set, clicking outside the text area still activates the panetoggle_line_numbersandtoggle_indent_guidestemporarily override per-file settings across paneseditor_history_sizeanddisable_file_open_close_animationssettings. Renamed the theme colorcode_headertocode_header10.2.029. Source builds support metaprogram plugins and can target Apple Silicon natively on macOS (thanks @caztanj)This discussion was created from the release Focus 0.3.9.
All reactions