konveyor / editor-extensions

Developer experience stuff, like VSCode Extension, for Konveyor.
0 stars 8 forks source link

:sparkles: Load solutions from file #91

Closed rszwajko closed 2 weeks ago

rszwajko commented 3 weeks ago

Changes:

  1. add konveyor.loadSolution command used by existing command konveyor.loadStaticResults
  2. store loaded analysis results and received solution inside ".vscode/konveyor" folder a) last 5 files are stored for each type b) file name is unique - with human readable sufix (datetime)
  3. change ECMA level to "ES2021" for libs to get String.replaceAll()
  4. introduce Change interface with props: a) "original" - relative file path before the change, may be empty if file was created in this change b) "modified" - relative file path after the change, may be empty if file was deleted in this change c) "diff" - diff in unified format - tested with git diffs
rszwajko commented 3 weeks ago

Screencast

https://github.com/user-attachments/assets/0cd7638e-389e-4787-bed0-fdd86424dd88

ibolton336 commented 3 weeks ago

Looking good just need to add the "mocks" directory to the .vscodeIgnore to satisfy the package CI run.