Skip to content
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

Export settings button creates file with contents "[object Object]" #707

Open
sirnails opened this issue Dec 6, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@sirnails
Copy link

sirnails commented Dec 6, 2024

Describe the bug
Clicking the "Export Settings" button in TerosHDL creates a file, but the file's content is simply [object Object]. This suggests the settings object is not being serialized correctly before being written to the file.

To Reproduce
Steps to reproduce the behavior:

  1. Open TerosHDL in VSCode.
  2. Scroll down to configuration.
  3. Click on the "Export Settings" button.
  4. Navigate to desktop folder
  5. Type teros.json
  6. Inspect the contents of the generated file.

Code
N/A

Please complete the following information:

  • OS: Microsoft Windows [Version 10.0.19045.5131]
  • VSCode version version:
    Version: 1.95.3 (user setup)
    Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
    Date: 2024-11-13T14:50:04.152Z
    Electron: 32.2.1
    ElectronBuildId: 10427718
    Chromium: 128.0.6613.186
    Node.js: 20.18.0
    V8: 12.8.374.38-electron.0
    OS: Windows_NT x64 10.0.19045

Screenshots
N/A

Additional context
On an tangent, Its not clear to me if this is intended to export the global settings or the project settings.

@sirnails sirnails added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant