PyCharm features question

Hi,

I'm a huge Resharper fan, and decided to try the PyCharm EAP on Windows XP.  I have a few feature questions:

1)  Are you planning auto-complete support for *args or **kwargs in PyCharm?  Auto-complete didn't work for either when I tested them.

2)  When I open a directory that I've all ready checked out from subversion and make changes, PyCharm gives me unauthorized commit errors, but I cannot figure out how to give my authorization to PyCharm.  How do I do this?  Creating a new project with a subversion checkout seems to have no problems with committing.

3) In debug mode with mouse-overs, is there any way to make integers appear in hex or binary instead of decimal?  (this is easy to do in the watch list, but I would prefer the mouse-over behavior to be hex)

Aside from that, I've loved using PyCharm so far - thank you!

-Matt

0
5 comments

Hello Matt,

I'm a huge Resharper fan, and decided to try the PyCharm EAP on

Windows XP.  I have a few feature questions:

1)  Are you planning auto-complete support for *args or **kwargs in

PyCharm?  Auto-complete didn't work for either when I tested them.

Could you please clarify what exactly you would like to be completed?

2)  When I open a directory that I've all ready checked out from

subversion and make changes, PyCharm gives me unauthorized commit

errors, but I cannot figure out how to give my authorization to

PyCharm.  How do I do this?  Creating a new project with a subversion

checkout seems to have no problems with committing.

Unfortunately the code for displaying the SVN authentication prompts was

missing from the initial PyCharm build. This problem will be fixed in the

next EAP build (to be released this week).

3) In debug mode with mouse-overs, is there any way to make integers

appear in hex or binary instead of decimal?  (this is easy to do in

the watch list, but I would prefer the mouse-over behavior to be hex)

Right now this is not configurable. You're welcome to file a feature request

in http://youtrack.jetbrains.net/

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

I'm a huge Resharper fan, and decided to try the PyCharm EAP on

Windows XP.  I have a few feature questions:

1)  Are you planning auto-complete support for *args or **kwargs in

PyCharm?  Auto-complete didn't work for either when I tested them.

Could you please clarify what exactly you would like to be completed?


**kwargs is standardized to be dictionary of name/value arguments passed to the function.  The Python 101 course uses **kw and **kwargs.  ** signifies a dictionary of name/value arguments, whereas * signifies a list of positional arguments.

So, to answer your question, if I typed:

def myFunction(**kwargs):

     print(kwargs.

I would expect auto-complete to treat kwargs as a dictionary-type object, and display functions such as get and keys.  Similarly auto-complete would treat *args as a list, as this is a list of positional arguments to the functions.  Does this make sense?

0

I would expect auto-complete to treat kwargs as a dictionary-type object, and display functions such as get and keys.  Similarly auto-complete would treat *args as a list, as this is a list of positional arguments to the functions.  Does this make sense?

My mistake, *args is a tuple, not a list.

0

Hello Matt,

Sure, I understand now. Could you please file a YouTrack issue for this?

> I'm a huge Resharper

> fan, and decided to try the PyCharm EAP on

>

>> Windows XP.  I have a few feature questions:

>>

>> 1)  Are you planning auto-complete support for *args or **kwargs in

>> PyCharm?  Auto-complete didn't work for either when I tested them.

>>

> Could you please clarify what exactly you would like to be completed?

>

>

**kwargs is standardized to be dictionary of name/value arguments

passed to the function.  The

http://www.rexx.com/%7Edkuhlman/python_101/python_101.html course uses

**kw and **kwargs.  ** signifies a dictionary of name/value arguments,

whereas * signifies a list of positional arguments.

So, to answer your question, if I typed:

def

> myFunction(**kwargs):

> print(kwargs.

I would expect auto-complete to treat kwargs as a dictionary-type

object, and display functions such as get and keys.  Similarly

auto-complete would treat *args as a list, as this is a list of

positional arguments to the functions.  Does this make sense?

---

Original message URL:

http://www.jetbrains.net/devnet/message/5255867#5255867

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

I have filed a YouTRACK issue at with ID PY-460 for this feature request.

http://youtrack.jetbrains.net/issue/PY-460

Cheers,
Matt

0

Please sign in to leave a comment.