Skip to content

Do not modify workbench.editor.enablePreview status on startup#2694

Merged
sebjulliand merged 1 commit intomasterfrom
feature/leavePreviewModeOn
May 29, 2025
Merged

Do not modify workbench.editor.enablePreview status on startup#2694
sebjulliand merged 1 commit intomasterfrom
feature/leavePreviewModeOn

Conversation

@sebjulliand
Copy link
Copy Markdown
Member

Changes

Resolves #2062.
Revert the change made to fix this #928 (comment)

Assuming this was due to QSYS FS stat() method not being fully implemented back then, it should be fine now it returns the actual member modification date.

How to test this PR

  1. Turn on Preview Mode in the settings
  2. Open members
  3. Check the output doesn't fill up with QSYS FS trying to load the member over and over

Checklist

  • have tested my change
  • have created one or more test cases
  • updated relevant documentation
  • Remove any/all console.logs I added
  • have added myself to the contributors' list in CONTRIBUTING.md

Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
@sebjulliand sebjulliand requested a review from a team May 26, 2025 12:41
@sebjulliand sebjulliand self-assigned this May 26, 2025
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label May 26, 2025
@github-actions
Copy link
Copy Markdown
Contributor

👋 A new build is available for this PR based on c07dd1b.

@thomseno
Copy link
Copy Markdown

@sebjulliand I've installed the downloaded extension from VSIX. The workbench.editor.enablePreview setting stays as is. I also opened a few members, did some compiles, and didn't recognize any unreasonable or random output. Seems to work for me, but maybe some heavy users should do more tests.

@sebjulliand
Copy link
Copy Markdown
Member Author

Thanks a lot for your feedback @thomseno 🤝🏻
I didn't see anything weird during my tests either. I'll leave it up to another member of the core team to approve and we'll be good to go 🚀

@worksofliam worksofliam added this to the 3.0.0 milestone May 29, 2025
Copy link
Copy Markdown
Member

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebjulliand Much better this time around. Thanks!

Side note: it did expose some spamming of RPGLINT.MBR in the RPGLE language server. I need to look into that ASAP.

@sebjulliand sebjulliand merged commit 294c715 into master May 29, 2025
4 checks passed
@sebjulliand sebjulliand deleted the feature/leavePreviewModeOn branch May 29, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connecting to IBM i system disables "workbench.editor.enablePreview" setting

3 participants