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

Architectural change to classes #5

Closed
3 tasks
Radeonmann opened this issue Oct 18, 2020 · 0 comments
Closed
3 tasks

Architectural change to classes #5

Radeonmann opened this issue Oct 18, 2020 · 0 comments
Assignees
Labels
architecture Changes in basic architecture of existing code
Milestone

Comments

@Radeonmann
Copy link
Collaborator

Radeonmann commented Oct 18, 2020

Currently most of the functionality is implemented as functions and interfaces. As the functionality gets more complex, it is also required to use disposable objects from the VS Code API (e.g. FileSystemWatcher). To be able to properly dispose these ressources (e.g. on an update of the workspace projects) it will be better to also use more classes instead of interfaces or extend existing VS Code classes (e.g. Disposable) in the vscode-brautomationtools code base.

  • First all places where a change to classes will be better need to be identified

Following interfaces should be changed to classes or extend Disposable:

  • BRAsProjectWorkspace.AsProjectInfo
    Will require a
  • ...
@Radeonmann Radeonmann added the architecture Changes in basic architecture of existing code label Oct 18, 2020
@Radeonmann Radeonmann added this to the v0.0.6 milestone Dec 8, 2021
@Radeonmann Radeonmann self-assigned this Dec 8, 2021
@Radeonmann Radeonmann modified the milestones: v0.0.6, v0.0.7 Jan 17, 2022
Radeonmann added a commit that referenced this issue Jan 25, 2022
Radeonmann added a commit that referenced this issue Jan 25, 2022
Radeonmann added a commit that referenced this issue Jan 25, 2022
Before, the whol environment was in one file with local variables...

The new structure has classes and static classes which each represent a single environment component. This makes the code more flexible for new features and additions to single components.

At the same time some components now offer more flexibility for changes in file namings and diretcory structures.

The extension logger was used in all new components #12

The stray logger entry on startup is also gone now #28.
Radeonmann added a commit that referenced this issue Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Changes in basic architecture of existing code
Projects
None yet
Development

No branches or pull requests

1 participant