Use for support when coding SC library.
Commands
Typing Cocktail in the Command Palette will display a list of all available functions.
SMRdisplays all SMR file.Open Prglink.xmlquickly opens the Prglink.xml file.Open CentralConfigquickly opens the SCCnt.Config file.Unitdisplay all unit / all folder unit.Noteopen note file with markdown format.Program Workspace- Displays list program, when selecting a specific PG, it will display all units of that PG in new VScode window.
- Use
ctrl+shift+Fto search all workspace. - In the command palette, input
%+ search text to search all workspace (results will be displayed immediately in the command palette.).
Project FolderDisplays all folders and files in the folder specified in the config file.Item Dic SearchSearch item infomation in repo.Unit Dic SearchSearch unit infomation in repo.Program Dic SearchShow all program infomation.DBD SearchSearch table infomation.
HotKey
- HotKey
Alt+Awill insert comment add. - HotKey
Alt+Uwill insert comment update. - HotKey
Alt+Dwill insert comment delete. - HotKey
Ctrl+F7switch file to edit mode. - HotKey
Ctrl+F10openProgram Workspace. - HotKey
Ctrl+Shift+F10openProgram Dic search(Properties).
Snippets
-
In VB , SQL files, there is a snippet suggesting some commonly used SC codes.
-
In ini file, there is a snippet generating information of tables, items in the format used for detail design.
Settings
-
Type
Setting Environmentin the command palette, press enter and selectSetting. The config.json file will be opened and proceed to enter the project information such as userrepo, host, NET path... -
After setting the information in the config.json file, after selecting
Setting Environment, a list of environment information that has been set will be displayed. Select the environment and the snippets file used in plaintext will be created accordingly. -
Setting Environmentopens the config.json file to configure the project information.{ //Common infomation "common": { "OPEID":"opeid", "Company":"FJS" }, //Project Information 1 "USR1": { "User": "USR1_RPS", "Pass": "password", "Host": "172.29.1.1:1521/ORCL", //format: host:port/SID "NET": "//172.29.2.2/NET", "ProjectFolder": "C:/TEST" }, //Project Information 2 "USR2": { "User": "USR2_RPS", "Pass": "password", "Host": "172.29.1.1", "NET": "//172.29.3.4/NET", "ProjectFolder": [ "Folder Path 1", "Folder Path 2" ] } //... }