akalongman / akalongman/sublimetext-codeformatter

keep_array_indentation not working

Ouverte
#377 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
772
Forks
128
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I dont want to format the arrays and objects in js but even setting to true, keeps formatting arrays and objects:
keep_array_indentation = true;

Expected:

```
var movieQuotes = {
'slumdog_millionaire' : 'When somebody asks me a question, I tell them the answer.',
'silver_linings_playbook' : 'I opened up to you, and you judged me.',
'the_lives_of_others' : 'To think that people like you ruled a country.',
'the_shawshank_redemption': 'Get busy living, or get busy dying.'
};

```
Currently:
```
var movieQuotes = {
'slumdog_millionaire': 'When somebody asks me a question, I tell them the answer.',
'silver_linings_playbook': 'I opened up to you, and you judged me.',
'the_lives_of_others': 'To think that people like you ruled a country.',
'the_shawshank_redemption': 'Get busy living, or get busy dying.'
};

```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.