Skip to content
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

[Feature]: Python support. #203

Open
alex-knyaz opened this issue Sep 16, 2023 · 2 comments
Open

[Feature]: Python support. #203

alex-knyaz opened this issue Sep 16, 2023 · 2 comments

Comments

@alex-knyaz
Copy link

Describe the feature you'd like.

Hello. Firstly, I want to say that Console Ninja is an incredible tool! I've been using it for JavaScript development and it's a game-changer—no more context-switching between my editor and the console. Thank you for your hard work on this!

I also develop in Python and I can't help but wish for a similar experience when writing Python code. I understand that the extension is primarily focused on JavaScript, but adding Python support could make it a more comprehensive tool.

I completely understand if this is out of scope for the project or if there are technical limitations. Just thought it would be a fantastic feature to have and would love to know your thoughts.

Thanks for considering my request and keep up the amazing work!

@ArtemGovorov
Copy link
Member

Hey, thanks for creating the feature request and for your kind words!

While we don't have short term plans to add Python support, the topic is interesting to us, so things may change in future.

Can you please let us know more about your Python dev stack:

  • what tools/frameworks/editor are you using in your dev workflow,
  • at what places of your code do you typically put printf() statements for debugging purposes?

@alex-knyaz
Copy link
Author

Hello @ArtemGovorov,

Thank you for your quick response and for being open to the idea of incorporating Python support into Console Ninja.

As for my Python setup:

I primarily use Visual Studio Code.
FastAPI is my framework of choice for web development.
I frequently use the rich library to make my debug logs more readable.
I typically sprinkle print() statements in various parts of my code, like FastAPI routes, middleware, and utility functions. This is why I'm particularly excited about the potential of Console Ninja extending its support to Python.

I wanted to add that I'd be more than happy to adapt my workflow if Console Ninja required installing specific handlers or reimporting the print function. As long as it integrates well with tools like rich, I'm all in. For example, if Console Ninja provided two separate functions—one for standard Python print and another that's rich-like—that would be ideal for me.

Once again, thank you for considering this feature. I'm really looking forward to seeing where Console Ninja goes next and am hopeful about the added value that Python support could bring.

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

No branches or pull requests

2 participants