Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tab Completion #127

Copy link
Copy link
Open
Open
Copy link
@kpinnipa

Description

@kpinnipa
Issue body actions

Problem description
Currently, the methods to insert a snippet include the insert button, dragging and dropping, and copy-pasting. However, this requires the user to search for a snippet in the snippet explorer every time they intend to use it which can take time away from their work.

Solution
Create functionality that recognizes user patterns and suggests relevant snippets that match syntax that can be easily inserted by simply pressing the tab button. This will allow user to save time in searching for the snippet and more easily incorporate them into their workflow.

Things to think about

  • Potentially look at Kite for inspiration
  • Show snippet text when associated words are typed in a grayed out font (like gmail tab-complete)
  • Alternatively, when tab key is pressed after writing some code (example "import..."), a dropdown will appear showing the names/descriptions of related and relevant snippets. User can click on any of the names to complete their code with the snippet code.
    1. Design will be tricky and will most likely go through multiple iterations
    2. Have to make sure that this does not take away the tab key's functionality
    3. Have to make sure that the user is able to get rid of the pop up/grayed out text so it doesn't get in the way of their workflow.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.