Use AccuTerm to interact with a MultiValue server from Sublime Text.
- Total 142
- Win 142
- OS X 0
- Linux 0
|Dec 14||Dec 13||Dec 12||Dec 11||Dec 10||Dec 9||Dec 8||Dec 7||Dec 6||Dec 5||Dec 4||Dec 3||Dec 2||Dec 1||Nov 30||Nov 29||Nov 28||Nov 27||Nov 26||Nov 25||Nov 24||Nov 23||Nov 22||Nov 21||Nov 20||Nov 19||Nov 18||Nov 17||Nov 16||Nov 15||Nov 14||Nov 13||Nov 12||Nov 11||Nov 10||Nov 9||Nov 8||Nov 7||Nov 6||Nov 5||Nov 4||Nov 3||Nov 2||Nov 1||Oct 31||Oct 30|
AccuTerm client for Sublime Text.
Standard Features - Will work with all MV DBMS that support Accuterm
- Download & upload files
- Compile source code
- Lock/Unlock items on the MultiValue server
- Iconv/Oconv from Sublime
- Run currently open file
- Execute commands on the MV Server and display output in Sublime
- Global case change (preserves case in comments & strings)
Extended Features - Limited availability without additional configuration
These features require DBMS specific configuration to run. D3, QM, and jBASE are configured automatically. Additional DBMS can be setup manually (see the Settings section below).
- Prev/Next compile error
- Browse command stack
- Browse files on MV server (jBASE Windows not supported)
- Sublime Text 3
- PyWin32 Sublime Package
- Windows Operating System
- AccuTerm terminal emulator running the FTSERVER program
Using Sublime Package Manager
- Package Control: Install
- cd %appdata%\Sublime Text 3\Packages
- git clone https://github.com/ianharper/AccuTermClient.git
- Install the PyWin32 Sublime package.
This package connects to your MV database using AccuTerm's FTSERVER program. To use, launch AccuTerm and run FTSERVER from TCL. AccuTermClient will connect to the AccuTerm server with no additional configuration.
This package expects that all files on your local machine to be contained in a folder that matches the file on the MV server. Files will be named on your local machine with a “.bp” suffix. When uploaded to the MV server this suffix will be removed. Example: C:\code\BP\HELLO.WORLD.bp will be uploaded to BP HELLO.WORLD in the account that FTSERVER is running in.
- Upload - Upload current file to MV server.
- Compile - Compile Current file on MV server.
- Release - Release lock of current file on MV server.
- Open - Download item from MV server by entering MV file reference.
- Unlock - unlock item on MV server by entering MV file reference.
- Refresh - Update currently open file in Sublime from MV server and lock item on MV server.
- List - Browse files on MV server using Sublime's command palate, select item with enter to download.
- Lock - Lock item on MV server by entering MV file reference.
- Execute - Run commands on MV server and show output in Sublime.
- Run - Run the currently open file. If the item is in the MD/VOC then the item name will be used to run (enables running PROC, PARAGRAPH, or MACRO commands).
- Iconv/Oconv - Convert data using the MV server's iconv/oconv functions.
- Global Upcase - Convert case of currently open file to uppercase while preserving case in strings and comments.
- Global Downcase - Convert case of currently open file to lowercase while preserving case in strings and comments.
The settings can be accessed in the Preferences>Package Settings>AccuTermClient>Settings. The settings are in json format. Each top level key-value pair will be explained below. Some settings are specific to the MV DBMS, they will have a second key that specifies the DBMS. This key for your DBMS can be found in ACCUTERM,ACCUTERMCTRL, KMTCFG. These settings can be set for general editing in Sublime or for specific Sublime projects.
|Default Save Location||Location to save MV files by default. When editing a file in a Sublime project the project folder will be used instead.|
|remove_file_extensions||File extensions to remove when uploading to the MV server.|
|compile_command||Command to execute when the Sublime Build command is run.|
|result_line_regex||Regular expression used to find the line number of compile errors. See exec Target Options in the Sublime Docs for details.|
|list_files_command||Command to list all the files in the account. Used in the AccuTermClient List command. The output must contain only the file name, one per line.|
|list_command||This command is run after a file is chosen from the List command. The value is appended to limit the output to only the item names.|
|syntax_file_locations||List of MV syntaxes to apply after downloading. The default values come from the MultiValue Basic Sublime package|
|command_history||MV file and item for the command stack.|
- Add more event listener functions (automatic check for changes on server)
- Add support for jBASE windows.
- Autofill execute command with selected text.
- Add ability to run multiple commands at once and view the output.
- Enable custom compile compile commands to allow multiple commands (like BASIC %FILE %ITEM & COMPILE %FILE %ITEM)
- Add setting to disable automatic locking of items when downloaded.
- Set MV syntax automatically based on DBMS type and file contents (ex. PQ in line 1 should set PROC).
- Allow file extensions to be set based on DBMS type and file contents (ex. PQ in line 1 should set proc ext.).