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

TokensCounter package added #8985

Merged
merged 6 commits into from
Oct 9, 2024
Merged

Conversation

yaroslavyaroslav
Copy link
Contributor

@yaroslavyaroslav yaroslavyaroslav commented Oct 3, 2024

  • I'm the package's author and/or maintainer.
  • I have have read the docs.
  • I have tagged a release with a semver version number.
  • My package repo has a description and a README describing what it's for and how to use it.
  • My package doesn't add context menu entries. *
  • My package doesn't add key bindings. **
  • Any commands are available via the command palette.
  • Preferences and keybindings (if any) are listed in the menu and the command palette, and open in split view.
  • If my package is a syntax it doesn't also add a color scheme. ***
  • If my package is a syntax it is named after the language it supports (without suffixes like "syntax" or "highlighting").
  • I use .gitattributes to exclude files from the package: images, test files, sublime-project/workspace.

My package is simply counting selected text as token, which is useful for folks that are working with llm. Is uses phantoms to present the calculations.

There's no package alike that, because there were lack of dependencies to perform this operation. Now they are available in PC.

@yaroslavyaroslav
Copy link
Contributor Author

Looks like tests failing not by my fault.

Copy link
Collaborator

@packagecontrol-bot packagecontrol-bot left a comment

Choose a reason for hiding this comment

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

Automated testing result: SUCCESS

Repo link: TokensCounter

Packages added:
  - TokensCounter

Processing package "TokensCounter"
  - All checks passed

Copy link
Collaborator

@braver braver left a comment

Choose a reason for hiding this comment

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

Took me a while to realize what kind of tokens 😅 Package looks good though. Just one minor remark about your entry here.

repository/t.json Outdated Show resolved Hide resolved
Co-authored-by: Koen Lageveen <braver@users.noreply.github.com>
Copy link
Collaborator

@packagecontrol-bot packagecontrol-bot left a comment

Choose a reason for hiding this comment

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

Automated testing result: SUCCESS

Repo link: TokensCounter

Packages added:
  - TokensCounter

Processing package "TokensCounter"
  - All checks passed

@yaroslavyaroslav
Copy link
Contributor Author

@braver could you please check it once again, as I applied fixes that have been requested.

@braver braver merged commit e69af4c into wbond:master Oct 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants