Skip to content

Commit 832222f

Browse files
增加code server
1 parent 4bff8f9 commit 832222f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/code-api/src/code-api.provider.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
import { IMainLayoutService } from '@opensumi/ide-main-layout';
1111
import { ICodePlatform, ICodeAPIProvider, ICodeAPIService, CodePlatform } from './common/types';
1212
import { AntCodeAPIService } from './antcode/antcode.service';
13+
import { CodeAPIService } from './antcode/code.service';
1314
import { GitHubAPIService } from './github/github.service';
1415
import { GitLabAPIService } from './gitlab/gitlab.service';
1516
import { GitLinkAPIService } from './gitlink/gitlink.service';
@@ -39,6 +40,9 @@ export class CodeAPIProvider implements ICodeAPIProvider, ClientAppContribution
3940
this.registerPlatformProvider(CodePlatform.antcode, {
4041
provider: AntCodeAPIService,
4142
});
43+
this.registerPlatformProvider(CodePlatform.code, {
44+
provider: CodeAPIService,
45+
});
4246
this.registerPlatformProvider(CodePlatform.github, {
4347
provider: GitHubAPIService,
4448
onCreate: () => {

0 commit comments

Comments
 (0)