heaths / vscode-guid

Insert GUIDs in different formats directly into the editor
https://marketplace.visualstudio.com/items?itemName=heaths.vscode-guid
MIT License
26 stars 8 forks source link

Add extension to Azure Data Studio #76

Open nielsvdc opened 1 year ago

nielsvdc commented 1 year ago

This extension would also be nice to use in Azure Data Studio, but is not yet supported.

heaths commented 12 months ago

I'll consider it.

Notes to self:

heaths commented 12 months ago

Seems this is working as-is:

image

You can just download it from the releases page here and install as a VSIX directly in ADS.

nielsvdc commented 12 months ago

I already tried installing the VSIX in ADS, but the extension won't show up. Can you explain what you are doing in the screenshot above? I've also already installed the extension in VSCode on same Windows machine.

heaths commented 12 months ago

What do you mean, "won't show up"? It shows up in the Extensions pane once you install the VSIX from a file, and you have to activate it via key binding, which defaults to Ctrl+{ i.e., Ctrl+Shift+[. There's no other UI.

nielsvdc commented 12 months ago

When installing the VSIX in ADS through the "Install from VSIX" function, it doesn't install and functionality isn't added to ADS on my machine. I tested the install in a sandbox environment and there it seems to work fine.

I was able to solve it on my machine manually, by copying the extension folder from the /.vscode/extensions folder to the /.azuredatastudio/extensions folder and edit the file /.azuredatastudio/extensions/settings.json by adding the json code for this extension from the settings.json file from VScode.

heaths commented 12 months ago

I'll consider adding it to ADS's extension "store", but my point is that if you download the VSIX and Install from VSIX like I did in the Windows Sandbox using the latest ADS from the download instructions, it 1) showed up in my extensions menu, and 2) was activated via the Ctrl+{ binding.

https://github.com/heaths/vscode-guid/assets/1532486/875de4b9-5e0b-470f-868d-772552dd3a94