popcodeorg / popcodeorg/popcode

Code Snippets

Open
#1,636 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature help wanted
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

Wouldn't it be cool if we added a bank of predefined code snippets to popcode??

For example, if you wanted to add a template for a click handler in JS you could search for it and insert the template directly into the editor. https://thimble.mozilla.org does something like this already which may be worth taking a look at.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor entry points responsible for inserting and searching content, then review the Thimble example linked in the issue. Define the scope of the predefined snippet bank, including the JavaScript click-handler example, before implementation; the issue does not name files, tests, or completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.