You'll need Dart installed. To run the examples:
Examples are contained in the
Because ICE relies on js-interop, not just
dart:js, the build process requires that it is always built for development release (even in production):
$ pub build --mode=development
Add this to your package's pubspec.yaml file:
dependencies: ice_code_editor: "^1.0.0"
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:ice_code_editor/editor.dart'; import 'package:ice_code_editor/full.dart'; import 'package:ice_code_editor/full/copy_dialog.dart'; import 'package:ice_code_editor/full/default_project.dart'; import 'package:ice_code_editor/full/dialog.dart'; import 'package:ice_code_editor/full/download_dialog.dart'; import 'package:ice_code_editor/full/export_dialog.dart'; import 'package:ice_code_editor/full/help_action.dart'; import 'package:ice_code_editor/full/import_dialog.dart'; import 'package:ice_code_editor/full/menu_action.dart'; import 'package:ice_code_editor/full/menu_item.dart'; import 'package:ice_code_editor/full/new_project_dialog.dart'; import 'package:ice_code_editor/full/notify.dart'; import 'package:ice_code_editor/full/open_dialog.dart'; import 'package:ice_code_editor/full/remove_dialog.dart'; import 'package:ice_code_editor/full/rename_dialog.dart'; import 'package:ice_code_editor/full/save_action.dart'; import 'package:ice_code_editor/full/share_dialog.dart'; import 'package:ice_code_editor/full/snapshotter.dart'; import 'package:ice_code_editor/full/templates.dart'; import 'package:ice_code_editor/full/validate.dart'; import 'package:ice_code_editor/full/whats_new_action.dart'; import 'package:ice_code_editor/gzip.dart'; import 'package:ice_code_editor/ice.dart'; import 'package:ice_code_editor/polymer/ice_code_editor_element.dart'; import 'package:ice_code_editor/settings.dart'; import 'package:ice_code_editor/store.dart';
|1.0.0||Nov 23, 2014|
|0.2.1||Apr 6, 2014|
|0.0.12||Sep 7, 2013|
|0.0.11||Aug 31, 2013|
|0.0.9||Jul 20, 2013|
|0.0.8||Jul 20, 2013|
|0.0.7||Jul 3, 2013|
|0.0.6||Jul 2, 2013|
|0.0.5||Jun 29, 2013|
|0.0.4||Jun 29, 2013|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: unsure
Error(s) prevent platform classification.
Fix dependencies in
pub upgradefailed with the following output:
Exceeded timeout of 0:02:00.000000
Fix platform conflicts.
Make sure none of the libraries use mutually exclusive dependendencies.
Changelog entries help clients to follow the progress in your code.
Fix issues reported by
dartanalyzerreported 1 error(s) and 0 warning(s).
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use