Skip to content

Automatic snippet generator#310

Merged
AndreasArvidsson merged 13 commits into
mainfrom
generate-snippet
Jul 4, 2022
Merged

Automatic snippet generator#310
AndreasArvidsson merged 13 commits into
mainfrom
generate-snippet

Conversation

@pokey

@pokey pokey commented Nov 4, 2021

Copy link
Copy Markdown
Member

Allows user to automatically create a snippet by first selecting the desired snippet holes, then saying "snip make <target>". The <target> will be transformed to a snippet, with a hole created at each cursor location.

  • Handle zero-length selections as holes

generateSnippet

@pokey
pokey force-pushed the insert-snippet branch 5 times, most recently from 14c1768 to 7d65961 Compare December 17, 2021 15:02
@pokey
pokey force-pushed the insert-snippet branch 2 times, most recently from 37489d0 to dedd131 Compare January 5, 2022 18:51
@pokey pokey added this to the 0.26.0 milestone Jan 15, 2022
@pokey pokey self-assigned this Jan 18, 2022
@pokey
pokey force-pushed the generate-snippet branch 3 times, most recently from 5028753 to 68cd980 Compare April 25, 2022 16:32
@pokey pokey modified the milestones: 0.26.0, 0.27.0 Jun 8, 2022
@pokey
pokey force-pushed the insert-snippet branch from a27047d to 0fe3b21 Compare June 8, 2022 15:06
@pokey
pokey force-pushed the insert-snippet branch 6 times, most recently from 4197265 to dbf460b Compare June 24, 2022 10:17
@pokey
pokey force-pushed the generate-snippet branch 3 times, most recently from b2d40e7 to 5830f4c Compare June 25, 2022 10:49
Base automatically changed from insert-snippet to main June 30, 2022 13:40
@pokey
pokey force-pushed the generate-snippet branch from 5830f4c to 7885247 Compare June 30, 2022 14:27
pokey and others added 4 commits July 3, 2022 14:28
subrepo:
  subdir:   "cursorless-talon"
  merged:   "59c9118b"
upstream:
  origin:   "file:///Users/pokey/src/cursorless-talon-development"
  branch:   "generate-snippet"
  commit:   "59c9118b"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

Old generate snippets

Fixes
@pokey
pokey force-pushed the generate-snippet branch from 113f590 to 881a658 Compare July 3, 2022 13:28
Comment thread cursorless-talon/src/actions/actions.py
@pokey
pokey marked this pull request as ready for review July 3, 2022 15:18
@pokey
pokey requested a review from AndreasArvidsson July 3, 2022 15:39
@AndreasArvidsson
AndreasArvidsson merged commit 57ace86 into main Jul 4, 2022
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