From fd7a4d56b340ac337b37cacdfb0ab9df66f108e6 Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Fri, 2 Aug 2024 21:09:25 +0200 Subject: [PATCH] :zap: geany improvements --- .config/geany/filedefs/filetypes.Less.conf | 2 +- .../geany/filedefs/filetypes.TypeScript.conf | 3 +++ .config/geany/filedefs/filetypes.Vue.conf | 2 +- .config/geany/filedefs/filetypes.javascript | 17 +++++------------ .config/geany/filetype_extensions.conf | 2 +- .config/geany/geany.conf | 10 +++++----- .config/geany/keybindings.conf | 19 ++++++++++++++----- 7 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.config/geany/filedefs/filetypes.Less.conf b/.config/geany/filedefs/filetypes.Less.conf index f30b69c..80bb3fd 100644 --- a/.config/geany/filedefs/filetypes.Less.conf +++ b/.config/geany/filedefs/filetypes.Less.conf @@ -4,7 +4,7 @@ primary=@import @media @font-face @keyframes @viewport @-webkit-keyframes @-moz- secondary=absolute all and animate auto background background-attachment background-color background-image background-position background-repeat background-size border border-bottom border-color border-left border-radius border-right border-style border-top border-width bottom box-shadow break-word clearfix color column count cursor display fixed float font font-family font-size font-weight height inline-block inline-table left letter-spacing line-height list-style margin margin-bottom margin-left margin-right margin-top max max-height max-width min min-height min-width none opacity overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top position relative repeat right size solid static table text-align text-decoration text-transform top transform transition transparent underline vertical-align visibility visible white-space width z-index [lexer_properties=CSS] -lexer.css.scss.language=1 +lexer.css.less.language=1 [settings=CSS] lexer_filetype=CSS diff --git a/.config/geany/filedefs/filetypes.TypeScript.conf b/.config/geany/filedefs/filetypes.TypeScript.conf index 30eeab1..45bf2ec 100644 --- a/.config/geany/filedefs/filetypes.TypeScript.conf +++ b/.config/geany/filedefs/filetypes.TypeScript.conf @@ -4,7 +4,10 @@ primary=abstract as any async await boolean break case catch class const constru secondary=Array ArrayBuffer Boolean constructor DataView Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error eval EvalError Float32Array Float64Array Function hasOwnProperty Infinity Int16Array Int32Array Int8Array isFinite isNaN isPrototypeOf JSON Map Math NaN Number Object parseFloat parseInt Promise propertyIsEnumerable Proxy RangeError ReferenceError Reflect RegExp Set String Symbol SyntaxError toLocaleString toString TypeError Uint16Array Uint32Array Uint8Array Uint8ClampedArray undefined URIError valueOf WeakMap WeakSet [lexer_properties=C] +# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexCPP.cxx#L363 lexer.cpp.backquoted.strings=1 +lexer.cpp.allow.dollars=1 +lexer.cpp.escape.sequence=1 [settings] extension=ts diff --git a/.config/geany/filedefs/filetypes.Vue.conf b/.config/geany/filedefs/filetypes.Vue.conf index 5a17652..d49175a 100644 --- a/.config/geany/filedefs/filetypes.Vue.conf +++ b/.config/geany/filedefs/filetypes.Vue.conf @@ -14,6 +14,6 @@ comment_use_indent=true context_action_cmd= [lexer_properties] -lexer.xml.allow.scripts=1 +# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexHTML.cxx#L745 lexer.xml.allow.singletags=1 styling.within.preproc=1 diff --git a/.config/geany/filedefs/filetypes.javascript b/.config/geany/filedefs/filetypes.javascript index 4d253c5..dbe3f09 100644 --- a/.config/geany/filedefs/filetypes.javascript +++ b/.config/geany/filedefs/filetypes.javascript @@ -1,19 +1,12 @@ -[styling=C] -[keywords] -primary=abstract await boolean break byte case catch char class const continue debugger default delete do double else enum export extends false final finally float for function goto if implements import in instanceof int interface let long native new null package private protected public return short static super switch synchronized this throw throws transient true try typeof var void volatile while with yield -secondary=Array ArrayBuffer Boolean DataView Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error eval EvalError Float32Array Float64Array Function hasOwnProperty Infinity Int16Array Int32Array Int8Array isFinite isNaN isPrototypeOf JSON Map Math NaN Number Object parseFloat parseInt Promise propertyIsEnumerable Proxy RangeError ReferenceError Reflect RegExp Set String Symbol SyntaxError toLocaleString toString TypeError Uint16Array Uint32Array Uint8Array Uint8ClampedArray undefined URIError valueOf WeakMap WeakSet - [lexer_properties=C] -#~ # partially handles ES6 template strings +# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexCPP.cxx#L363 lexer.cpp.backquoted.strings=1 +lexer.cpp.allow.dollars=1 +lexer.cpp.escape.sequence=1 [settings] extension=js #~ lexer_filetype=C lexer_filetype=ActionScript -mime_type=text/x-typescript -wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 -comment_single=// -comment_open=/* -comment_close=*/ -comment_use_indent=true \ No newline at end of file + +wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 \ No newline at end of file diff --git a/.config/geany/filetype_extensions.conf b/.config/geany/filetype_extensions.conf index ee89846..a8b3533 100644 --- a/.config/geany/filetype_extensions.conf +++ b/.config/geany/filetype_extensions.conf @@ -76,7 +76,7 @@ Stylus=*.styl; #Swift=*.swift; #Tcl=*.tcl;*.tk;*.wish;*.exp; #Txt2tags=*.t2t; -TypeScript=*.ts;*.tsx; +TypeScript=*.ts;*.tsx;*.d.ts; SCSS=*.scss SVG=*.svg #Vala=*.vala;*.vapi; diff --git a/.config/geany/geany.conf b/.config/geany/geany.conf index 8bc7e09..95b79a1 100644 --- a/.config/geany/geany.conf +++ b/.config/geany/geany.conf @@ -139,7 +139,7 @@ pref_main_project_session=true use_native_windows_dialogs=false treeview_position=245 msgwindow_position=744 -geometry=1280;26;1277;1026;0; +geometry=0;26;1920;1054;1; use_native_dialogs=true [tools] @@ -174,7 +174,7 @@ colour_fore=#DEDDDA colour_back=#2B2B2B send_cmd_prefix= send_selection_unsafe=false -last_dir=/home/jaandrle/Vzdálené/GitHub/deka-dom-el/src +last_dir=/home/jaandrle/Vzdálené/GitHub/Facilitator-App-Native [build-menu] number_ft_menu_items=0 @@ -221,13 +221,13 @@ position_fif_y=-1 [plugins] load_plugins=true custom_plugin_path= -active_plugins=/usr/lib/x86_64-linux-gnu/geany/addons.so;/usr/lib/x86_64-linux-gnu/geany/autoclose.so;/usr/lib/x86_64-linux-gnu/geany/automark.so;/usr/lib/x86_64-linux-gnu/geany/commander.so;/usr/lib/x86_64-linux-gnu/geany/export.so;/usr/lib/x86_64-linux-gnu/geany/geanyctags.so;/usr/lib/x86_64-linux-gnu/geany/htmlchars.so;/usr/lib/x86_64-linux-gnu/geany/keyrecord.so;/usr/lib/x86_64-linux-gnu/geany/geanymacro.so;/usr/lib/x86_64-linux-gnu/geany/filebrowser.so;/usr/lib/x86_64-linux-gnu/geany/projectorganizer.so;/usr/lib/x86_64-linux-gnu/geany/saveactions.so;/usr/lib/x86_64-linux-gnu/geany/vimode.so; +active_plugins=/usr/lib/x86_64-linux-gnu/geany/addons.so;/usr/lib/x86_64-linux-gnu/geany/autoclose.so;/usr/lib/x86_64-linux-gnu/geany/automark.so;/usr/lib/x86_64-linux-gnu/geany/commander.so;/usr/lib/x86_64-linux-gnu/geany/export.so;/usr/lib/x86_64-linux-gnu/geany/geanyextrasel.so;/usr/lib/x86_64-linux-gnu/geany/geanyctags.so;/usr/lib/x86_64-linux-gnu/geany/htmlchars.so;/usr/lib/x86_64-linux-gnu/geany/keyrecord.so;/usr/lib/x86_64-linux-gnu/geany/geanymacro.so;/usr/lib/x86_64-linux-gnu/geany/filebrowser.so;/usr/lib/x86_64-linux-gnu/geany/projectorganizer.so;/usr/lib/x86_64-linux-gnu/geany/saveactions.so;/usr/lib/x86_64-linux-gnu/geany/vimode.so; [project] session_file= project_file_path=/home/jaandrle/Dokumenty/Projekty/geany [files] -recent_files=/home/jaandrle/.config/tridactyl/tridactylrc;/home/jaandrle/Vzdálené/GitHub/presentation-builder-portal/resources/views/pages/home/index.vue;/home/jaandrle/Vzdálené/GitHub/DHLC-Internet-Networking-old/web/api/index.php;/home/jaandrle/Vzdálené/GitHub/DHLC-Internet-Networking-old/app/stylus/style.styl;/home/jaandrle/bin/asana.mjs;/home/jaandrle/.config/geany/filedefs/filetypes.javascript;/home/jaandrle/.config/geany/filedefs/filetypes.Dockerfile.conf;/home/jaandrle/.config/geany/filetype_extensions.conf;/home/jaandrle/.config/geany/filedefs/filetypes.TypeScript.conf;/home/jaandrle/.config/geany/filedefs/filetypes.SCSS.conf; -recent_projects=/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el.geany;/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native.geany;/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/.babelrc; +recent_files=/home/jaandrle/bin/asana.mjs;/home/jaandrle/Stažené/goto_matching_brace-function.txt;/home/jaandrle/.config/geany/filedefs/filetypes.SCSS.conf;/home/jaandrle/.config/geany/filedefs/filetypes.Less.conf;/home/jaandrle/.config/geany/filedefs/filetypes.Vue.conf;/home/jaandrle/Vzdálené/GitHub/deka-dom-el/index.js;/home/jaandrle/Vzdálené/GitHub/Facilitator-App-Native/app.config.ts;/home/jaandrle/Vzdálené/GitHub/deka-dom-el/src/dom.js;/home/jaandrle/Vzdálené/GitHub/deka-dom-el/jsdom.d.ts;/home/jaandrle/.config/geany/filetype_extensions.conf; +recent_projects=/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native.geany;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el.geany;/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/.babelrc; current_page=-1 diff --git a/.config/geany/keybindings.conf b/.config/geany/keybindings.conf index 623220d..262eae1 100644 --- a/.config/geany/keybindings.conf +++ b/.config/geany/keybindings.conf @@ -5,7 +5,7 @@ menu_open_selected=o menu_save=s menu_saveas= menu_saveall=s -file_properties=v +file_properties= menu_print= menu_close=w menu_closeall=w @@ -71,8 +71,8 @@ edit_insertlineafter= menu_preferences=p menu_pluginpreferences= menu_find=f -menu_findnext=g -menu_findprevious=g +menu_findnext=F3 +menu_findprevious=F3 menu_findnextsel= menu_findprevsel= menu_replace=h @@ -84,8 +84,8 @@ popup_finddocumentusage=d find_markall=m nav_back=Left nav_forward=Right -menu_gotoline=l -edit_gotomatchingbrace=b +menu_gotoline=g +edit_gotomatchingbrace=equal edit_togglemarker=m edit_gotonextmarker=period edit_gotopreviousmarker=comma @@ -216,3 +216,12 @@ find_in_project= insert_html_chars= replace_special_characters= htmltoogle_toggle_plugin_status= + +[extra_select] +column_mode=v +goto_line_extend=g +brace_match_extend=percent +convert_selection= +set_anchor= +select_to_anchor= +rect_select_to_anchor=