Releases: e-u-shapovalov/crontab-formatter
Releases · e-u-shapovalov/crontab-formatter
Release list
1.0.2
English
- With
crontabFormatter.alignRedirectson, manual padding after a redirect operator is now collapsed, so> /dev/null 2>&1lines up as> /dev/null 2>&1. Runs of whitespace inside the redirect are reduced to a single space; quoted or escaped whitespace and fused forms such as>&2are left untouched, so the command's meaning never changes.
Русский
- При включённом
crontabFormatter.alignRedirectsручные отступы после оператора перенаправления теперь схлопываются, поэтому> /dev/null 2>&1выравнивается как> /dev/null 2>&1. Прогоны пробелов внутри перенаправления сжимаются до одного пробела; пробелы в кавычках или экранированные, а также слитные формы вроде>&2не трогаются, поэтому смысл команды не меняется.
1.0.1
English
- Changed the default value of
crontabFormatter.localefromrutoen, so the extension's messages, hover explanations and quick-fix titles are in English out of the box. SetcrontabFormatter.localetorufor Russian orautoto follow the VS Code display language.
Русский
- Значение по умолчанию
crontabFormatter.localeизменено сruнаen, поэтому сообщения расширения, всплывающие расшифровки и названия быстрых исправлений «из коробки» на английском. УстановитеcrontabFormatter.localeвruдля русского языка илиauto, чтобы следовать языку интерфейса VS Code.
Crontab Formatter 1.0.0
First stable release — now on the Visual Studio Marketplace.
Install from VS Code: open the Extensions view and search for Crontab Formatter (publisher EvgeniiShapovalov). For an offline install, download crontab-formatter-1.0.0.vsix below and use Install from VSIX….
Highlights
- Hardened the shell scanner shared by formatting, diagnostics and quick fixes — quotes, backticks,
$()/<()substitutions (with nesting and backslash escaping) and subshells are handled correctly, so column alignment never changes the bytes of a command. - Redirect diagnostics model the stdout/stderr file descriptors (operator order, duplication,
>&file,2>&1) instead of only looking for a>. - Localized the "explain schedule" / "convert to macro" quick-fix titles.
- More accurate user/system auto-detection (
mysql -e …,date >> …are no longer read as a system user column). - Schedule explanations include the year field when enabled; slimmed extension package.
See CHANGELOG.md for the full English/Russian notes.
v0.3.0
What''s new
- Syntax highlighting — the extension now ships its own TextMate grammar, so crontab files are coloured out of the box. The schedule, the command/path, and the targets after
>(overwrite) and>>(append) each get a distinct colour. Comments,PATH=…assignments and$variablesare highlighted too. - Localized settings — all settings and command titles are now available in Russian and English (
package.nls), with clearer descriptions and per-value hints in the Settings UI.
Install: download crontab-formatter-0.3.0.vsix and run Extensions: Install from VSIX…, or code --install-extension crontab-formatter-0.3.0.vsix.
