python - IntelliJ IDE: How to add one or more margins
2014-04
I like PyCharm a lot. I write a good chunk of python for my job. I want to conform to PEP8 and it's line length suggestions as best as possible. Having right margins for 72 characters, 79 characters, and 99 characters is very important to me. However, within the current IntelliJ family of IDEs, a user can only specify one right margin as shown by this screenshot.
Does anyone know of a plugin that allows a user to add more right margins? Or more right rulers (I don't need/want my code to be able to wrap at each vertical line)?
The only thing I was able to find is that with sublime text you can specify as many margins as you want, it is called rulers though. But Sublime text is not an IDE and doesn't implement as many features as PyCharm. I guess multiple margins isn't a feature that comes with IntelliJ products.
I am using Intellij IDEA 10.5.2 with the La Clojure. In Clojure, the quote ('
) character is accepted and is used in operators such as *'
to multiply arbitrarily large numbers. The problem is that IDEA's "Reformat code" operation separates the quote character from its previous character. In the case of this multiplication operator, the result is * '
, breaking the code. For example, a *' b
becomes a * 'b
, which means a completely different thing.
Is there any way to configure the reformatting behavior so to avoid this?
I've reported it to the issue tracker, please watch/vote.