vscode-ibmi
vscode-ibmi copied to clipboard
Add ability to compare selected or open file with an IFS or local file path
Changes
Based on #1902
- Added ability to compare with local files (even when IBM i is not connected)
- Context menu item shows in Object Browser and IFS Browser
- Context menu item also shows in VSCode's File Explorer, it does not show when selecting folders
- Command palette uses currently active file
- Added ability to compare with stream files
- Context menu item shows in Object Browser and IFS Browser
- Context menu item also shows in VSCode's File Explorer, it does not show when selecting folders
- Command palette uses currently active file
How to test this PR
- compare with local file (IBM i does not need to be connected, except for option 1):
- Option 1: Right click file in IFS/Object view, select "Compare with local file...", enter in local file path
- Option 2: Have a file open, open command palette, select "Compare with local file...", enter in local file path
- Option 3: Rick click file in VSCode's File Explorer view, select "Compare with local file...", enter in local file path
- compare with IFS file (IBM i must be connected):
- Option 1: Right click file in IFS/Object view, select "Compare with IFS file...", enter in IFS file path
- Option 2: Have a file open, open command palette, select "Compare with IFS file...", enter in IFS file path
- Option 3: Rick click file in VSCode's File Explorer view, select "Compare with IFS file...", enter in IFS file path
Checklist
- [x] have tested my change
- [ ] have created one or more test cases
- [ ] updated relevant documentation
- [x] Remove any/all
console.log
s I added - [x] have added myself to the contributors' list in CONTRIBUTING.md
Added ability to compare with Active File:
- Option 1: Right click file in IFS/Object view, select "Compare with Active File"
- Option 2: Have a file open, open "Go to file..." from Object browser or command palette, click split editor icon on a path
- Option 3: Rick click file in VSCode's File Explorer view, select "Compare with Active File"
Added ability to compare with members (IBM i must be connected):
- Option 1: Right click file in IFS/Object view, select "Compare with member...", enter in member path
- Option 2: Have a file open, open command palette, select "Compare with member...", enter in member path
- Option 3: Rick click file in VSCode's File Explorer view, select "Compare with member...", enter in member path
@worksofliam I think this merged PR fixes issue #1902 right?