Code Monkey home page Code Monkey logo

Comments (3)

code-withAshish avatar code-withAshish commented on August 21, 2024

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.

KnorpelSenf avatar KnorpelSenf commented on August 21, 2024

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.

KnorpelSenf avatar KnorpelSenf commented on August 21, 2024

Further things will be tracked in https://github.com/grammyjs/vscode.

from website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.