Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8804332

Browse files
author
Akos Kitta
committedFeb 1, 2023
feat: rename, deletion, and validation support
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
1 parent f5621db commit 8804332

File tree

63 files changed

+2263
-725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2263
-725
lines changed
 

‎arduino-ide-extension/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"auth0-js": "^9.14.0",
6868
"btoa": "^1.2.1",
6969
"classnames": "^2.3.1",
70+
"cross-fetch": "^3.1.5",
7071
"dateformat": "^3.0.3",
7172
"deepmerge": "2.0.1",
7273
"electron-updater": "^4.6.5",

‎arduino-ide-extension/src/browser/arduino-ide-frontend-module.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
SketchesService,
2424
SketchesServicePath,
2525
} from '../common/protocol/sketches-service';
26-
import { SketchesServiceClientImpl } from '../common/protocol/sketches-service-client-impl';
26+
import { SketchesServiceClientImpl } from './sketches-service-client-impl';
2727
import { CoreService, CoreServicePath } from '../common/protocol/core-service';
2828
import { BoardsListWidget } from './boards/boards-list-widget';
2929
import { BoardsListWidgetFrontendContribution } from './boards/boards-widget-frontend-contribution';
@@ -344,6 +344,9 @@ import { DebugViewModel } from '@theia/debug/lib/browser/view/debug-view-model';
344344
import { DebugSessionWidget } from '@theia/debug/lib/browser/view/debug-session-widget';
345345
import { DebugConfigurationWidget } from '@theia/debug/lib/browser/view/debug-configuration-widget';
346346
import { ConfigServiceClient } from './config/config-service-client';
347+
import { ValidateSketch } from './contributions/validate-sketch';
348+
import { RenameCloudSketch } from './contributions/rename-cloud-sketch';
349+
import { CreateFeatures } from './create/create-features';
347350

348351
export default new ContainerModule((bind, unbind, isBound, rebind) => {
349352
// Commands and toolbar items
@@ -729,6 +732,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
729732
Contribution.configure(bind, UpdateIndexes);
730733
Contribution.configure(bind, InterfaceScale);
731734
Contribution.configure(bind, NewCloudSketch);
735+
Contribution.configure(bind, ValidateSketch);
736+
Contribution.configure(bind, RenameCloudSketch);
732737

733738
bindContributionProvider(bind, StartupTaskProvider);
734739
bind(StartupTaskProvider).toService(BoardsServiceProvider); // to reuse the boards config in another window
@@ -889,6 +894,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
889894
);
890895
bind(CreateApi).toSelf().inSingletonScope();
891896
bind(SketchCache).toSelf().inSingletonScope();
897+
bind(CreateFeatures).toSelf().inSingletonScope();
898+
bind(FrontendApplicationContribution).toService(CreateFeatures);
892899

893900
bind(ShareSketchDialog).toSelf().inSingletonScope();
894901
bind(AuthenticationClientService).toSelf().inSingletonScope();

0 commit comments

Comments
 (0)
Please sign in to comment.