-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode extensions #1
Comments
NPM THE FASTEST
Package.json autocompletion:
|
TypeScript symbol searchThe killer feature: regexps Provide search inside TypeScript files for type symbols, but some of them:
Allow context switch:
|
|
Most Like Brace (stale)Introduce two modes:
ExamplesTODO: investigate |
SyntaxFixUtility-extension for fixing syntax errors. This extension doesn't mean to provide refactors / code style fixes and so on. There's ESLint --fix with plugins for you. Checkout XO plugins list, for example it can enforce you to have Examples{ d = 5; u: 9; } /* -> */ { d: 5, u: 9 } BracesTBD Notes
UsageYou need to understand how it works and you'd better to always see what you're going to fix, otherwise it can totally broke anything. That's why you should always apply autofix only for selected lines. |
|
Map Key or ValuesTarget: TS only for now Snippet to replace all keys (with filtering by regex support) or values |
Filter SuggestionsPriority: high Support for now: JSX, object arguments Later: Used only where on options arguments (where property suggestions are available): Shortcuts to:
|
Exact Suggestions: in TS Essential PluginsPriority: high This extension kick offs all useless suggestions in these places: Basic Support
Extended SupportRelatedSome kind of that suggestions have cmstead.js-codeformer on actions like introduce... |
|
TypeScript Type playgroundStatus: investigating for builtin/external ext by core TypeScript playground (ts playground) is fun, but let's take this expression: type A<T> = T extends Record<string, infer U> ? U : T; And I want to test this generic. In ts playground I can write another type and hover over it: type B = A<number>
number (in hover) But what if I want to change type? I need to hover again, and again.
|
VSCode FrameworkHelps authoring extensions with (or without vscode-framework).
|
Dynamic Snippets (Live Templates)Status: available now as a feature of Zardoy Experiments const requiredDeps = ['...']
requiredDeps.forof -> for (const requiredDep of requiredDeps) {} |
Search JSDocSearch in context for JSDoc: description or value of specifig tag. Context can be:
|
Regex101Status: using codeactions from Zardoy Experiments to preview regexs on this site. Too hard to reimplement. Try to 1:1 implement https://regex101.com/
|
Git Push PleaseStatus: still would be good to have |
|
|
More TypeScript Fixes: in TS Essential PluginsRefactoringsActions, only when you know what are you doing:
Syntax: covered by SyntaxFix QuickFixes:
|
TypeScript ExplorerStatus: would be good to have, not worth implementing Explore:
Variants to use:
|
Enhanced TerminalStatus: would be good to have, not worth implementing atm
|
Send talku
TODO: https://github.com/telesoho/vscode-markdown-paste-image |
|
Always TabStatus: works with import today in Zardoy Experiments Always teleports you in these regions (vice-versa): Two
Ensure: when closure that disables usage in snippets, suggestions investigate suggestions |
CosmiconfigDesc: Autocomplete configs. Show autocomplete:
Commands:
Builtin ConfigsLater. Bootstrap repo Bundle with all popular configs: |
Readable Snapshots |
TypeScript InteractiveLike quokka, but:
More? TypeScript playground features: display types inline |
|
JSON TS TypeAlternative way to specify {
"$type": "../index.ts#ConfigurationType",
"config": ""
}
Plans: patch JSON service with provided $schema pointing to in-memory schema, generated from TS via TJS. For first time, only exported types will be supported, then will can support (via patching) the script. |
Platform Specific Settings
|
VSCode ScriptingWrite scripts using full VSCode API |
Comment if you know that one of these already exists.
Plugins, that would be awesome to have:
Links to search:
The text was updated successfully, but these errors were encountered: