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

Update extensionsGallery.json #25815

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

yterterian
Copy link

Adding In-Query Generator for Azure Data Studio with new features and dependency fixes

Overview:
The In-Query Generator is an Azure Data Studio extension that simplifies the creation of SQL IN clauses. It allows users to quickly convert selected data or clipboard content into properly formatted IN statements, supporting both numeric and string data types.

Key features:

  • Convert selected text to an IN clause directly in the editor
  • Generate IN clauses from clipboard content
  • Automatically handle both numeric and string data types
  • Escape single quotes in string values
  • Support for NULL values in the IN clause

Recent changes:

  1. Added new 'splitOnWhitespace' configuration option

    • Allows users to choose between splitting into newlines/tabs or all whitespace
    • Implemented via a new command: 'inQueryGenerator.toggleSplitOnWhitespace'
  2. Introduced status bar item

    • Displays current split option state
    • Provides quick toggle functionality
  3. Updated parseText function

    • Now respects the 'splitOnWhitespace' setting
  4. Improved error handling and user feedback

  5. Updated extension activation and deactivation logic

  6. Dependency updates and vulnerability fixes

    • Addressed Dependabot alerts
    • Updated minimist and other dependencies to resolve security issues
    • Implemented resolutions in package.json for conflicting dependencies
  7. Code refactoring for better maintainability These updates enhance the extension's flexibility and user experience while addressing essential security concerns. Users now have more control over how their IN statements are generated, with an easy-to-use toggle in the status bar.

Version: 0.0.9

Update In-Query Generator with new features and dependency fixes

Overview:
The In-Query Generator is an Azure Data Studio extension that simplifies  the creation of SQL IN clauses. It allows users to quickly convert selected data or clipboard content into properly formatted IN statements, supporting both numeric and string data types.

Key features:
- Convert selected text to an IN clause directly in the editor
- Generate IN clauses from clipboard content
- Automatically handle both numeric and string data types
- Escape single quotes in string values
- Support for NULL values in the IN clause

Recent changes:
1. Added new 'splitOnWhitespace' configuration option
   - Allows users to choose between splitting into newlines/tabs or all whitespace
   - Implemented via a new command: 'inQueryGenerator.toggleSplitOnWhitespace'

2. Introduced status bar item
   - Displays current split option state
   - Provides quick toggle functionality

3. Updated parseText function
   - Now respects the 'splitOnWhitespace' setting

4. Improved error handling and user feedback

5. Updated extension activation and deactivation logic

6. Dependency updates and vulnerability fixes
   - Addressed Dependabot alerts
   - Updated minimist and other dependencies to resolve security issues
   - Implemented resolutions in package.json for conflicting dependencies

7. Code refactoring for better maintainability
These updates enhance the extension's flexibility and user experience while addressing essential security concerns. Users now have more control over how their IN statements are generated, with an easy-to-use toggle in the status bar.

Version: 0.0.9
Copy link

github-actions bot commented Aug 8, 2024

MSFT Gallery Maintainer Only
This is a reminder to update the Extensions Gallery list at https://github.com/Microsoft/azuredatastudio/wiki/List-of-Extensions once this PR has been merged in.
Instructions for doing this can be found here.

@yterterian
Copy link
Author

@microsoft-github-policy-service agree

Copy link
Contributor

@Charles-Gagnon Charles-Gagnon left a comment

Choose a reason for hiding this comment

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

https://github.com/YakovT/sql-in-query-statement-generator doesn't appear to be a valid repo. Do you have it set to private or something?

If you do and don't want to make it public, you can create a public facing repo with just the icon/readme/manifest/license and point the links there instead.

Update github repo details
@yterterian
Copy link
Author

Hi @Charles-Gagnon, apologies, I have updated the repo details

Copy link
Contributor

@Charles-Gagnon Charles-Gagnon left a comment

Choose a reason for hiding this comment

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

All asset URLs need to be from a https://raw.githubusercontent.com/ URL for 3rd party extensions, see other extensions in this file for examples.

@yterterian
Copy link
Author

Updated, thank you

@Charles-Gagnon
Copy link
Contributor

Thank you for your contribution!

@Charles-Gagnon Charles-Gagnon merged commit f432975 into microsoft:release/extensions Aug 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants