Rename OnEnterRule.oneLineAboveText to previousLineText after API call feedback (#58440)

This commit is contained in:
Alexandru Dima
2021-01-20 17:30:48 +01:00
parent 38c051bf86
commit ec1eda0d96
13 changed files with 31 additions and 31 deletions

View File

@@ -31,7 +31,7 @@ const jsTsLanguageConfiguration: vscode.LanguageConfiguration = {
}, {
// e.g. * ...|
beforeText: /^(\t|[ ])*[ ]\*([ ]([^\*]|\*(?!\/))*)?$/,
oneLineAboveText: /(?=^(\s*(\/\*\*|\*)).*)(?=(?!(\s*\*\/)))/,
previousLineText: /(?=^(\s*(\/\*\*|\*)).*)(?=(?!(\s*\*\/)))/,
action: { indentAction: vscode.IndentAction.None, appendText: '* ' },
}, {
// e.g. */|