mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
[html] add formatter
This commit is contained in:
11
extensions/html/server/src/service/lib/beautify.ts
Normal file
11
extensions/html/server/src/service/lib/beautify.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
/*
|
||||
* Mock for the JS formatter. Ignore formatting of JS content in HTML.
|
||||
*/
|
||||
export function js_beautify(js_source_text: string, options: any) {
|
||||
// no formatting
|
||||
return js_source_text;
|
||||
}
|
||||
Reference in New Issue
Block a user