-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow viewing content generated by AINSERT instruction and preprocessors #248
feat: Allow viewing content generated by AINSERT instruction and preprocessors #248
Conversation
fcf6522
to
c322ed2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding some tests that would verify handling of virtual files in VSCode
@@ -419,11 +446,13 @@ void opencode_provider::convert_ainsert_buffer_to_copybook() | |||
auto virtual_copy_name = | |||
m_ctx->hlasm_ctx->ids().add("AINSERT:" + std::to_string(m_ctx->hlasm_ctx->obtain_ainsert_id())); | |||
|
|||
auto new_file = m_virtual_files.try_emplace(virtual_copy_name, std::move(result)).first; | |||
auto new_file = m_virtual_files.try_emplace(virtual_copy_name, std::move(result), next_virtual_file_id()).first; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels a little bit weird to deal with the virtual file IDs. Consider moving this responsibility somewhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've actually realized that there is a much bigger (lifetime) issue, so I will rework this.
74f2ac1
to
63c69a3
Compare
63c69a3
to
f234636
Compare
Kudos, SonarCloud Quality Gate passed! |
🎉 This PR is included in version 1.2.0-beta.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.