Suggestions for new features to the IDE PyCharm
Hello, I would like to hear from you my suggestions for new features to the IDE PyCharm:
1) IDE with support for other languages, maintained by JetBrains own or the community, with translation files in .po, to facilitate the translation work for the community.
2) In Django project, the statements of model classes, suggesting the creation of the Meta inner class, as well as suggest and auto-complete the attributes and methods of this class.
3) Ability to insert automatically or semi-automatically in the header files in python projects, description coding, as http://www.python.org/dev/peps/pep-0263/.
4) In Django project, suggesting common to replace text unicode string.
Example:
'text'
Would be:
u'text '
5) In Django project, suggested to replace plain or Unicode string to support translation using ugettext. Example:
models.py:
# -*- Coding: utf-8 -*-
import models from django.db
class Contact (models.Model):
name = models.CharField ('Name', max_length = 40)
phone = models.CharField ('Phone', max_length = 15, blank = True)
class Meta:
verbose_name = u'Contact'
verbose_name_plural = u'Contacts'
Would be:
# -*- Coding: utf-8 -*-
import models from django.db
django.utils.translation ugettext import from the _
class Contact (models.Model):
name = models.CharField (_ (u'Nome '), max_length = 40)
phone = models.CharField (_ (u'Telefone '), max_length = 15, blank = True)
class Meta:
verbose_name = _ (u'Contact')
verbose_name_plural = _ (u'Contacts')
6) Suggest the creation of the method "def __unicode__ (self):" in the model classes.
7) Support Synthetica Look and Feel -> http://www.jyloo.com/synthetica/ and or Substance Look and Feel.
8) Add the ability to access and view various projects at the same time (If there is no way to visualize this way, still have not found)
Example: http://imageshack.us/photo/my-images/594/exemplemultipleprojects.png/
Translated with google translator
---------------------------------------------------------------------------------------------------------------
Original in Braziliam Portuguese
Ola, gostaria de saber a opinião de vocês para minhas sugestões de novas funcionalidades para o PyCharm IDE:
1) IDE com suporte para outros Idiomas, mantido pela propria Jetbrains ou pela comunidade, com arquivos de tradução em formato .po, visando facilitar o trabalho de tradução pela comunidade.
2) Em projetos DJANGO, nas declarações de classes de modelo, sugerir a criação da classe interna Meta, bem como sugerir e auto-completar os atributos e metodos desta classe.
3) Possibilidade de inserção de automatica ou semi-automatica nos cabeçalhos de arquivos de projetos em python, a descrição de codificação, conforme http://www.python.org/dev/peps/pep-0263/.
4) Em projetos DJANGO, sugerir para substituir string comum em texto unicode.
Exemplo:
'texto'
Ficaria:
u'text'
5) Em projetos DJANGO, sugerir para substituir string comum ou unicode, para suportar tradução utilizando o ugettext. Exemplo:
models.py:
# -*- coding: utf-8 -*-
from django.db import models
class Contato(models.Model):
nome = models.CharField('Nome', max_length=40)
telefone = models.CharField('Telefone', max_length=15, blank=True)
class Meta:
verbose_name = u'Contato'
verbose_name_plural = u'Contatos'
Ficaria:
# -*- coding: utf-8 -*-
from django.db import models
from django.utils.translation import ugettext as _
class Contato(models.Model):
nome = models.CharField(_(u'Nome'), max_length=40)
telefone = models.CharField(_(u'Telefone'), max_length=15, blank=True)
class Meta:
verbose_name = _(u'Contato')
verbose_name_plural = _(u'Contatos')
6) Sugerir a criação do metodo "def __unicode__(self):" nas classes de modelo.
7) Suporte à Synthetica Look and Feel -> http://www.jyloo.com/synthetica/ e, ou Substance Look and Feel.
8) Adicionar a possibilidade de acessar e visualizar varios projetos ao mesmo tempo, (Se existe forma de visualizar dessa forma, ainda não achei )
Exemplo: http://imageshack.us/photo/my-images/594/exemplemultipleprojects.png/
Please sign in to leave a comment.
Hello Fabio,
In general, it's recommended to post feature requests to our issue tracker
at http://youtrack.jetbrains.net/
Please find answers to specific requests below.
PyCharm doesn't use gettext for internationalization; it stores strings in
.properties files. We do not currently plan to offer localized versions;
in our opinion, learning English is unavoidable for software developers in
any case.
Unfortunately I don't quite understand this request.
You can configure the file templates for Python files using Settings | File
Templates, and add the #coding comment there.
It's not clear what the value of such a feature would be. Adding an 'u' prefix
is faster than using any quickfix.
Alternatively, you can use 'from __future__ import unicode_literals' to have
all literals as Unicode by default.
Internationalization support for Django projects is on the roadmap for PyCharm
2.0.
Methods like __unicode__ are offered in the completion list after you type
'def __' in a class body.
This is planned:
http://youtrack.jetbrains.net/issue/PY-2032
Possibility to open multiple projects in the same frame is planned for PyCharm
2.0. In the current version, you can open multiple projects in different
frames or use the "Add Content Root" button in Settings | Project Structure
to work with the contents of multiple directories in one frame.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dimitry,
For item 2, I think he's asking for code complete options for the inner Meta class for a Django model (including the inner class's fields).
If this is not already something on the scope of features to include for the next version, I would like to create a YouTrack ticket for this as I believe it would be useful. Is there a document or blog post that describes what's planned to be included in the next version (2.0)?
Hello Christian,
Smaller features like this one are typically not included in roadmap-level
planning for the next major version. We implement them if a developer gets
around to it.
I think there is already a YouTrack request for this specific feature.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"