vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

TypeScript conversion

Open worksofliam opened this issue 3 years ago • 2 comments

Changes

This is almost a complete re-write. I did not want to just add the TS compiler to the base and support both JS and TS. Instead, I am copying over one file at a time and re-writing into TS. This will allow for improvements, but also likely introduce bugs which is a risk we're going to have to take for this. Conversion first, cleanup and testing after.

  • Re-written how instance.ts works. Instead of using mostly static export functions, it's actually using OO correctly this time.
  • Making serious use of .d.ts. Check out index.d.ts
  • I am doing all the extension APIs first (api directory) and then worrying about the VS Code API stuff later.
  • Still lots to do.

worksofliam avatar Aug 07 '22 02:08 worksofliam

Wow! Great initiative - definitely happy to test this version when you're ready

Wright4i avatar Aug 07 '22 02:08 Wright4i

@Wright4i It's been a long time coming. It might be weeks honestly, it's quite a drag and it's mostly the type of thing where I need to be heads down for hours at a time.

Gotta try and fit in in with everything else, of course.

worksofliam avatar Aug 07 '22 02:08 worksofliam

Closing in favour of #852

worksofliam avatar Sep 03 '22 21:09 worksofliam

Closed in place of #852

worksofliam avatar Sep 03 '22 23:09 worksofliam