Comments (3)
I was wondering about the implementation of the extension if it was to be made as grammy is written primarily in typescript which provides a robust IDE support and autocompletion out of the box.
So what exactly do we mean when we say
We may want to have some sort of integration between the docs and the code editor in order to bring even better documentation into the workflow.
from website.
That's explained in the next paragraph. For example, filter queries have no tooltip that explains which updates are matched by the respective query. We sometimes get questions regarding the differences between certain filter queries, because people have to derive this from the documentation website. Bringing #158 into the editor solves this.
We will also be able to provide grammY-aware autocomplete that can suggest commonly used code snippets. For example, bot.on
could autocomplete to the entire
bot.on("", async (ctx) => {
// TODO implement handler
})
and place the cursor between the ""
and so on.
There might be more ways how the extension could assist you (automatically suggest and install plugins from a UI, project scaffolding, webhook integration generation, maybe even displaying doc pages inline in the editor by passing the Markdown from the repo to the editor's markdown preview so that you don't have to context-switch) but the original description of this issue would likely be a good start before anything else here is implemented.
from website.
Further things will be tracked in https://github.com/grammyjs/vscode.
from website.
Related Issues (20)
- Missing documentation on OtherwiseOptions properties
- Add import statement to ref pages
- Broken link in core API reference HOT 1
- Use ES Modules for Cloudflare (Node.js) guide? HOT 1
- Hosting: Supabase Edge Functions doesn't work HOT 3
- Type issue
- Outdated load docs
- Do not mention throttling in the deployment checklist HOT 1
- Algolia crawling fails HOT 11
- Unrecognizable links HOT 2
- Fix images for IV HOT 1
- Improve documentation for session storage enchancements. HOT 2
- Portuguese (Brazil) translation tracking HOT 4
- Fix link-checker check HOT 3
- Explicitly mention that lazy sessions do not support multi sessions HOT 2
- Please update the documentation of error handling HOT 7
- Handle cases when the GitHub user account is unavailable
- Reactions documentation: Please add information about enabling them in "allowed_updates" field. HOT 2
- Add example code for every single framework adapter HOT 3
- TypeScript Compilation Issue: SyntaxError: Cannot use import statement outside a module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from website.