akalongman / akalongman/sublimetext-codeformatter

Spaces after class declaration

Aberta
#415 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
772
Forks
128
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I have a class declaration like:
class Company extends Model implements
Class1,
Class2,
ReallyLongClassNameThatPushesMeOverLineLimitClass3
{

If I put all the "implements" names on one line, I get flagged for a line length violation in PHP code checkers. I have format_on_save = true, in codeformatter_php_options.

When I save, the spaces are automatically removed in front of the class names, causing a code formatting violation in the code checker. Is this a bug, or is there some setting I can add so that these spaces will be retained and code will stay in the proper format?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.