Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Jan 18, 2025
1 parent de910dd commit 87180bd
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 27,403 deletions.
7 changes: 0 additions & 7 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,8 @@
"dependencies": {
"@anthropic-ai/sdk": "^0.32.1",
"@aws-crypto/sha256-js": "^4.0.0",
<<<<<<< HEAD
"@mistralai/mistralai": "^1.3.0",
"@codingame/monaco-vscode-configuration-service-override": "~11.1.2",
"@codingame/monaco-vscode-standalone-css-language-features": "~11.1.2",
"@codingame/monaco-vscode-standalone-html-language-features": "~11.1.2",
=======
"@codingame/monaco-vscode-configuration-service-override": "~11.1.2",
"@codingame/monaco-vscode-standalone-css-language-features": "~11.1.2",
>>>>>>> main
"@codingame/monaco-vscode-standalone-json-language-features": "~11.1.2",
"@codingame/monaco-vscode-standalone-languages": "~11.1.2",
"@codingame/monaco-vscode-standalone-typescript-language-features": "~11.1.2",
Expand Down
5 changes: 0 additions & 5 deletions frontend/src/lib/components/Editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -752,12 +752,7 @@
})
}
}
<<<<<<< HEAD
},
messageTransports: transports
=======
}
>>>>>>> main
})
return client
}
Expand Down
7 changes: 0 additions & 7 deletions frontend/src/lib/components/SimpleEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,7 @@
type IDisposable
} from 'monaco-editor'
<<<<<<< HEAD
// import '@codingame/monaco-vscode-standalone-languages'
import '@codingame/monaco-vscode-standalone-json-language-features'
import '@codingame/monaco-vscode-standalone-css-language-features'
import '@codingame/monaco-vscode-standalone-typescript-language-features'
=======
>>>>>>> main
import { allClasses } from './apps/editor/componentsPanel/cssUtils'
import { createEventDispatcher, onDestroy, onMount } from 'svelte'
Expand Down
32 changes: 1 addition & 31 deletions frontend/src/lib/components/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ import getMonarchServiceOverride from '@codingame/monaco-vscode-monarch-service-
import '@codingame/monaco-vscode-standalone-typescript-language-features'
import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override'
import { editor as meditor } from 'monaco-editor/esm/vs/editor/editor.api'
<<<<<<< HEAD
import { ConsoleLogger } from 'monaco-languageclient/tools'
import { LogLevel } from 'vscode'
=======
import getConfigurationServiceOverride from '@codingame/monaco-vscode-configuration-service-override'
>>>>>>> main

export let isInitialized = false
export let isInitializing = false
Expand All @@ -22,30 +17,6 @@ export async function initializeVscode(caller?: string, htmlContainer?: HTMLElem

try {
// init vscode-api
<<<<<<< HEAD
// await initServices({
// serviceConfig: {
// userServices: {
// // ...getThemeServiceOverride(),
// // ...getTextmateServiceOverride()
// ...getMonarchServiceOverride()
// },
// debugLogging: true,
// enableExtHostWorker: false
// }
// })
const logger = new ConsoleLogger(LogLevel.Debug)
await initServices(
{
serviceOverrides: {
...getMonarchServiceOverride(),
...getConfigurationServiceOverride()
}
},
{
htmlContainer,
logger
=======
await initServices({
serviceOverrides: {
// ...getThemeServiceOverride(),
Expand All @@ -58,9 +29,8 @@ export async function initializeVscode(caller?: string, htmlContainer?: HTMLElem
json: JSON.stringify({
'editor.experimental.asyncTokenization': true
})
>>>>>>> main
}
)
})

isInitialized = true
meditor.defineTheme('nord', {
Expand Down
Loading

0 comments on commit 87180bd

Please sign in to comment.