JSPM

@theia/core

0.12.0-next.fa116f03
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12716
  • Score
    100M100P100Q139975F
  • License EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Theia is a cloud & desktop IDE framework implemented in TypeScript.

Package Exports

  • @theia/core
  • @theia/core/lib/browser
  • @theia/core/lib/browser/about-dialog
  • @theia/core/lib/browser/browser
  • @theia/core/lib/browser/clipboard-service
  • @theia/core/lib/browser/common-frontend-contribution
  • @theia/core/lib/browser/connection-status-service
  • @theia/core/lib/browser/context-key-service
  • @theia/core/lib/browser/context-menu-renderer
  • @theia/core/lib/browser/dialogs
  • @theia/core/lib/browser/diff-uris
  • @theia/core/lib/browser/endpoint
  • @theia/core/lib/browser/frontend-application
  • @theia/core/lib/browser/frontend-application-bindings
  • @theia/core/lib/browser/frontend-application-config-provider
  • @theia/core/lib/browser/frontend-application-module
  • @theia/core/lib/browser/frontend-application-state
  • @theia/core/lib/browser/json-schema-store
  • @theia/core/lib/browser/keybinding
  • @theia/core/lib/browser/keys
  • @theia/core/lib/browser/label-provider
  • @theia/core/lib/browser/logger-frontend-module
  • @theia/core/lib/browser/menu/browser-context-menu-renderer
  • @theia/core/lib/browser/menu/browser-menu-module
  • @theia/core/lib/browser/menu/browser-menu-plugin
  • @theia/core/lib/browser/messaging
  • @theia/core/lib/browser/messaging/messaging-frontend-module
  • @theia/core/lib/browser/messaging/ws-connection-provider
  • @theia/core/lib/browser/mime-service
  • @theia/core/lib/browser/navigatable
  • @theia/core/lib/browser/opener-service
  • @theia/core/lib/browser/preferences
  • @theia/core/lib/browser/preferences/preference-configurations
  • @theia/core/lib/browser/preferences/preference-contribution
  • @theia/core/lib/browser/preferences/preference-provider
  • @theia/core/lib/browser/preferences/preference-service
  • @theia/core/lib/browser/preferences/test
  • @theia/core/lib/browser/preferences/test/mock-preference-service
  • @theia/core/lib/browser/progress-bar
  • @theia/core/lib/browser/progress-location-service
  • @theia/core/lib/browser/progress-status-bar-item
  • @theia/core/lib/browser/quick-open
  • @theia/core/lib/browser/quick-open/quick-command-service
  • @theia/core/lib/browser/quick-open/quick-input-service
  • @theia/core/lib/browser/quick-open/quick-open-model
  • @theia/core/lib/browser/quick-open/quick-open-service
  • @theia/core/lib/browser/quick-open/quick-title-bar
  • @theia/core/lib/browser/quick-view-service
  • @theia/core/lib/browser/resource-context-key
  • @theia/core/lib/browser/saveable
  • @theia/core/lib/browser/shell
  • @theia/core/lib/browser/shell/application-shell
  • @theia/core/lib/browser/shell/application-shell-mouse-tracker
  • @theia/core/lib/browser/shell/tab-bar-decorator
  • @theia/core/lib/browser/shell/tab-bar-toolbar
  • @theia/core/lib/browser/shell/theia-dock-panel
  • @theia/core/lib/browser/shell/view-contribution
  • @theia/core/lib/browser/source-tree
  • @theia/core/lib/browser/status-bar
  • @theia/core/lib/browser/status-bar/status-bar
  • @theia/core/lib/browser/storage-service
  • @theia/core/lib/browser/test/jsdom
  • @theia/core/lib/browser/test/mock-opener-service
  • @theia/core/lib/browser/test/mock-storage-service
  • @theia/core/lib/browser/theming
  • @theia/core/lib/browser/tree
  • @theia/core/lib/browser/tree/search-box
  • @theia/core/lib/browser/tree/search-box-debounce
  • @theia/core/lib/browser/tree/tree
  • @theia/core/lib/browser/tree/tree-decorator
  • @theia/core/lib/browser/tree/tree-iterator
  • @theia/core/lib/browser/tree/tree-model
  • @theia/core/lib/browser/tree/tree-selection-impl
  • @theia/core/lib/browser/tree/tree-widget
  • @theia/core/lib/browser/tree/tree-widget-selection
  • @theia/core/lib/browser/view-container
  • @theia/core/lib/browser/widget-decoration
  • @theia/core/lib/browser/widget-manager
  • @theia/core/lib/browser/widget-open-handler
  • @theia/core/lib/browser/widgets
  • @theia/core/lib/browser/widgets/alert-message
  • @theia/core/lib/browser/widgets/react-renderer
  • @theia/core/lib/browser/widgets/react-widget
  • @theia/core/lib/browser/widgets/widget
  • @theia/core/lib/browser/window/default-window-service
  • @theia/core/lib/browser/window/test/mock-window-service
  • @theia/core/lib/browser/window/window-service
  • @theia/core/lib/common
  • @theia/core/lib/common/application-error
  • @theia/core/lib/common/application-protocol
  • @theia/core/lib/common/cancellation
  • @theia/core/lib/common/command
  • @theia/core/lib/common/contribution-provider
  • @theia/core/lib/common/disposable
  • @theia/core/lib/common/env-variables
  • @theia/core/lib/common/event
  • @theia/core/lib/common/keybinding
  • @theia/core/lib/common/logger
  • @theia/core/lib/common/logger-protocol
  • @theia/core/lib/common/logger-watcher
  • @theia/core/lib/common/menu
  • @theia/core/lib/common/message-service
  • @theia/core/lib/common/message-service-protocol
  • @theia/core/lib/common/messaging
  • @theia/core/lib/common/messaging/handler
  • @theia/core/lib/common/messaging/proxy-factory
  • @theia/core/lib/common/messaging/web-socket-channel
  • @theia/core/lib/common/objects
  • @theia/core/lib/common/os
  • @theia/core/lib/common/path
  • @theia/core/lib/common/preferences/preference-schema
  • @theia/core/lib/common/preferences/preference-scope
  • @theia/core/lib/common/progress-service
  • @theia/core/lib/common/promise-util
  • @theia/core/lib/common/quick-open-model
  • @theia/core/lib/common/quick-open-service
  • @theia/core/lib/common/quick-pick-service
  • @theia/core/lib/common/reference
  • @theia/core/lib/common/resource
  • @theia/core/lib/common/selection
  • @theia/core/lib/common/selection-command-handler
  • @theia/core/lib/common/selection-service
  • @theia/core/lib/common/strings
  • @theia/core/lib/common/test/expect
  • @theia/core/lib/common/test/mock-logger
  • @theia/core/lib/common/test/mock-menu
  • @theia/core/lib/common/test/mock-resource-provider
  • @theia/core/lib/common/types
  • @theia/core/lib/common/uri
  • @theia/core/lib/common/uri-command-handler
  • @theia/core/lib/node
  • @theia/core/lib/node/backend-application
  • @theia/core/lib/node/backend-application-module
  • @theia/core/lib/node/cli
  • @theia/core/lib/node/env-variables/env-variables-server
  • @theia/core/lib/node/file-uri
  • @theia/core/lib/node/logger-backend-module
  • @theia/core/lib/node/logger-cli-contribution
  • @theia/core/lib/node/messaging
  • @theia/core/lib/node/messaging/connection-container-module
  • @theia/core/lib/node/messaging/ipc-protocol
  • @theia/core/lib/node/messaging/messaging-backend-module
  • @theia/core/lib/node/messaging/messaging-service
  • @theia/core/lib/node/messaging/test/test-web-socket-channel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@theia/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Theia - Core extension

See here for a detailed documentation.

Theia Extension

A Theia extension is a node package declaring theiaExtensions property in package.json:

{
  "theiaExtensions": [{
      "frontend": "lib/myExtension/browser/myextension-frontend-module",
      "backend": "lib/myExtension/node/myextension-backend-module",
    }, {
      "frontend": "lib/myExtension2/browser/myextension2-browser-module",
      "frontendElectron": "lib/myExtension2/electron-browser/myextension2-electron-browser-module",
      "backend": "lib/myExtension2/node/myextension2-node-module",
      "backendElectron": "lib/myExtension2/electron-main/myextension2-electron-main-module"
  }]
}

Each extension can consist of the following modules:

  • frontend is used in the browser env and as well in the electron if frontendElectron is not provided
  • frontendElectron is used in the electron env
  • backend is used in the node env and as well in the electron env if backendElectron is not provided
  • backendElectron is used in the electron env

An extension module should have a default export of ContainerModule | Promise<ContainerModule> type.

Theia Application

A Theia application is a node package listing Theia extensions as dependencies and managed with Theia CLI.

Logging configuration

It's possible to change the log level for the entire Theia application by passing it the --log-level={fatal,error,warn,info,debug,trace} option. For more fine-grained adjustment, it's also possible to set the log level per logger (i.e. per topic). The root logger is a special catch-all logger through which go all messages not sent through a particular logger. To change the log level of particular loggers, create a config file such as

{
  "defaultLevel": "info",
  "levels": {
    "terminal": "debug",
    "task": "error"
  }
}

where levels contains the logger-to-log-level mapping. defaultLevel contains the log level to use for loggers not specified in levels. This file can then be specified using the --log-config option. Theia will watch that file for changes, so it's possible to change log levels at runtime by modifying this file.

It's unfortunately currently not possible to query Theia for the list of existing loggers. However, each log message specifies from which logger it comes from, which can give an idea, without having to read the code:

root INFO [nsfw-watcher: 10734] Started watching: /Users/captain.future/git/theia/CONTRIBUTING.md
^^^^ ^^^^  ^^^^^^^^^^^^^^^^^^^

Where root is the name of the logger and INFO is the log level. These are optionally followed by the name of a child process and the process ID.

License