Skip to content

TypeScript Playground Plugin ideas #221

Closed as not planned
Closed as not planned

Description

@orta
  • An LSP-ish Playground where you can make see the response to specific calls
  • An English explainer which explains a complex TS type
  • Convert TS dts -> Flow interfaces(flowgen)
  • Run tutorials in the playground against live code as a learning tool
  • AST Viewer
  • ts-query runner
  • codemod runner
  • Highlight TS vs JS (or type vs value) parts of some code code
  • Show all used types in a file
  • Show dts files in the current workspace
  • Edit an ambient dts file

Activity

  1. Quramy commented on Feb 6, 2020

    @Quramy
    Contributor

    Can Playground plugin API configure monaco editor’s key-bindings ? I want vim key-bindings.

  2. orta commented on Feb 6, 2020

    @orta
    ContributorAuthor

    Yep, sandbox.editor gives you access to the current monaco - you might be able to just use the code from https://github.com/brijeshb42/monaco-vim directly via AMD

  3. orta commented on Feb 24, 2020

    @orta
    ContributorAuthor

    Sourcemap preview would makea a great plugin

  4. Quramy commented on Apr 8, 2020

    @Quramy
    Contributor

    I made a plugin to apply Vim keybindings https://github.com/Quramy/ts-playground-plugin-vim 🎉

  5. orta commented on Apr 8, 2020

    @orta
    ContributorAuthor

    Ace!

  6. orta commented on Apr 16, 2020

    @orta
    ContributorAuthor

    #520

    also:

    sourceFile.locals is a private variable that gives you a list of all the symbols at the local root of the
    source file, which can be a starting point for showing what types are defined in the current file

  7. typescript-bot commented on Apr 26, 2023

    @typescript-bot
    Contributor

    Hello! As per #2804, we are automatically closing all open issues. Please see #2804 for a description of what issues and PRs can be accepted going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions