《1371 - VS Code 和 IBM i 代码的隐藏瑰宝.pdf》由会员分享,可在线阅读,更多相关《1371 - VS Code 和 IBM i 代码的隐藏瑰宝.pdf(30页珍藏版)》请在三个皮匠报告上搜索。
1、Orlando,FLOctober 69IBM TechXchange20251371VS Code&Code for IBM i Hidden GemsSbastien JULLIANDi and me,Tech Lead R&DVS Code&Code for IBM iHidden GemsCode for IBM iWhos this guy?-Sbastien(Seb)Julliand-Code for IBM i core team member-IBM i Pipeline Steps Jenkins plugin maintainer-IBM Champion 2024/202
2、5-Tech Lead R&D at i and meCode for IBM iGems:more like golden nuggets-Features-“Hidden”-Precious(see useful)-Not or not well documented Code for IBM iVS Code settings sync-Requires a GitHub or Microsoft account-Saves most user settings-Except passwords-Works in GitHub CodeSpaces-Saves changes histo
3、ry-Rollback!Code for IBM iKeyboard Shortcuts-Ctrl+K Ctrl+S-Filter on“Code for IBM i”Code for IBM iProfiles-Quickly switch between contexts-Object/IFS browsers filters-Library list and Current library-Working directory-Custom variablesCode for IBM iCustom variables-Run one or several ILE,PASE or QShe
4、ll commands-Supports contextual variables(depending on the target)-Member-Streamfile-Object-Local workspace file-Can refresh targets parent explorer node-Can send output to an IFS file-Shortcut:Ctrl+eCode for IBM iActions-Used in actions-Saved in profiles-Allows different action behavior depending o
5、n the active profileCode for IBM i-Command text prompt-Put?in front of the command-Custom prompt-Pattern:$variable|Label(|value1,value2,.)-Dropdown:OUTPUT($output|Output|*PRINT,*OUTFILE)-Text:OUTFILE($outfile|Output file)Action promptsCode for IBM iRun Actions on Multiple Targets-Ctrl+click or shift
6、+click-Prompt once/execute multiple times-Browseable outputsCode for IBM iProtected modes-Avoid“mistakes”on sensitive LPARs-At different levels-Global-Path based(QSYS and IFS)-Object browser filterCode for IBM iSystem-wide settings-One settings file to rule them all-Fixed location:/etc/vscode/settin