Overview Q & A Rating & Review
This is a language package for programming AMX Netlinx control systems. It has syntax highlighting, a code beautifier, snippets for a lot of Netlinx
functions and code blocks, a build task, and shortcuts for the AMX programming help file, Netlinx Diagnostics, and the File Transfer utility. After installing
the extension, please open your VSCode Settings (CTRL-Comma) and search for Netlinx and verify/update the locations in there.
New in this release (0.3.3):
Context menu organization
More snippets for storage types
Default editor config overrides
The code beautifier has an issue if you open a curly bracket on one line, and then close it after a line of code on a different line. Closing the curly bracket on a new line will fix it.
Fix known issues
Language server development
Quality of life recommendations:
This extension contributes the following commands:
extension.netlinx_format: Fixes the block indentation of the currently open file (code beautifier).
extension.netlinx_compile: Compiles the currently open AXS file.
extension.netlinx_help: Opens the AMX Netlinx help reference file.
extension.netlinx_diag: Opens the AMX Netlinx Diagnostics executable (if installed).
extension.netlinx_transfer: Opens the AMX File Transfer Utility (if installed).
extension.netlinx_openincludefolder: Opens the global Netlinx includes folder in the current workspace (if configured in settings)
extension.netlinx_openlibraryfolder: Opens the global Netlinx libraries folder in the current workspace (if configured in settings)
extension.netlinx_openmodulefolder: Opens the global Netlinx modules folder in the current workspace (if configured in settings)
This extension contributes the following settings:
netlinx.compilerLocation: sets the path of the Netlinx compiler.
netlinx.helpLocation: sets the path of the Netlinx reference guide.
netlinx.diagLocation: sets the path of the Netlinx Diagnostics program.
netlinx.ftLocation: sets the path of the Netlinx File Transfer utility.
netlinx.terminalLocation: sets path of the default windows cmd.exe.
netlinx.includesLocation: sets path of global Netlinx includes folder.
netlinx.libraryLocation: sets path of global Netlinx libraries folder.
netlinx.modulesLocation: sets path of global Netlinx modules folder.
Keybindings and Menus
All commands are added to the right click context menu of the editor tab, and the following keybindings have been added.
ctrl+shift+F1: Opens Netlinx Help
ctrl+shift+F2: Runs Netlinx Code Beautifier
ctrl+shift+F3: Opens Netlinx Diagnostics
ctrl+shift+F4: Opens File Transfer Utility
ctrl+shift+F5: Opens Global Includes Folder in Workspace
ctrl+shift+F6: Opens Global Libraries Folder in Workspace
ctrl+shift+F7: Opens Global Modules Folder in Workspace
ctrl+F12: Compiles current file.
extension.netlinx_compile requires Netlinx Studio 3.x or 4.x to be installed. Preferably 4.x. This is freely available at AMX.com.
extension.netlinx_diag requires Netlinx Diagnostics to be installed. This is freely available at AMX.com.
extension.netlinx_transfer requires File Transfer Utility 2 to be installed. This is not freely available, but you can try to get it from the following URL. Login may be required.