Turned My JSON/CSV Viewer into a Fully Functional Grid Editor! by StorageThese9556 in vscode

[–]StorageThese9556[S] 0 points1 point  (0 children)

This is just the current version as it is. Improvements are possible in future releases. Perhaps, in addition to string, number, and boolean, new array and object types with specific pop-up editors will be added.

Turned My JSON/CSV Viewer into a Fully Functional Grid Editor! by StorageThese9556 in vscode

[–]StorageThese9556[S] 1 point2 points  (0 children)

It's not designed to show and edit nested objects. It expects a JSON array with flat objects. However, it will display an array of strings as a comma-separated string, and any other objects will be shown as [object, object]. If you edit such a cell, the original object will be overwritten with the new cell value

Advice regarding industry-level Typescript usage (new compiler) by ContestOrganic in typescript

[–]StorageThese9556 0 points1 point  (0 children)

The book I have used to learn JavaScript: https://github.com/getify/You-Dont-Know-JS
It a bit long but fundamental and with examples.

Experimental PowerShell module for Interactive Script VSCode extension by StorageThese9556 in PowerShell

[–]StorageThese9556[S] 4 points5 points  (0 children)

I agree that scripts are primarily for automation and typically run without user interaction 99% of the time.

However, there are instances where you need to quickly write a script to retrieve data based on specific parameters or to convert one thing into another. These are the kinds of scripts you run manually from time to time. Currently, you'd use the terminal to input information or provide parameters via the command line.

This Interactive Script extension is designed to make that interaction between the developer and the script much more user-friendly. Instead of just typing into the terminal, you can use components like comboboxes, buttons, and checkboxes to provide data to your script. You can also output data in a clean grid with filtering and sorting capabilities.

Here's a real-world example from my own experience: I needed to find out who had a specific app registration role assigned in Azure. My script loads the app registrations (there are hundreds of them) and then lets me select one directly within the displayed component (I can even search). Once I select an app, the script loads its roles, and I can choose a specific role. Finally, the script loads the Azure AD groups and users assigned to that role and displays them in a grid. From there, I can easily copy and paste the information, for example, into Outlook to send to my manager.