VS Code related
VS Code related
Change default path when open new folders
set "files.dialog.defaultPath" as the ideal path. See PR: https://github.com/microsoft/vscode/pull/182908
LaTex related
LaTex related
Replace or remove commands with closing braces
For example, if we want to replace all the bold text within the command \textbf{to be normal text} to be normal font (there could be nested braces inside), use the following regex pattern in a code editor that supports regex search and replace:
Search for (regex pattern): \\textbf\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}
Replace with: \1 (note in VS Code editor, the replace should use $1)