You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: When inside a transaction set (ST/SE block), the ability to have a command to select that transaction set would be very nice.
Rationale: My EDI development/support team is starting to use VS Code for both trading partner support and test case development. We often deal with files that have dozens to hundreds of transaction sets and having the ability to quickly select one to move/copy into another file would be very handy.
Immediate design challenges:
What should the command do if the cursor is not in an ST/SE block? (Say the ISA segment?) Likely fail with error.
What should the command do if there are multiple cursors? Likely fail with error
What should the command do if the cursor is placed between the segment terminator of the SE segment and the start of an ST segment? Select the NEXT transaction set is my first thought.
I have forked the repo and have started to look at the structure, but I've never developed in TS/JS and I'm new to VS Code, so before I spent too much time/effort I wanted to start a conversation if the idea was likely to be accepted.
The text was updated successfully, but these errors were encountered:
Thanks for taking the time to open a feature request!
Unfortunately, as it currently stands, this extension does not have any semantic knowledge of the EDI specs (e.g. it knows what an ISA segment is, but that's basically it). Mostly because the specs I know of have a proprietary licensed, and inclusion in an Open Source project is legally questionable (e.g. the X12 specs), but also because it's a hard problem to solve without knowing the spec being parsed.
Unfortunately, it's been a couple of years since I've worked with EDI, I'm in a completely different industry now. However, I would welcome any contributions from the community to implement this feature. I would be happy to work with you if you wanted to try to implement it.
Thanks for the feedback on this. I think you might be thinking I'm more ambitious than I really am: I just want to be able to select from the ST down to the SE. Nothing special needed to know (more or less).
But your concern about the license is valid. If the standing meeting is held this fall I'll see if I can grab Steve and ask about that.
I'm going to hack away as/if I have time and if I get something working I'll consider a pull request. Thanks!
Feature request: When inside a transaction set (ST/SE block), the ability to have a command to select that transaction set would be very nice.
Rationale: My EDI development/support team is starting to use VS Code for both trading partner support and test case development. We often deal with files that have dozens to hundreds of transaction sets and having the ability to quickly select one to move/copy into another file would be very handy.
Immediate design challenges:
I have forked the repo and have started to look at the structure, but I've never developed in TS/JS and I'm new to VS Code, so before I spent too much time/effort I wanted to start a conversation if the idea was likely to be accepted.
The text was updated successfully, but these errors were encountered: