Lifecycle

Initialization

This goes into details of the startup sequence when Dendron first loads

sequenceDiagram participant vscodePlugin participant EngineAPIService participant apiServer participant engine participant store participant fileSystem participant noteParser rect rgb(150, 170, 150) vscodePlugin->>EngineAPIService: creates EngineAPIService->>apiServer: initialize note right of vscodePlugin: plugin end apiServer->>engine: initialize rect rgb(150, 170, 150) note right of engine: local server engine->>store: initialize store->>fileSystem: fetchAllnotes fileSystem->>store: sendNotes; store->>noteParser: parseAllNotes noteParser->>store: parsedNotes store->>engine: return resp end engine->>apiServer: return resp rect rgb(150, 170, 150) note right of vscodePlugin: plugin apiServer->>EngineAPIService: return resp EngineAPIService->>vscodePlugin: return resp end

Trace

  • src/extension.ts: activate { Logger.configure(context, "debug") }
    - src/_extension:activate
        - ...
        - startServerProcess
    

Details

These are some implementation details for further reading

See the Video walkthrough that goes through initialization in detail

It covers the following components:

Resources:

  • See Engine for additional details

Children
  1. Get Decorations
  2. Init

Backlinks