Discussion:
[Qt-creator] 'Proper' Python support
Christian Gagneraud
2018-06-10 08:06:06 UTC
Permalink
Hi there,

With the upcoming "Python for Qt" release, is there any plan to have a
more advanced python editor?

There's a "Python Language Server" available[1], an implementation of
the "Language Server Protocol" [2] for python.

I personally hate companies like Palentir [3], and i'm not a Microsoft
fanboy (to say the least) , but these open source component could be
useful to QtCreator.

Visual Code is the new "Revolution" according to Microsoft fanboys
(trying to mimick Apple fanboys), where does QtCreator stand in this?

I'm working in a 98% MS environment, but every developer has a Linux
VM. Yet, what is the first thing they install in their Linux VM?
Visual Code! What drive me nuts, is that they all have a Qt License,
yet they don't give a sh*t about QtC, way better to require a MS
Visual Studio license as well... But i'm diverging.

The only reason i can think of, is that they are completely
brain-washed and addicted to MS technologies, to a point that they
won't even look at something else, even if it's better.

Now when it comes to python, Visual Code is actually way better than
QtCreator, thanks to their "Language Server Protocol". It's actually a
brilliant idea [4]

I do lot of C++, Qt and Python, often, but not always mixed together.
I can't wait for the new "Python for Qt" and I would love QtCreator to
have way better support for python, in the mean time emacs is still my
editor of choice, but i'm seriously thinking about using Visual Code
for editing python.

I use as well the Squish tool [5], a test framework, driven in python,
to test Qt/C++ applications. But I cannot use QtCreator, I have to use
an Eclipse based IDE... Some of my colleagues don't use the so called
"Squis IDE", instead they prefer a mix of command line and ... Visual
Code. Again!

Any thoughts?

Chris

[1] https://github.com/palantir/python-language-server
[2] https://github.com/Microsoft/language-server-protocol
[3] https://en.wikipedia.org/wiki/Palantir_Technologies#Controversies
[4] https://microsoft.github.io/language-server-protocol/
[5] https://www.froglogic.com/squish/
EXT Eike Ziller
2018-06-11 07:41:03 UTC
Permalink
Post by Christian Gagneraud
Hi there,
With the upcoming "Python for Qt" release, is there any plan to have a
more advanced python editor?
There's a "Python Language Server" available[1], an implementation of
the "Language Server Protocol" [2] for python.
We currently work on support for the language server protocol.
https://bugreports.qt.io/browse/QTCREATORBUG-20284
It doesn’t really solve all problems with supporting another language ((semantic) highlighting, building & running, etc),
but should make supporting additional languages much easier.
Post by Christian Gagneraud
I personally hate companies like Palentir [3], and i'm not a Microsoft
fanboy (to say the least) , but these open source component could be
useful to QtCreator.
Visual Code is the new "Revolution" according to Microsoft fanboys
(trying to mimick Apple fanboys), where does QtCreator stand in this?
I don’t understand what your question is.
Post by Christian Gagneraud
I'm working in a 98% MS environment, but every developer has a Linux
VM. Yet, what is the first thing they install in their Linux VM?
Visual Code! What drive me nuts, is that they all have a Qt License,
yet they don't give a sh*t about QtC, way better to require a MS
Visual Studio license as well... But i'm diverging.
The only reason i can think of, is that they are completely
brain-washed and addicted to MS technologies, to a point that they
won't even look at something else, even if it's better.
Now when it comes to python, Visual Code is actually way better than
QtCreator, thanks to their "Language Server Protocol". It's actually a
brilliant idea [4]
I do lot of C++, Qt and Python, often, but not always mixed together.
I can't wait for the new "Python for Qt" and I would love QtCreator to
have way better support for python, in the mean time emacs is still my
editor of choice, but i'm seriously thinking about using Visual Code
for editing python.
As a side note there seems to be a language server support lib + python support for emacs too:
https://github.com/emacs-lsp/lsp-mode
https://github.com/emacs-lsp/lsp-python
I haven’t checked if and how they work though.

Br, Eike
Post by Christian Gagneraud
I use as well the Squish tool [5], a test framework, driven in python,
to test Qt/C++ applications. But I cannot use QtCreator, I have to use
an Eclipse based IDE... Some of my colleagues don't use the so called
"Squis IDE", instead they prefer a mix of command line and ... Visual
Code. Again!
Any thoughts?
Chris
[1] https://github.com/palantir/python-language-server
[2] https://github.com/Microsoft/language-server-protocol
[3] https://en.wikipedia.org/wiki/Palantir_Technologies#Controversies
[4] https://microsoft.github.io/language-server-protocol/
[5] https://www.froglogic.com/squish/
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
***@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
Loading...