@@ -15,6 +15,7 @@ import { showClasspathConfigurationPage } from "../classpath/classpathConfigurat
1515import { markdownPreviewProvider } from "../classpath/markdownPreviewProvider" ;
1616import { getExpService } from "../exp" ;
1717import { TreatmentVariables } from "../exp/TreatmentVariables" ;
18+ import { javaFormatterSettingsEditorProvider } from "../formatter-settings" ;
1819
1920export function initialize ( context : vscode . ExtensionContext ) {
2021 context . subscriptions . push ( vscode . commands . registerCommand ( "java.overview" , instrumentCommand ( context , "java.overview" , instrumentCommand ( context , "java.helper.overview" , overviewCmdHandler ) ) ) ) ;
@@ -31,6 +32,7 @@ export function initialize(context: vscode.ExtensionContext) {
3132 context . subscriptions . push ( vscode . commands . registerCommand ( "java.extGuide" , instrumentCommand ( context , "java.extGuide" , javaExtGuideCmdHandler ) ) ) ;
3233 context . subscriptions . push ( instrumentOperationAsVsCodeCommand ( "java.webview.runCommand" , webviewCmdLinkHandler ) ) ;
3334 context . subscriptions . push ( vscode . commands . registerCommand ( "java.welcome" , instrumentCommand ( context , "java.welcome" , showWelcomeWebview ) ) ) ;
35+ context . subscriptions . push ( vscode . commands . registerCommand ( "java.formatterSettings" , instrumentCommand ( context , "java.formatterSettings" , ( ) => javaFormatterSettingsEditorProvider . showFormatterSettingsEditor ( ) ) ) ) ;
3436 context . subscriptions . push ( vscode . commands . registerCommand ( "java.classpathConfiguration" , instrumentCommand ( context , "java.classpathConfiguration" , async ( ) => {
3537 const showCustomizedView : boolean = await getExpService ( ) ?. getTreatmentVariableAsync ( TreatmentVariables . VSCodeConfig , TreatmentVariables . CustomizedClasspathConfigurationView , true /*checkCache*/ ) || false ;
3638 if ( showCustomizedView ) {
0 commit comments