Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sinumerik Line RenumberNew to Visual Studio Code? Get it now.
Sinumerik Line Renumber

Sinumerik Line Renumber

KMExtensions

|
101 installs
| (0) | Free
Renumbers and formats the codelines NXXX for every line of Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sinumerik-line-renumber README

Simple script to renumber the codelines in any Sinumerik file (arc, mpf, spf...)

Features

  • Renumbers the code lines with the ability to set start-number and increments as well as reformat your program

Usage

  • Open the console with STRG+Shift+P and type "renumber". Execute the command (sinumerik-line-renumber.renumber). Increments and starting number can be set in the settings page.
  • Open the console with STRG+Shift+P and type "reformat". Execute the command (sinumerik-line-renumber.reformat).

Requirements

none

Extension Settings

  • Starting number - determines the number the renumbering will start from - Example: This value set to 1000 and the renumbering will start with N1000
  • Increment - determines the increments in which each line will be renumbered - Example: With a starting value of 1000 and the increment set to 5, renumbering will look like N1000, N1005, N1010...

Known Issues

  • Code without line numbers cant be reformated

[1.1.9]

  • Added support for LOOPS and FOR/ENDFOR
  • Advanced Error-handling

[1.1.6]

  • Added some safety checks for removing whitespaces

[1.1.5]

  • Small bugfixes

[1.1.4]

  • Added highlights for missing IF/ENDIF and WHILE/ENDWHILE function
  • Added support for missing brackets

[1.1.3]

  • Added support for GOTO jumps in IF statements

[1.1.2]

  • Small bugfixes

[1.1.1]

  • Small bugfixes

[1.1.0]

  • Added the reformat option to tidy up your NC program
  • Improved the renumbering
  • Added MultiARC support
  • Added safetycheck for reformating which notifies if code is missing
  • Automatically removing all whitespaces at the Beginning and End of lines and converting TABSPACE into normal spaces

[1.0.2]

  • Added persistent settings page
  • Improved error handling

[1.0.1]

  • Added a logo
  • .arc support

[1.0.0]

  • Initial release
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft