All notable changes to this "vscode-msr" extension will be documented in this file.
- Improved
to-alias-body
+trust-exe
.
- Improved searching selected text from menu.
- Improved
to-alias-body
for older PowerShell < 7.0 on all platforms. - Removed
pwsh
doskey on Windows if foundpwsh.exe
in %PATH%.
- Supported copying function/script body to
aliasBody
usingto-alias-body
; Auto convertTab
/spaces
+return
/exit
.
- Improved multi-lines
to-alias-body
+ supportedto-alias-body
on Linux/MacOS.
- Separated common alias: Added
msr.cmd.commonAliasNameBodyList
+msr.bash.commonAliasNameBodyList
.- Added
to-alias-body
on Windows to convert normal alias body to one-linealiasBody
transformed for JSON.
- Added
- Auto change Linux alias body to multiple lines if alias matches
msr.multiLineLinuxAliasNamePattern
. - Auto run
use-this-alias
+postInitTerminalCommandLine
for special newMSR-RUN-CMD
terminal.
- Updated doc/tip + Fixed 6 alias like
find-small
/find-nd
/find-spring-ref
.
- Auto recover missing env/alias for terminals
"History restored"
by vscode. - Updated doc/tip + Improved
del-this-tmp-list
integration withgpc-sm
+git-sm-xxx
.
- Changed permission to 700 for dumped alias script files for Linux/MacOS/FreeBSD + WSL/Cygwin/MinGW.
- Improved git list file searching (
gfind-xxx
+ menu):- Added
del-this-tmp-list
+ integrated withgpc
/gpc-sm
+ changedmsr.refreshTmpGitFileListDuration
=1hour
.
- Added
- Improved terminal initialization.
- Accelerated terminal initialization on some Windows.
- Added
msr.useGitFileListToSearchSingleWorkspace
=auto
for menu search using git file list. - Added
msr.searchGitSubModuleFolders
=true
to enable skip git submodule folders.
- Improved alias files for all platforms with common body + variables.
- Improved terminal initialization.
- Improved alias args for Linux/MacOS (
$*
to${@}
). - Improved
msr.default.autoDisableFindDefinitionPattern
to auto disable self finding definitions. - Removed alias
use-rp
+use-fp
(which can be done by existingout-rp
+out-fp
).
- Added
rgfind-xxx
alias to recursively search in a folder of multiple git repositories usinggfind-xxx
(need cook-alias first). - Auto detect and skip dot folders (like not skip
.sub-modules
folder if it's a git repo-child-folder). - Improved cooking scripts + custom search(
msr.xxx.myFindOrReplaceSelectedTextCommand
) to auto escape text for Regex.
- Improved cooking alias to script files for
.bashrc
on Linux/MacOS. - Improved alias
git-cherry-pick-branch-new-old-commits
for all platform.
- Added config
msr.fileExtensionMapNames
to avoid too manymsr.fileExtensionMap.xxx
configs.
- Improved searching selected text on Linux/MacOS (when containing "`").
- Supported adding custom common alias by new config
msr.commonAliasNameBodyList
with 2 examples:gsf
+update-repos
. - Added
~/cmdAlias/
toPATH
for Linux/MacOS.
- Supported custom initialization command line by new config
msr.xxx.postInitTerminalCommandLine
. - Auto detect old git and skip
--recurse-submodules
forgit ls-files
command + shortcuts. - Added overriding of
C#
custom search command by configmsr.cs.myFindOrReplaceSelectedTextCommand
. - Added alias
clear-msr-env
+ Addedtrust-exe
on Windows.
- Improved custom search command
msr.xxx.myFindOrReplaceSelectedTextCommand
:- Supported short
%Skip_Git_Paths%
which not exported as a tmp env var. - Added macro
%SelectedWordVariation%
(similar with configmsr.reference.autoChangeSearchWord
).
- Supported short
- Improved finding definition: Enable adding
msr.{ext-or-fileExtMap}.definition
withoutmsr.xxx.isClassResult
. - Improved searching special file type like
Makefile
or.extension
.
- Auto use
msr.xxx.definition
pattern formsr.xxx.isClassResult
if not set (likemsr.proto.definition
). - Added
msr.myFindOrReplaceSelectedTextCommand
menu + custom command examples to find or replace selected text.
- Improved skipping dot folders + Reduced
Skip_Git_Paths
value.
- Fixed typo error for
find-def
+gfind-def
.
- Overwrite inconsistent alias when dumping alias to script files.
- Added
file-file
/gfind-file
+ Updated alias offind-all
/gfind-all
/gfind-ref
/find-pure-ref
/ etc. (will search all files, no name filter). - Fixed registering general alias file when cooking alias on Window.
- Updated
USERNAME
forreload-env
/reset-env
on Windows.
- Improved
reload-env
+ Reduced runningadd-user-path
on Windows. - Changed
msr.overwriteInconsistentCommonAliasByExtension
=true
.
- Renamed 1 config
msr.overwriteInConsistentCommonAliasByExtension
tomsr.overwriteInconsistentCommonAliasByExtension
. - Corrected 1 script on Linux:
git-add-safe-dir
.
- Removed tail args for common alias.
- Fixed cooking common alias to each script file.
- Separated temp alias files for 4 types of terminals on Windows: CMD + MinGW + Cygwin + WSL.
- Added common alias like
gpc
/gph
/git-sm-init
/git-add-safe-dir
+reset-env
/reload-env
/add-user-path
/del-tmp-path
etc.- Added config
msr.overwriteInconsistentCommonAliasByExtension
(default =false
).
- Added config
- Auto add tool folder to user PATH on Windows.
- Enabled cooking alias in any opened files/projects (not just git projects).
- Supported updating new command alias from files in
MSR-RUN-CMD
terminal without reloading vscode. - Supported
use-this-alias
in descendant folders + Separated temp alias forMinGW
+Cygwin
on Windows. - Reduced
msr.refreshTmpGitFileListDuration
to avoid unexpected results asgit ls-files
is very fast.
- Improved command alias for
Cygwin
+MacOS
terminals. - Improved tip + trimming "-c/-C" in command lines.
- Separated
cmdAlias
folders on Windows forCMD
+MinGW
+Cygwin
+WSL
terminals. - Improved terminal initialization + toggling enable/disable find-definitions.
- Improved checking professional language process and stop vscode-msr finding definition.
- Improved terminal initialization + Add
msr.fileExtensionMap.docx
+ Added.hxx
for C++. - Reduced
msr.refreshTmpGitFileListDuration
to2 minutes
.
- Hide tmp file on Linux/MacOS when running
gfind-xxx
alias. - Skip showing alias list if not cooked
cmdAlias
folder.
- Improved
gfind-spring-ref
/gfind-cpp-member-ref
. - Improved output full path
out-fp
and relative pathout-rp
.
- Auto disable finding definition if found language extension running by config
autoDisableFindDefinitionPattern
. - Supported auto updating search tool - (change default
autoUpdateSearchTool
=true
). - Reduced writing temp file when using
gfind-xxx
(defaultrefreshTmpGitFileListDuration
=2 minutes
).
- Improved initializing
doskey
/alias
when reloading or recovering terminals. - Reset project specific alias after cooking general alias/files.
- Added
--xd
to skip link folders as default extraOption. - Added
list-alias
+use-alias
+msr.fileExtensionMap.bond
+msr.fileExtensionMap.proj
. - Show backend trying when downloading search tool.
- Supported
gfind-spring-ref
as counter part offind-spring-ref
.
- Auto change reference words for Java Spring when finding words from menu.
- Added
find-spring-ref
alias forCMD
/Bash
- requiresPowerShell/pwsh
. - Added config
msr.reference.autoChangeSearchWord
=true
as default.
- Added
msr.cookCmdAlias.showLongTip
to hide/show long tip for command alias in terminals. - Fixed issues in MacOS: Corrected
malias
+ Fixed random command line break inMSR-RUN-CMD
terminal.
- Trivial update for MacOS
MSR-RUN-CMD
terminal.
- Trivial update for MinGW terminal on Windows.
- Improved terminal initialization of MSR-RUN-CMD for MinGW + MacBook.
- Added
msr.disableReRunSearch
as default to suppress re-running commands inMSR-RUN-CMD
terminal. - Removed improper shortcuts.
- Added alternative sources to fix downloading failures from GitHub.
- Reused
MSR-RUN-CMD
terminal when reload window or load previous sessions. - Auto correlated command aliases other shells like
zsh
onLinux
/MacOS
. - Added warning to re-cook new doskeys/alias.
- Added new configuration items to auto generate command shortcuts:
msr.fileExtensionMap.ts
to auto generatefind-ts
+find-ts-def
+find-ts-ref
.msr.fileExtensionMap.js
to auto generatefind-js
+find-js-def
+find-js-ref
.msr.fileExtensionMap.vue
to auto generatefind-vue
+find-vue-def
+find-vue-ref
.
- Solved random messy initialization command lines in
MSR-RUN-CMD
terminal onMacOS
. - Updated doc to use
curl
instead ofwget
.
- Added
msr.fileExtensionMap.gradle
to support searching gradle project files byfind-gradle
/gfind-gradle
. - Used
curl
instead ofwget
to auto download msr/nin.
- Moved temp script files to tmp folder to set git-ignore skip path environment variable
Skip_Git_Paths
. - Imported bash profile by adding command: "
source ~/.bashrc
" before importingmsr-cmd-alias.bashrc
- Improved multiple workspaces support.
- Improved finding definitions (
"Go To Definition"
) forJava
member +PowerShell
script-variable. - Added new default priority:
msr.xxx
is prior tomsr.default.xxx
(likemsr.java.definition
is prior tomsr.default.definition
).
- Improved dumping other command
alias
on Linux + MacOS.- Add
#!/bin/bash
when dumping otheralias
scripts on Linux/MacOS (for MacOS).
- Add
- Supported changing PowerShell to Bash on Linux + MacOS.
- Renamed
msr.changePowerShellTerminalToCmdOnWindows
tomsr.changePowerShellTerminalToCmdOrBash
.
- Renamed
- Moved tmp alias files to
%TMP%
folder forMinGW
/Cygwin
/WSL
terminals on Windows.
- Robust cooking-alias message tip on Windows PowerShell + CMD.
- Supported MacOS of
Darwin
-Arm64
. - Supported writing + keeping alias into default file (like
~/msr-cmd-alias.bashrc
) on Linux/MacOS as on Windows. - No longer force change
PowerShell
toCMD
on Windows.- Added
msr.changePowerShellTerminalToCmdOnWindows
=auto
(Treat asfalse
if got git-exemptions).
- Added
- Added
gfind-xxx
by duplicating eachfind-xxx
+sort-xxx
+find-top-xxx
(use"git ls-files"
as precise source files). - Changed default menu of
Cook-alias/doskey
to easy use (cook alias + dump scripts).
- Added config
msr.default.codeFileExtensionMappingTypes
to co-work withmsr.fileExtensionMap.xxx
:- Auto add new code type (file extension) in
msr.fileExtensionMap.xxx
(like addinggroovy
inmsr.fileExtensionMap.java
). - Also add to command shortcuts like:
find-all
,find-code
andfind-def
etc.
- Auto add new code type (file extension) in
- Added
groovy
tomsr.fileExtensionMap.java
. - Added
sql
tomsr.default.allFiles
. - Added a completely free license file to fix warnings of new version
vsce package
command. - Updated
activationEvents
to to fix warnings of new versionvsce package
command.
- Avoided initializing doskeys for
"PowerShell Integrated Console"
on Windows. - Disabled finding definition for
Vue
by updatingmsr.disable.extensionPattern
. - Updated default skip folder pattern by updating
msr.default.skipFolders
.
- Fixed cooking command alias/doskeys of
sort-xxx
+find-top-xxx
when cooking in non-repo files.
- Fixed sort-xxx command alias/doskey.
- Fixed/Enabled cooking command alias/doskeys for system.
- Removed constraints(like
--w1
/--s1
) when running finding commands in current file via menu or command palette.
- Changed
msr.default.extraOptions
rule:msr.{project}.extraOptions
will overwritemsr.default.extraOptions
.
- Supported cooking script files for each command alias/shortcuts(
doskey
) if containsfor loop
on Windows.- Added
msr.cookCmdAlias.addEchoOff
to hide script content (default: added). - Added
msr.cookCmdAlias.setVariablesToLocalScope
to set local variable (default: empty/not).
- Added
- Reduced show-tip commands for Windows PowerShell terminal.
- Fixed one special case when finding selected text by menus.
- Improved class searching of C# code: filtering results by namespaces.
- Added
msr.default.preferSearchingSpeedOverPrecision
to support precision for small projects.
- Robust escaping selected text when running search commands by menus.
- Improved searching precision + speed.
- Hided BOM warnings by using
-I
(changedcookCmdAlias.hideWarningsAndExtraInfo
totrue
).
- Tolerated searching C# generic method + class;
- Added
*.conf
+*.resx
tofind-all
/find-config
etc.
- Supported latest vscode
terminal.integrated.defaultProfile
config.
- Supported multiple-workspace terminal initializing of
Git-bash
+WSL-bash
for vscode >= 1.56.0. - Added
*.conf
tofind-config
+msr.default.configFiles
+msr.default.configAndDocs
.
- Supported vscode 1.56.0 directly creating terminals of
Git-Bash
+WSL-Bash
. - Skipped initializing alias/doskeys for
Linux Powershell Terminal
+JavaScript Debug Terminal
.
- Improved finding C# method definition for case of nullable type in definition.
- Workaround for command shortcuts of
find-def
+find-xxx-def
.
- Robust terminal initialization on Windows.
- Trimmed more characters for file name to search.
- Improved searching member/enumerate + optimized searching + improved speed.
- Improved searching speed + result precision.
- Corrected path of
find-xxx-in-current-file
formultiple workspaces
scenario. - Added shortcuts for Linux or Cygwin/MinGW/WSL on Window, like:
update-alias
+update-{project-name}-alias
+open-alias
etc. - Improved terminal initialization with dynamic changes:
git-ignore
settings +terminal.integrated.shell.windows
.
- Empowered people to coding in multiple workspaces with 2 methods and improvements:
- Improved native multiple workspaces support:
- Auto detect and initialize terminal with the active workspace for
MSR-RUN-CMD
terminal. - Auto detect the corresponding workspaces of newly opened terminals:
- Initialize terminal with right
gitignore
file. - Initialize terminal with right command shortcuts.
- Initialize terminal with right
- Auto detect and initialize terminal with the active workspace for
- Simplified
extraSearchPaths
logic and supported fine-grained granularity:- People can set
msr.{project}.extraSearchPaths
without opening multiple workspaces.
- People can set
- Improved native multiple workspaces support:
- Improved searching precision + speed from several perspectives.
- Reduced re-running in
MSR-RUN-CMD
terminal. - Corrected
bashrc-path
style for Linux terminals on Windows.
- Improved finding definition speed + precision.
- Supported finding class from code comments of Python.
- Improved extra search paths overriding granularity.
- Skipped searching notebook(*.ipynb) when searching docs.
- Added a new menu:
msr.regexFindInSameTypeFiles
. - Added
msr.fileExtensionMap.rs
to support cookingRust
doskey/alias likefind-rs
. - Fixed latest vscode(1.54.1) issue: Enabled auto-initializing doskey if set cmd.exe as default terminal on Windows.
- Auto set command doskeys/alias for new terminals on vscode 1.53.0 which no terminal name.
- Reduced 1 searching command line.
- Tried to avoid occasionally prompting 'cmd.exe exit' on Windows machine.
- Improved searching precision + Added more specific settings for languages.
- Stopped current searchers if found + stop previous running searchers before new searching.
- Used
git-ignore
as default path filter by settingmsr.useGitIgnoreFile
= true.
- Updated
git-ignore
patterns: Added trailing slash/
to some word patterns. - Added a menu:
msr.compareFileListsWithGitIgnore
to compare file lists if enabledmsr.useGitIgnoreFile
. - Added
msr.autoCompareFileListsIfUsedGitIgnore
to help auto compare file lists (need change totrue
). - Auto transformed args (
$1
to%1
) for other doskeys (not from vscode-msr) on Windows when cooking multiple script files.
- Unregistered
finding-reference
by adding.*
inmsr.disable.findRef.extensionPattern
.
- Improved
git-ignore
: Added heading slash/
to skip-patterns if it starts with a word. - Accelerated downloading + not silent downloading commands.
- Improved support for Java case of
@interface
.
- Robust
git-ignore
for some cases (if enabledmsr.useGitIgnoreFile
).
- Supported
git-ignore
by .gitignore file in top folder: (To enable it: setmsr.useGitIgnoreFile
=true
)- Added
msr.useGitIgnoreFile
= false which disable this non-precise function. - Added
msr.omitGitIgnoreExemptions
= true to skip exemptions like!not-exclude.txt
. - Added
msr.skipDotFoldersIfUseGitIgnoreFile
= true to skip paths like.git
. - Auto detect and use forward slash support for CMD terminal on Windows.
- Added
- Corrected 3 config items with right type.
- Set
msr.searchRelativePathForNativeTerminals
=true
as default. - Set
msr.cookCmdAlias.outputFullPath
=false
as default. - Hide menu: set
msr.regexFindDefinitionInCurrentFile.menu.visible
=false
as default.
- Improved finding definition for precision + speed.
- Used a simple and tricky way to support long arguments(count > 9) for Windows command alias (
doskeys
). - Added string type to configuration items to avoid showing "null" when changing user settings of
msr.xxx
. - Exported
MINGW_ROOT
for MINGW terminal on Windows to shorten output paths of MINGW system files. - Added
*.rst
+*.rs
as source file extensions to search. - Fixed command alias
find-ndp
for Linux/Cygwin/MinGW terminals.
- Check and support
--timeout
option when searching. - Accelerated searching + improved result precision.
- Improved finding class from script/doc/config files.
- Added
msr.default.isFindClassByWordCheck
+msr.useDefaultFindingClass.extensions
. - Reduced duplicate search caused by
Peek
+Go-To
definition from mouse-click. - Support timeout for searching or running commands:
- Added
msr.searchDefinition.timeoutSeconds
+msr.autoRunSearchDefinition.timeoutSeconds
.
- Added
- Accelerated searching code quite a lot.
- Corrected searching definition when
msr.searchRelativePathForNativeTerminals
=true
. - Supported finding definition in extra paths.
- Improved Cygwin/MinGW terminals on Windows:
- Searching paths using Windows style + Running commands using Linux style.
- Output relative paths for command alias: Added
msr.cookCmdAlias.outputRelativePathForLinuxTerminalsOnWindows
=true
. - Supported checking 2 versions of tools used (Windows EXE for searching + Linux EXE for running commands).
- Changed default save tool folder on Windows: from
%USERPROFILE%\Desktop\
to%USERPROFILE%\
. - Supported searching with relative paths to output short paths:
- Added
msr.searchRelativePathForNativeTerminals
+msr.searchRelativePathForLinuxTerminalsOnWindows
.
- Added
- Removed
-W
frommsr.allSmallFiles.extraOptions
to output short paths.
- Changed column index begin from 0 for definition results to try to avoid duplication when working with other extensions.
- Disabled
finding-references
for all languages as needless noise, use menus + command alias. - Improved searching for cases of text contains variable style
"$"
on Linux or Linux terminals on Windows. - Use/Output relative paths for Linux terminals (like: MinGW + Cygwin) on Windows, to help click + open search result locations.
- Menu changes:
- Show menu:
"Regex find all references in all source files"
. - Hided menu:
"Regex find all pure references in all code files"
. - Added but hided:
"Regex find all all pure references in all source files"
.
- Show menu:
- Cooking command alias: permanently to file or temporarily for a vscode terminal:
- Removed
-I
to show warnings and other info (especially when listing with-l
). - Added 2 configs:
msr.cookCmdAlias.hideWarningsAndExtraInfo
+msr.cookCmdAlias.outputFullPath
.
- Removed
- Toggle enable/disable only for
finding-definition
. - Enabled finding definition for all languages: Changed
msr.enable.onlyFindDefinitionForKnownLanguages
=false
. - Enabled
golang
: Removedgo
frommsr.disable.extensionPattern
.
- Create default download folder if not exists for Windows 10 latest version which no %USERPROFILE%\Desktop folder.
- Robust wget downloading commands.
- Run
npm audit fix
command.
- Improved PowerShell to CMD command shortcuts initialization on Windows.
- Improved command shortcuts arg-passing for all Bash terminals on Windows + WSL + Linux.
- Improved general command shortcuts checking and updating.
- Not activate OUTPUT channel to show info when cooking command shortcuts.
- Used real
$HOME
for MinGW terminal. - Used
~/
to display home folder for command shortcuts path of Bash terminals. - Updated command shortcuts tip for PowerShell terminal.
- Updated args-passing for Linux bash command shortcuts (use
"$@"
instead of$@
). - Supported reading newly added command shortcuts for CMD terminal on Windows, when cooking shortcuts(doskeys).
- Supported
/mnt/c/
style path on WSL (/c/
style is already supported).
- Supported
MSR-RUN-CMD
withbash terminal
of Cygwin + MinGW + WSL. - Fully supported
WSL
+MinGW
+Cygwin
without any manual configurations nor downloading. - Improved terminal command alias initialization for
MSR-RUN-CMD
. - Added script files to
msr.default.allFiles
which will benefitfind-all
command alias. - After consideration: Auto check
nin
existence and download it if not exist, to avoid missingnin
when usingfind-top-xxx
. - Improved
find-all
find-def
find-ref
+find-script
+find-config
. - Removed size limitation for
sort-xxx
commands. - Use
wget.exe
as the download tool if found on Windows. - Track and show time costs of loading extension + cooking command shortcuts + other important steps. Enable
msr.debug
to see them. - Updated doc.
- Added
msr.enable.onlyFindDefinitionForKnownLanguages
=true
to skip finding definition and reference for unknown languages. - Put
msr.tmpToggleEnableFindingDefinition
to first priority to temporarily disable/enable finding for a language, ignore other settings. - Added support for
golang
but disabled as default bymsr.disable.extensionPattern
. - Updated root folder priority for configs like
msr.{rootFolderName}.skipFolders
. - Improved
skipFolder
and override rule. - Simplified
package.config
by removing"type": "string"
rows. - Added
Find Top xxx
command palette + will write them into doskeys/alias files when cooking command shortcuts. - Will write
Sort xxx
commands into doskeys/alias files when cooking command shortcuts. - Added optional checking for
nin
and will auto download it when runningfind top xxx
command palette.
- Solved initial command alias path style on
WSL
(Windows Subsystem for Linux), which read from Windows settings. - No longer narrow search scope of script files when click menus like
Regex find references in small files
. - Verified
WSL
terminal on Windows. (Just usemsr.gcc48
and link/copy to an existing path like/usr/bin/msr
) - Lowered case of disk letter for
Git Bash(MinGW)
+Cygwin Bash
on Windows.
- Improved ranking of removing low relevance results.
- Skipped initializing command shortcuts for
PowerShell Integrated Console
terminal. - Added a config value
msr.SkipInitCmdAliasForNewTerminalTitleRegex
. - Added a config value
msr.disable.findRef.extensionPattern
. - Simplified config values and unified loading and overwriting.
- Added a guide and an example to adjust terminal color for output result file paths.
- Supported adding new languages with it's mapped-extension + extension list.
- Search current file at first to fast get results of definition.
- Added highest score for current file to keep 1 result when finding definition.
- Added skip pattern for PowerShell when use
Regex find definition in current file
. - Added
open-doskeys
command shortcut on Windows. - Supported finding definition in
batch
files (*.bat
+*.cmd
). - Increased max line character count from 260 to 360 when call
Regex finding pure reference
. - Enabled
Sorting by time/size
command palette forproject files: code + config + doc
orall files
. - Added long existing VsCode Bug: Unable to jump to definitions sometimes + Duplicate definition + reference results.
- Skip running commands that no -x nor -t when searching files.
- Support
Regex find as 'class' or 'method' roughly
menu for a PowerShell function or class. - Executed
npm audit fix
command.
- Add finding definition support for PowerShell script files.
- Update comments and typos.
- Set
msr.quiet
=true
as default value.
- Updated
update-doskeys
on Windows. - Added
malias
(mainly for Linux) to support same experience likemalias find-def
. - Added
msr.cookCmdAliasDumpWithOthersToFiles
+cookCmdAliasDumpWithOthersToFilesByProject
. - Added
msr.overwriteProjectCmdAliasForNewTerminals
and default =true
when initialize a new terminal. - Don't clear terminal: Added
msr.clearTerminalBeforeExecutingCommands
and set default value =false
. - Added 4 command alias:
use-fp
: Use workspace paths:msr -rp path1,path2
use-rp
: Use relative path:msr -rp .
out-rp
: Output relative path (remove-W
if has in command line/alias)out-fp
: Output full path (add-W
if not in command line/alias)
- Renamed config/setting name
msr.default.pureReferenceSkip
tomsr.default.skip.pureReference
. - Added
find-pure-ref
command shortcuts. - Added env path for temporary command shortcuts when using
Cygwin
bash.
- Added
msr.autoMergeSkipFolders
to auto merge excluded folders from each project's root folder.vscode/settings.json
file. - Added
msr.initProjectCmdAliasForNewTerminals
and set default totrue
to auto set command shortcuts for each project. - Updated
find-def
andfind-ref
to search files including UI files (*.vue, *.ts, *.js
, etc.) - Improved
find-ui-def
to find UI method/function definition. - Added
find-all-def
command shortcuts to support finding both backend + UI code definitions. - Merged skip folders in
.vscode/settings.json
in each project's root folder:- Cook command shortcuts (alias/doskeys).
- Search code.
- Integrated with official terminals, including
MSR-RUN-CMD
channel if setmsr.initProjectCmdAliasForNewTerminals
. - Supported
bash
terminal integration ofCygwin
+MinGW
on Windows.
- Added
msr.quiet
into doc README.md and easier search configurations ofmsr enable
andmsr disable
.
- Output key info even set
msr.quiet
+ trivial code update.
- Changed shortcut key of
msr.tmpToggleEnableFindingDefinition
fromF2
toAlt+F2
.
- Updated finding reference in current file for non-words selected text.
- Improved ranking for same name method's definition search results.
- Adjust search order for multiple root folders of current workspace.
- Updated config value of
msr.allSmallFiles.extraOptions
to display full paths (added-W
). - Supported temporarily toggle enable/disable finding definition and references (Default shortcut key =
F2
).
- Improved finding definition of class constructor for
python
andc++
.
- Supported no-project scenario like single files.
- Supported multiple root folders of one workspace (solve vscode deprecation warning).
- Disabled
find definition
for TypeScript and JavaScript files as default in config:msr.disable.extensionPattern
- Added config:
msr.disable.findDef.extensionPattern
- Updated command alias/shortcut:
find-script
- (It's in fact version
1.1.4
which was published but lost and cannot be re-published, so increased to1.1.5
)
- Improved find-reference when selected text not begin or start with a word, which not match Regex:
^\w
.
- Support command shortcut (
doskey
/alias
) of finding commands for both general + project specific. - Update default doc patterns (add
*.ipynb
) + Update default skip folders pattern. - Tuned command line args position to be easy modified.
- Reduced context menus.
- Escape search-text as
Regex
pattern forfinding definition or references
. - Added
msr.default.demoteFolderScore
+msr.default.demotePathScore
- Added
msr.default.keepHighScoreResultCount
to easy set desired result count. - Wrote default values of
msr.default.promoteFolderScore
+msr.default.promotePathScore
to configuration file. - Improved temporary tool path checking.
- Supported more levels of configuration overriding like overriding additional
extraOptions
settings.
- Improved checking tool in PATH on Linux and replace command line for re-running in terminal.
- Changed
msr.{repo-folder-name}.skipFolders
role from additional to overwrite to improve performance. - Added warning for platforms not supported.
- Added
msr.disable.projectRootFolderNamePattern
to disable finding definition/references functions for specific projects. - Renamed
msr.disable.extensionPatterns
tomsr.disable.extensionPattern
. - Updated doc.
- Added configuration of
findDefinition.useExtraPaths
. - Added 2 context menus: Find definition or references in
current file
. - Enabled showing or hiding more context menus (20 menus in total).
- Tuned more
Regex
patterns and Improved result sorting. - Supported promoting specific folder and path matching scores for each project.
- Search current file if not found results after normal search.
- Updated default skip pattern for finding pure references in configuration file.
- Added description doc for difference between normal
find definition/reference
to extensivefinding commands
.
- Skipped sorting and removing lower score results when finding references.
- Improved auto downloading tool command line.
- Improved re-creating terminal if user closed it. (Seems to be a vscode IDE bug to be solved)
- Show part of
commandPalette
commands ineditor/context
menu. - Support auto detect and recover terminal if closed.
- Re-run more searches if got multiple results (increased default value in configuration file).
- Support auto download the msr exe if not downloaded, and added version check each Tuesday morning 09:00~11:00 when opening vscode.
- Update
extra search path
descriptions in configuration file. - Support both with or without
-I
in command line: output summary to stdout or stderr. - Default menu
Find All References
will not search extra paths (disabled in configuration as default). - Added
msr.disable.extensionPattern
: Regex pattern of file extensions to disablefind definition and references
. - Improved sorting results.
- Improved sorting for search results + search types.
- Supported removing low score results, as default behavior in configuration file.
- Supported quiet mode: Don't show(activate) output channel for each search action if set quiet.
- Improved Regex patterns for several languages in configuration file.
- Added Regex patterns for UI code files to get better experience.
- Truncated command line in output channel (which is generated by
-c
and duplicate to the command line self).
- Reduced unimportant configuration keys.
- Improved extra paths settings experience.
- Support finding selected text other than just word.
- Added more finding commands (Press
F12
and then typemsr
to show these commands). - Use
cmd.exe
on Windows as default shell (Powershell
requires extra escaping for characters like'$'
).
- Updated configuration structure to support more precise searching.
- Refactored code to support:
- Precise searching and flexibility.
- Added finding commands (Press
F12
and then typemsr
to show these commands). - Auto detect configuration change.
- Added unit tests.
- Improved configurations + updated configurations.
- Initial release: Roughly support searching definition and references for all type of coding languages.