ice_code_editor 1.0.0

ICE Code Editor

Build Status

Try it now!

The Code Editor + Visualization Preview used in the book “3D Game Programming for Kids.” Written in Dart.

ICE Code Editor Screenshot

The old JavaScript version proved unmaintainable, hence the switch to Dart. This version leverages many of the benefits of Dart: cross-browser support, testing, documentation.

Running the Example App

You'll need Dart installed. To run the examples:

  1. Install dependencies with pub install
  2. Start the pub web server with pub serve
  3. Open the full-screen version of ICE at http://localhost:8080/full.html with Dartium

Examples are contained in the web directory.

Features

  • Update button
  • Hide Code button
  • Main Menu button
    • Open
    • New
    • Make a Copy
    • Save
    • Rename
    • Share
    • Download
    • Remove
    • Help

Build

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

Core Collaborators

Contributors

Want to Help?

#pairwithme

Chris (twitter / blog) runs nightly (1030pm EDT / 0230 UTC) pairing sessions. Sign up for free to help out and learn some Dart! Absolutely no experience required. Really :)

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  ice_code_editor: "^1.0.0"

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support 'pub get'. Check the docs for your editor to learn more.

3. Import it

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';

About

Code Editor + Preview

Author

Email chris@eeecomputes.com Chris Strom
Email santiago.ariassar@gmail.com Santiago Arias
Email terrasea@gmail.com James Hurford
Email spejic@gmail.com Srdjan Pejic

Homepage

github.com/eee-c/ice-code-editor

Documentation

www.dartdocs.org/documentation/ice_code_editor/1.0.0/

Source code (hyperlinked)

www.crossdart.info/p/ice_code_editor/1.0.0/

Uploader

chris@eeecomputes.com

License

MIT

Published

Nov 23, 2014

Share