Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Stack-PocketNew to Visual Studio Code? Get it now.
Stack-Pocket

Stack-Pocket

Richard Obiri

|
255 installs
| (1) | Free
The native code sharing and organization extention for orgs. and social colaboration.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

banner

StackPocket

StackPocket is a powerful VSCode extension that allows seamless sharing of code snippets directly within VSCode using GitHub as the storage. It's designed to make code sharing fast and effortless, eliminating the hassle of copying and pasting links.

shot

Features

  • Highlight and Pocket: Highlight your code, right-click, and select "pocket it" to save your code snippets.
  • Mentions: Access your saved stacks using @stackpocket or mention other users' stacks with @username.
  • Collaborate: Easily share code snippets with team members, facilitating collaboration and code review.
  • Organize: Fetch your code snippets in an organized folder created by StackPocket within VSCode.
  • Store: Store all your code snippets directly in VSCode, with seamless GitHub integration.
  • Integrated with GitHub: Automatically uploads code snippets to a GitHub repository, making them easily accessible.
  • Fast and Seamless: Share code 10x faster directly within VSCode.

Mentions

Mentions allow you to quickly access your own code snippets or another user's code snippets by triggering @stackpocket for your own snippets or @username for another user's snippets. This feature enables you to retrieve specific pieces of code without leaving your editor, improving workflow efficiency.

Advantages:

  • Efficiency: Quickly access and insert code snippets without leaving the editor.
  • Convenience: No need to navigate through multiple files or repositories.
  • Collaboration: Easily share and use code snippets from other team members.

Collaborate

The Collaborate feature enables seamless sharing of code snippets with team members directly within VSCode. It simplifies the process of code reviews and collaborative coding sessions, allowing team members to contribute and provide feedback easily.

Advantages:

  • Improved Code Reviews: Share code snippets for quick review and feedback.
  • Enhanced Collaboration: Work together on code without leaving the editor.
  • Time-Saving: Reduce the time spent on sharing code via external tools or platforms.

Organize

Organize allows you to fetch your code snippets in an organized folder created by StackPocket within VSCode. This feature helps you keep your code snippets neatly arranged, making it easier to manage and retrieve them when needed.

Advantages:

  • Neat Organization: Keep all your code snippets organized in a dedicated folder.
  • Easy Retrieval: Quickly find and use the snippets you need.
  • Better Management: Simplifies the management of multiple code snippets.

Store

Store all your code snippets directly in VSCode with seamless GitHub integration. This feature ensures that all your snippets are securely stored and easily accessible from any device with GitHub access.

Advantages:

  • Secure Storage: Store snippets securely with GitHub.
  • Accessibility: Access your snippets from any device with GitHub integration.
  • Version Control: Benefit from GitHub's version control features for your code snippets.

Installation

  1. Install VSCode if you haven't already.
  2. Install the StackPocket extension from the VSCode marketplace.
  3. Follow the on-screen instructions to link your GitHub account.

Usage

  1. Highlight the code you want to save.
  2. Right-click and select "Pocket it".
  3. Use @stackpocket to access your saved stacks or @username to access others' stacks.

Folder Structure

root │ ├── .github │ ├── ISSUE_TEMPLATE │ ├── PULL_REQUEST_TEMPLATE │ └── CODE_OF_CONDUCT.md ├── src │ ├── extension.ts │ ├── snippets.ts │ └── commands │ ├── saveSnippet.ts │ └── loadSnippet.ts ├── test │ ├── extension.test.ts │ └── snippets.test.ts ├── README.md └── package.json

  • .github: Contains GitHub templates and the code of conduct.
  • src: Source code for the extension.
  • commands: Commands for saving and loading snippets.
  • test: Test files for the extension.
  • README.md: This file.
  • package.json: Project configuration.

Contributing

We welcome contributions! Please read our Code of Conduct and Contributing Guidelines for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.


Contributor Covenant Code of Conduct

Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Our Standards

Examples of behavior that contributes to a positive environment for our community include:

  • Demonstrating empathy and kindness toward other people
  • Being respectful of differing opinions, viewpoints, and experiences
  • Giving and gracefully accepting constructive feedback
  • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
  • Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behavior include:

  • The use of sexualized language or imagery, and sexual attention or advances of any kind
  • Trolling, insulting or derogatory comments, and personal or political attacks
  • Public or private harassment
  • Publishing others’ private information, such as a physical or email address, without their explicit permission
  • Other conduct which could reasonably be considered inappropriate in a professional setting

Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT METHOD]. All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the reporter of any incident.

Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

1. Correction

Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

2. Warning

Community Impact: A violation through a single incident or series of actions.

Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

3. Temporary Ban

Community Impact: A serious violation of community standards, including sustained inappropriate behavior.

Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

4. Permanent Ban

Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

Consequence: A permanent ban from any sort of public interaction within the community.

Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft