Comments (5)
@angelozerr sure, I'll start on it
from lemminx.
Thanks @NikolasKomonen but before starting develop something, please clarify which preferences you wish to support (by seeing samples that I have given below).
from lemminx.
@angelozerr I will implement all the options on the Eclipse editor settings in the image you sent. After I will look and see if anything else should be added.
from lemminx.
And what about VSCode HTML Language Service?
et htmlOptions: IBeautifyHTMLOptions = {
indent_size: options.insertSpaces ? tabSize : 1,
indent_char: options.insertSpaces ? ' ' : '\t',
wrap_line_length: getFormatOption(options, 'wrapLineLength', 120),
unformatted: getTagsFormatOption(options, 'unformatted', void 0),
content_unformatted: getTagsFormatOption(options, 'contentUnformatted', void 0),
indent_inner_html: getFormatOption(options, 'indentInnerHtml', false),
preserve_newlines: getFormatOption(options, 'preserveNewLines', true),
max_preserve_newlines: getFormatOption(options, 'maxPreserveNewLines', 32786),
indent_handlebars: getFormatOption(options, 'indentHandlebars', false),
end_with_newline: includesEnd && getFormatOption(options, 'endWithNewline', false),
extra_liners: getTagsFormatOption(options, 'extraLiners', void 0),
wrap_attributes: getFormatOption(options, 'wrapAttributes', 'auto'),
wrap_attributes_indent_size: getFormatOption(options, 'wrapAttributesIndentSize', void 0),
eol: '\n'
};
from lemminx.
@angelozerr I think the Eclipse ones will cover some of these. But overall I think I will do indent size, indent char, wrap line length, content unformatted, preserve newlines, end with newline, wrap attributes/indent size, and eol
from lemminx.
Related Issues (20)
- PrepareRename/Rename Server Capabilities doesn't work with non dynamic registration HOT 2
- Last updates breaks pretext-tools in codespaces HOT 13
- Implement itemDefaults for CompletionList HOT 1
- Provide a Progress support API for lemminx extension
- Completion should not generate the end tag if it exists an orphan end tag
- CodeAction to generate start tag when it exists an orphan end tag
- possible cache escape HOT 9
- Let the user maintain a list of trusted hosts or resources. HOT 1
- Cannot download lemminx dependency 0.20.0 - 4.0.3 HOT 7
- Set root of document tree for XML references
- LemMinX illegally invokes `client/unregisterCapability` with empty arguments upon startup HOT 2
- SecurityException during native image compilation HOT 1
- XMLHover.getTextHover() shouldn't log CancellationExceptions HOT 1
- Getting Internal Error for "textDocument/codeAction" request HOT 5
- Document cache HOT 2
- Allow completion participants to suggest completion items inside CDATA blocks
- Cannot get didChange with incremental changes to work HOT 1
- Main HOT 1
- Main
- globs are broken in `fileAssociations.pattern`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemminx.