Change colour of numbers (and feedback from a first time user)
Hi,
I started using PyCharm today and I think it is great. I am a long time user of Resharper and I wish there was a SharpCharm in the works :-)
First my question: I am using the colour scheme WarmNeon and all the numbers in the code are in red. How can I change this? I created a custom scheme for me but the only thing in red is the Unknown Symbol (which is fine) but numbers are not unknown.
And some feedback
I installed PyCharm on Windows 7 x64 without any problems. I pointed it to a folder (instead of creating a project) but could not make it debug my python script. Has it happens PyCharm was using my IronPython installation (in Program Files (x86)) instead of the CPython 2.7 (in c:\Python27). This created a bit of confusion but I eventually got it debugging by adding the CPython installation to the Python Interpreter list.
I have not used InteliJ Idea before but I use the InteliJ scheme in Resharper. I am surprised that some key bindings are different like Rename (F2 in Resharper to Shift F6 in PyCharm). I guess this is some VS influence in Resharper but it would be nice to have a scheme that matched Resharper in Visual Studio. Another key related issue for me is that I have to press Tab to autocomplete instead of pressing enter (is there a way to change this in the configuration?).
My main monitor is 24' in portrait mode (1200X1920) and the tab's captions and all the text is tiny and hard to read. For example, I compared PyCharm's Settings window with VS's Attach Process window and the latter is much easier to read. It is not so much the size of the font but the type itself that is very thin in PyCharm. This is also true of all the icons in the various windows and toolbars, I just cannot decipher them and have to wait for the tooltip to show.
These are minor things, I think it is a great product and will most probably adopt it as my Python IDE.
Cheers,
Jose
请先登录再写评论。
Hello Jose,
You can configure numbers color in IDE Settings -> Editor -> Colors&Fonts
for specified file types (Python, Django, JavaScpript, custom and so on).
Debugging scripts should work also for IronPython interpreters.
Was there any exceptions or errors while you were trying to debug your script?
>
You can configure key bindings in IDE setting -> Keymap, i.e. to change key
for autocomplition you can change keyboard shortcat in Editor Actions ->
Choose
Lookup Item Replace.
You may try to change Look&Feel (or fonts) in IDE settings -> Appearence
to make it look more comfortable for you.
You can change Editor font in IDE Settings -> Editor -> Colors&Fonts -> Font.
Hi,
Thanks for the settings tips.
PyCharm did not debug my script with IronPython because the script imported dateutil.parser which aparently does not exist (or is not installed) in my IronPython installation. Not a problem since what I really wanted to use was CPython. It just was surprising that PyCharm found my IronPython installation but did not find the CPython installation (or at least did not select it by default).
When I tried to debug it connected, and promptly disconnected. The Console output was:
"C:\Program Files (x86)\IronPython 2.7\ipy.exe" -X:Frames "C:\Program Files (x86)\JetBrains\PyCharm 1.2\helpers\pydev\pydevd.py" --client 127.0.0.1 --port 5902 --file E:/workbench/cvlsc/ChartTests.py
pydev debugger: starting
Connected to pydev debugger (build 105.36)
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm 1.2\helpers\pydev\pydevd.py", line 1168, in <module>
File "C:\Program Files (x86)\JetBrains\PyCharm 1.2\helpers\pydev\pydevd.py", line 932, in run
File "E:/workbench/cvlsc/ChartTests.py", line 1, in <module>
ImportError: No module named dateutil.parser
Process finished with exit code 1
Jose
P.S. And by SharpCharm I meant a PyCharm alike for C#, not for IronPython.