AlexLamson / vscode-set-operations

VSCode extension to perform set operations on text in VSCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Operations Extension for VSCode

This extension allows you to perform set operations (such as intersection and difference) on a pair of user-selected tabs in the VSCode editor.

Features

  • Intersection: returns the common elements between the two selected sets.
  • Difference: returns the elements in the first set that are not in the second set.
  • Symmetric Difference: returns all elements that are not in the common set.
  • Union: returns all elements of both sets

Usage

  1. Open the command palette and search for the operation you would like to perform (eg. intersection, difference, etc.)
  2. Choose the first file
  3. Choose the second file
  4. The result of the operation will be written to a new tab

Note

  • This extension only works with text that is separated by newlines
  • The result of a set operation has no ordering guarantees

Contribution

Please feel free to contribute to this extension by submitting pull requests or by reporting bugs.

Support

If you have any questions or issues, please open an issue on the GitHub page for this extension.

About

VSCode extension to perform set operations on text in VSCode

License:MIT License


Languages

Language:TypeScript 100.0%