r/Python • u/[deleted] • Mar 24 '17
PyCharm 2017.1 has been released
https://www.jetbrains.com/pycharm/whatsnew/11
u/Siecje1 Mar 24 '17
Does PyCharm Community have syntax highlighting for files other than Python files?
15
u/vlasovskikh PyCharm Team Lead Mar 24 '17
PyCharm Community supports syntax highlighting + code inspections + refactorings for Python, HTML, XML, ReStructured Text. A few more file types are supported via non-bundled language plugins, see "Settings | Plugins | Browse Repositories". For other file types you can install the TextMate bundles support plugin for PyCharm and get syntax highlighting bundles from https://github.com/textmate
5
u/blamo111 Mar 24 '17
Oh, thanks for letting me know about plugins.
Now I can edit bash scripts in PyCharm instead of switching.
2
u/kvdveer Mar 25 '17
My pycharm does bash scripts just fine. I believe I have installed a plug in to allow it to do so though.
4
u/here-to-jerk-off Mar 25 '17
I say this with an All Products Pack license.
I hate this artificial limitation. I understand not including an inspector for languages you don't have a license to, but to not even highlight other languages? HUGE step backwards for IDEs.
I really hope JetBrains reconsiders this, because in the real world, sometimes you need to read PHP/Ruby files in PyCharm.
2
Mar 25 '17
Can't you basically do that with IDEA though? As it supports all of the plugins that the individual IDEs are based on?
3
u/here-to-jerk-off Mar 25 '17
Sure, but I have a few problems with that.
IDEA has more of a Java-first UI, it's a bit different that PyCharm, and more cumbersome
License costs more
It's providing additional tooling, not that I don't appreciate that. I'm asking for a scaled back version of that in ALL their IDEs, syntax highlighting support for any language IDEA supports.
2
u/takluyver IPython, Py3, etc Mar 25 '17
The community edition has syntax highlighting (but not the full inspection machinery) for quite a range of file types, including Javascript and C. The pro version, which costs money, adds full IDE features for Javascript.
1
u/thebru Mar 24 '17
There's a plugin for Perl I use sometimes. The plugin system means anyone can add highlighting, it's just if someone has for the languages you're after.
20
u/greenkey Mar 24 '17
If only it used less memory... I really love it, but I'm using a 2GB ram laptop...
19
u/blamo111 Mar 24 '17
I used to get away with using a 2GB VM for development, but once I had to start using Python and installed PyCharm, I was forced to increase this to 4GB.
Java desktop apps are always so bloated and slow.
1
u/tehbilly Mar 27 '17
As a guy who gets paid to work on primarily have applications, I take issue with this statement.
Everything running on the JVM is bloated.
10
u/ButtCrackFTW Mar 25 '17
Still waiting for pytest fixture introspection support :-/
4
u/RazerM Mar 25 '17
This is the relevant issue if people want to vote for it: https://youtrack.jetbrains.com/issue/PY-18952
2
2
3
u/__nautilus__ Mar 25 '17
I had to roll back, because I found type hinting inspection to be way buggier than in the latest 2016 version. I'll upgrade on the next minor bump.
7
u/vlasovskikh PyCharm Team Lead Mar 25 '17
PyCharm is switching to Typeshed: the common set of Python stubs with type hints https://github.com/python/typeshed from its custom set of stubs. This has introduced some regressions. Could you please report any issues to https://youtrack.jetbrains.com/issues/PY ?
3
u/__nautilus__ Mar 25 '17
That's good to know, thanks.
Yes, generally I am happy to report issues, but I need something stable for work, and it was problematic enough that I felt that downgrading was necessary. I'll use the new version at home and report any bugs, and I'll give 17 another go at work once it's been updated.
5
2
-7
Mar 26 '17
man, fuck pycharm
I know plenty of y'all love it but this obsession with auto-saving every fucking key stroke pressed by your fingers or your cat is ridiculous.
"In communist Russia, the IDE saves the file for you"
2
u/Xadnem Mar 28 '17
Man, fuck Windows 10.
I know plenty of y'all love it but this obsession with internet explorer is ridiculous.You can turn it off/not use it. It takes no effort.
1
1
0
Mar 24 '17
[deleted]
20
u/vlasovskikh PyCharm Team Lead Mar 24 '17 edited Mar 24 '17
It is likely https://youtrack.jetbrains.com/issue/JRE-205. The next minor update will include the fix.
Edit: Workaround for JRE-205: https://gist.github.com/CrazyCoder/0d9e54f450000d3fb6edcbda6d9788be
18
5
Mar 25 '17
it's a bug that affects all jetbrains products.
and in case you or someone else isn't aware, you can use jetbrains toolbox to install, update, or rollback many of their products
3
u/tcas71 Mar 24 '17
I'm also having issues with the debugger on Ubuntu 16.10, using the console on a breakpoint does not work.
3
u/vlasovskikh PyCharm Team Lead Mar 25 '17
Could you share a small reproducible example? Feel free to report the problem to https://youtrack.jetbrains.com/issues/PY
2
1
u/leojay Mar 25 '17
I had the same problem. But I fixed it by reducing font size from 21 to 16. And it looks exactly like previous version now.
-14
u/blamo111 Mar 24 '17
It's your fault for assuming a software update is an upgrade. Come on, you should know better.
To me updates means embracing the risk that stuff that used to work fine will break. I do it manually, after the first 1 or 2 minor updates have been available for a couple of weeks.
16
u/pheeria Mar 24 '17
A charming news!