Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dartanalyzer forces things like indents and spaces when reformatting afile. Should it use a preferences file for it? #23511

Closed
DartBot opened this issue May 22, 2015 · 2 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented May 22, 2015

This issue was originally filed by hurtado.ferna...@gmail.com


What steps will clearly show the issue / need for enhancement?

  1. Use dart-tools package for atom
  2. On package settings change space tab to something different of 2
  3. Type some code
  4. save the file (Ctrl + S)

What is the current output?
When formatting, dartanalyzer forces things like tab length to 2 and removes spaces on parenthesis and curly braces.

What would you like to see instead?
Since Dart Editor is going to dissapear, It'd be nice if dartanalyzer respect user preferences, maybe as flags or config files (maybe a analyzer.json?), when formatting code.

What version of the product are you using? On what operating system?
I'm using dart-sdk 1.10.0 on Windows 7.

Please provide any additional information below.
I opened a bug on dart-tools project which brings dart tools to atom users as an option to Java IDEs (radicaled/dart-tools#29).

Thanks in advance

@bwilkerson
Copy link
Member

Added Area-Formatter, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

This issue has been moved to dart-lang/dart_style#261.

@DartBot DartBot closed this as completed Jun 4, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants