redhat-developer / redhat-developer/vscode-java

Formatter settings not updated after edit

Open
#691 6 comments 2 reactions 1 assignee View on GitHub

@snjeza is already working on this.

Since Nov 13, 2018.

bug formatter
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I edited a custom Eclipse formatter file so that brackets are on the same line for classes, methods, etc, and I have it added to my user settings json as:

"java.format.settings.url": "/Users/zeturk/Dropbox/MyEclipse.xml"

MyEclipse.xml file:
https://pastebin.com/raw/YvTtsMVW

but when I go back to a project and format the code, it is not updated to the settings specified (even if I reload or completely restart VSCode).

Any help is appreciated! (Sorry if this is an easy fix, pretty new to VSCode)

Environment
  • Operating System: MacOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.