Minimal Setup #280
            
              Minimal Setup
            
            #280
          
          
        -
| Hi, I just want to do a setup with the editor and the side panel. Services I added: 
 Initialization: import { initialize as initializeServices } from "vscode/services";
import getDialogsServiceOverride from "@codingame/monaco-vscode-dialogs-service-override";
import getStorageServiceOverrride from "@codingame/monaco-vscode-storage-service-override";
import getViewsServiceOverride, {
  Parts,
  attachPart
} from "@codingame/monaco-vscode-views-service-override";
import getModelServiceOverride from "@codingame/monaco-vscode-model-service-override";
type Panels = Array<{
  panel: Parts;
  element: HTMLDivElement;
}>;
export async function init() {
  await initializeServices({
    ...getStorageServiceOverrride(),
    ...getViewsServiceOverride(),
    ...getModelServiceOverride(),
    ...getDialogsServiceOverride()
  });
}
export function attachPanels(panels: Panels) {
  for (const { panel, element } of panels) {
    attachPart(panel, element);
  }
}The error I received:  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            CGNonofr
          
      
      
        Dec 5, 2023 
      
    
    Replies: 1 comment 5 replies
-
| Did you run the treemending patch OR are you using @codingame/monaco-editor-treemended instead of monaco-editor? | 
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
The views service override requires almost all other service overrides to work. In your case, the missing one is the configuration service override