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

Fixes #2728: Respect user settings when sending formatting options to LS #2735

Merged
merged 2 commits into from
Nov 8, 2016

Conversation

kaloyan-raev
Copy link
Contributor

What does this PR do?

Replaces the hard coded formatting options sent to language servers with those configured in user preferences.

What issues does this PR fix or reference?

Language Server formatting options are hardcoded #2728

Previous behavior

Documents are formatted with hardcoded "tab size" and "insert spaces" (if editor uses a language server, e.g. JSON editor)

New behavior

Documents are formatted with the "tab size" and "insert spaces" from the user preferences.

PR type

  • Minor change = no change to existing features or docs

Signed-off-by: Kaloyan Raev [email protected]

@benoitf
Copy link
Contributor

benoitf commented Oct 7, 2016

ci-build

@benoitf benoitf added kind/enhancement A feature request - must adhere to the feature request template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/ide labels Oct 7, 2016
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@codenvy-ci
Copy link

Build # 661 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/661/ to view the results.

@bmicklea bmicklea added this to the 5.0.0-M7 milestone Oct 28, 2016
@vparfonov vparfonov merged commit abc2238 into eclipse-che:master Nov 8, 2016
@kaloyan-raev kaloyan-raev deleted the formatting branch November 8, 2016 20:26
@bmicklea bmicklea mentioned this pull request Nov 16, 2016
66 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
… options to LS (eclipse-che#2735)

* Fixes eclipse-che#2728: Respect user settings when sending formatting options to LS

Signed-off-by: Kaloyan Raev <[email protected]>

* Remove spaces in empty line
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants