All notable changes to this extension (newest first):
-
Added configuration option (
insertseq.sortedOutput) to enable default insertion in sorted order (default: false) — can be changed with the$option. -
Added configuration option (
insertseq.reversedOutput) to enable default insertion in reversed order (default: false) — can be changed with the!option. -
Deprecated configuration option (
insertseq.sortOrder): still works, but might be deleted in future versions. As "reverse" always implies "sorted" output, this option was not ideal. The two separate new options should be used. -
Fixed issue #31 — the
sortOrderconfiguration was not being used.
-
Added Quoted Template mode: start input with
"or'to embed a sequence inside a fixed text.{}is the placeholder; the sequence definition follows the closing quote. Use\{}for a literal{}. -
Added Backtick Template mode: start input with
`to embed sequences directly inside{…}blocks within the template text. Multiple{…}blocks per template are supported — each block has its own independent sequence definition. Use\{/\}for literal braces. -
Added
\tescape: typing\tanywhere in the input (sequence values, template text, own lists, etc.) inserts a real tab character. The preview visualizes tabs using the editor's configured tab width. -
Added a small "What's New" notification for major and minor updates; it can be dismissed for the current version.
-
Fixed missing output formatting within expressions.
-
Fixed an issue with date option handling.
-
Fixed a minor bug when the original sequence is used.
-
Fixed a minor bug with the debug-mode switch.
-
Updated packages to the latest versions.
-
Added a configuration option (
insertseq.previewStatus) to enable or disable the live sequence preview (default: true) -
Improved identifier parsing: ignore content inside parentheses, double quotes, and single quotes when identifying options
-
Added
EXAMPLES.mdwith live GIF examples -
Fixed a bug in
replaceableValuesso start and step values in the input are respected if reasonable -
Fixed a bug in
checkStopExpression -
Fixed regular-expression bugs
-
Fixed a bug with leading characters in decimals
-
Refactored
extension.ts -
Updated the
vscodeengine inpackage.jsonto1.106.0
- Quickfix: disable default debug mode
-
Added support for user-defined (predefined) functions (via config files) using the start char "=" or "func[tion]:" — similar to expressions but can be predefined and reused.
-
Added readable starter names in addition to start chars (for example: "predef[ined]seq[uence]:", "own[seq[uence]]:", "date:", "expr[ession]:", "alpha[bet]:"). Remember the trailing colon when using the long names.
-
Fixed a bug in the evaluation function. If you use the expression option, consider placing it at the end of your input — some symbols can conflict with other start chars or options (for example,
*is used for both frequency and multiplication in expressions).
- Web version is now working
- New configuration option "debug" for internal use
- Fixed regular expression to run in Linux environments/containers
- Removed web version as it did not work (hopefully temporarily until the problem is found)
- Added activationEvents in package.json for the web version
This is a brand-new version, completely rewritten from scratch with a major version bump.
The most important changes are:
- You now see the current sequence as a live preview/decoration before pressing Enter.
- The order of the insertion options is no longer fixed — you can provide the options in any order.
- In addition to the short delimiter characters used previously, you can now use readable option keywords (for example:
steps:,freq:,repeat:,startover:,expr:,stopif:,format:). - You can define predefined lists in your configuration file and use them from any starting point in the list.
- If you only need a special list once or twice, you can provide a list inline for a single insertion (thanks to the history command, you can reuse it multiple times).
- Several additional configuration options were added (see README.md for a complete list).
Most other commands did not change. 😎
What is missing / no longer available in this version:
- There is no special insertion mode for months anymore (previously starting with
%). You can define your own sequences and lists (including months), but using date sequences is recommended for calendar data. - The old "bash-like" history command is gone — use the new
insertseq.historycommand, which shows recent insertions and allows editing.
-
0.10.2
- Changed: Number of leading characters is now consistent, even when starting with negative numbers and later inserting positive numbers.
-
0.10.1
- New: "underline" is a new option for leading characters.
- Changed: Leading characters can appear before any optional negative sign. After the negative sign, numbers are treated numerically; before it, the leading characters fill the block. Negative numbers are handled in a block-oriented way.
- Fixed: Leading characters were required when the starting number was negative.
-
0.10.0
- New: Added new formatting — you can now format with leading zeros, blanks, or dots.
- New: Added support for date expressions (see README; still in alpha, without expr and stop-expression).
- New: Two additional configuration variables:
insertseq.dateStepUnitandinsertseq.dateFormat.dateStepUnitdefines the default unit (day, week, month, or year) for one iteration (default: day).dateFormatdefines the default output format (default:dd.MM.yyyy). Validation of the output format is not enforced, so if you change it, ensure you use a valid format string.
- Update: Visible command renamed to "Insert Sequence" (previously "Insert Numbers").
- Update: Removed the old history insertnums command from package.json.
-
0.9.7
- Last-minute fix.
-
0.9.6
- (no notes)
-
0.9.5
- Update: New placeholder text.
- Fixed: Spelling corrections in package.json — thanks to @JessePeden.
-
0.9.4
- Last-minute fix.
-
0.9.3
- New: Added the ability to add months using numbers (integers from 1 to 12).
- New: Configuration
insertseq.insertOrder:cursorwill insert the sequence in the click order.sortedwill always insert the sequence from the topmost selection down.
- Fixed: Minor bugs and stability issues.
- Fixed: Some typos in README.md and CHANGELOG.md.
-
0.9.2
- New (experimental): Starting with a semicolon, the sequencer assumes a month and will increment month names. You can format the output with
~lto get long month names. - Additional configurations:
insertseq.editHistory: defaultfalse— if true, history commands are editable before running.insertseq.language: defaultde— language for month name output (can be changed with[lang]after a month name).insertseq.languageFormat: defaults(short version — only the first letters of the month).
- Fixed: Bug in the syntax definition of random numbers.
- New (experimental): Starting with a semicolon, the sequencer assumes a month and will increment month names. You can format the output with
-
0.9.1
- Fixed: Last-minute bug from 0.9.0.
-
0.9.0
- New: Command renamed to
insertseqbecause the command handles full sequences (numbers, letters, expressions, etc.), not just numbers. - New: Read configuration for default values:
insertseq.start: default start value ("1")insertseq.step: default step ("1")insertseq.cast: default cast ("s")insertseq.centerString: default centering (lfor left)
- Bugfix: Random numbers no longer always start at
<start>— fixed to start randomly. - Bugfix: Expression mode issues fixed to match the original ideas from James Brooks.
- New: Command renamed to
-
0.6.4
- Bugfix: The command did not start.
-
0.6.2
- Bugfix: Step did not work with decimal numbers — fixed.
- Update: Minor changes in the README file, especially documentation for formatting.
-
0.6.1
- Bugfix: showHistory command in package.json was incorrect.
-
0.6.0
- New command:
insertnums.showPickHistory(default keyboard shortcut: Ctrl+Alt+,) - The command shows the history of previously typed commands (stored in global state). With the new option
insertnums.editHistory(default: false) you can choose whether to edit the selected command before running it.
- New command:
-
0.5.1
- New feature: Output is by default based on selection order. Use
$to force document order (top→bottom).
- New feature: Output is by default based on selection order. Use
-
0.5.0
- New features (all changes by Yu [@codingyu] — thanks):
- History can be shown in an extra window (default: Ctrl+Alt+,). The history window lets you pick a previous command.
- History is stored via globalState and persists between VS Code sessions.
- New config
insertNums.historyLimitto limit history entries (default: 30). - To clear history, you can still use
!cin the normal input box (Ctrl+Alt_.).
- New features (all changes by Yu [@codingyu] — thanks):
-
0.4.1
- Updated: Support for parsing and printing hex numbers improved — hex input is now recognized automatically when applicable.
-
0.4.0
- New features:
- New implementation of a random sequence (see README.md).
- New implementation of a bash-like history function (see README.md).
- New features:
-
0.3.1
- Fixes:
- Quick bugfix: the new "frequency" option was mandatory, but is now optional.
- Bugfix: inserting uppercase letters fixed.
- Fixes:
-
0.3.0
- New features:
- In addition to repeat (
#), a new frequency option (*) is available.
- In addition to repeat (
- Fixes:
- Bugfix: expression checks during runtime.
- New features:
-
0.2.0
- New features:
- You can repeat the sequence with the
#option. - You can use expressions to get the starting value (first value).
- You can repeat the sequence with the
- Improvements:
- Eliminated TypeScript errors and smoothed code.
- Improved and extended documentation.
- New features:
-
0.1.1
- Bugfix: Expressions will no longer end in an endless loop.
-
0.1.0
- Added full formatting for integers and strings.
- Added expression evaluation.
- Added icon and additional information to package.json.
-
0.0.3
- Fixed bug where default step was 0 — now defaults to 1.
- Added initial formatting options for integers and floats.
-
0.0.2
- First running version of InsertNums.
- Includes a command (Ctrl+Shift+P in Windows) "Insert Numbers".
Current feature list (compared to the original Python script — see README):
-
Usage with numbers
- start and step supported
- stopexpr supported
- format not yet supported in early versions
- expr in test mode in early versions
-
Usage with the alphabet
- start and step supported
- wrap supported
- format not yet supported in early versions
-
Usage with expressions
- cast supported
- expr supported
- stopexpr supported
- format not yet supported in early versions
-
0.0.1
- Initial upload