Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove files related to plugin extension system #1195

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 0 additions & 136 deletions CodeEdit.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"pins" : [
{
"identity" : "codeeditkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/CodeEditApp/CodeEditKit.git",
"state" : {
"revision" : "7bd380464313df30a70d1de4d1e221106f3e384a",
"version" : "0.0.1"
}
},
{
"identity" : "codeeditlanguages",
"kind" : "remoteSourceControl",
Expand Down Expand Up @@ -45,15 +36,6 @@
"version" : "5.22.2"
}
},
{
"identity" : "light-swift-untar",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Light-Untar/Light-Swift-Untar.git",
"state" : {
"revision" : "fcff1f1b82373ea64b9565a364f63ffe7fdecf9f",
"version" : "1.0.4"
}
},
{
"identity" : "preferences",
"kind" : "remoteSourceControl",
Expand Down
2 changes: 0 additions & 2 deletions CodeEdit/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, ObservableObject {
self.handleOpen()
}
}

ExtensionManager.shared.refreshBundles()
}

func applicationWillTerminate(_ aNotification: Notification) {
Expand Down
25 changes: 0 additions & 25 deletions CodeEdit/Features/CodeEditExtension/CodeEditAPI.swift

This file was deleted.

30 changes: 0 additions & 30 deletions CodeEdit/Features/CodeEditExtension/CodeEditTargetsAPI.swift

This file was deleted.

154 changes: 0 additions & 154 deletions CodeEdit/Features/CodeEditExtension/ExtensionManager.swift

This file was deleted.

18 changes: 0 additions & 18 deletions CodeEdit/Features/Documents/WorkspaceDocument.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ import Foundation
import AppKit
import SwiftUI
import Combine
import CodeEditKit

@objc(WorkspaceDocument) final class WorkspaceDocument: NSDocument, ObservableObject, NSToolbarDelegate {
var workspaceClient: WorkspaceClient?

var extensionNavigatorData = ExtensionNavigatorData()

@Published var sortFoldersOnTop: Bool = true

@Published var fileItems: [WorkspaceClient.FileItem] = []
Expand Down Expand Up @@ -48,8 +45,6 @@ import CodeEditKit
private let activeTabStateName: String = "\(String(describing: WorkspaceDocument.self))-ActiveTab"
private var openedTabsFromState = false

@Published var targets: [Target] = []

deinit {
cancellables.forEach { $0.cancel() }
NotificationCenter.default.removeObserver(self)
Expand Down Expand Up @@ -254,16 +249,3 @@ import CodeEditKit
mutablePointer.pointee = shouldClose
}
}

// MARK: - Extensions
extension WorkspaceDocument {
func target(didAdd target: Target) {
self.targets.append(target)
}
func target(didRemove target: Target) {
self.targets.removeAll { $0.id == target.id }
}
func targetDidClear() {
self.targets.removeAll()
}
}
20 changes: 0 additions & 20 deletions CodeEdit/Features/ExtensionsStore/API/APIPage.swift

This file was deleted.

14 changes: 0 additions & 14 deletions CodeEdit/Features/ExtensionsStore/API/APIResponse.swift

This file was deleted.

Loading